Displaying 20 results from an estimated 1000 matches similar to: "Format about Date and time"
2006 Jun 12
3
compare Date with TIme
Hi
When returning data from a database column set as a date field I get
''2006-06-06''
I am then have these two lines of code in my controller, taht gain the
date I require.
pNow = Time.now
@pDate = Time.local(pNow.year, pNow.month, 1)
At the monment one is set to a date data type while one is set to a Time
data type.
how can i change these to be the same data type so i can
2018 Apr 15
4
Adding a new conditional column to a list of dataframes
Hi all ..,
I have a list of 7000 dataframes with similar column headers and I wanted to add a new column to each dataframe based on a certain condition which is the same for all dataframes.
When I extract one dataframe and apply my code it works very well as follows :-
First suppose this is my first dataframe in the list
> OneDF <- Mylist[[1]]
> OneDF
ID Pdate
2018 Apr 15
0
Adding a new conditional column to a list of dataframes
> On Apr 15, 2018, at 4:08 AM, Allaisone 1 <Allaisone1 at hotmail.com> wrote:
>
>
> Hi all ..,
>
>
> I have a list of 7000 dataframes with similar column headers and I wanted to add a new column to each dataframe based on a certain condition which is the same for all dataframes.
>
>
> When I extract one dataframe and apply my code it works very well as
2013 Jul 17
2
error message in gev
Hi r-users,
I would like to use gev and my data (annual rainfall ) is as follows:
> head(dat,20) A B C D E F G H I J
1 45.1 41.5 58.5 50.1 46.0 49.1 37.7 49.1 59.8 54.0
2 50.3 39.8 49.4 56.4 49.4 48.8 42.1 49.8 49.4 58.3
3 41.7 39.3 44.6 39.1 35.7 41.5 40.8 40.8 38.5 45.6
4 50.7 33.9 48.4 28.2 35.5 39.1 61.4 17.0 30.7 38.3
5 39.3 30.6 46.9 23.8 25.8
2013 Jul 18
2
Puppetlabs Apt module: dependency cycle
Using ```puppetlabs/apt``` in a puppet provisioner for vagrant. the
module is installed in puppet/modules and I''m getting a strange Dependency
cycle error.
the code in the manifest file:
# Run apt-get update when anything beneath /etc/apt/ changes
#taken from
https://blog.kumina.nl/2010/11/puppet-tipstricks-running-apt-get-update-only-when-needed/
exec { "apt-get
2006 Jul 21
0
[RESOLVED] Marshal.dump not dumping entire object?
After sending this I realized that this was a Ruby not Rails issue -
but the answer may be interesting for those who choose Marshal over
Serialize.
So, to close this off I don''t know why marshal.dump wasn''t ''dumping''
all attributes, but adding custom marshaling to PDate did the trick.
ala,
+ def marshal_dump
+ dumped_obj = [date_precision, ajd,
2019 Mar 04
2
[supermin PATCH] rebuild the output it when SUPERMIN_KERNEL or SUPERMIN_MODULES are defined
SUPERMIN_KERNEL and SUPERMIN_MODULES don't work to guestfish.
Since guestfish sets --if-newer parameter to supermin, so the environment
variables are not used under the following conditions.
- the output directory exists and,
- the dates of both input files and package database are
older than the output
To solve that, rebuild the output it when SUPERMIN_KERNEL or
SUPERMIN_MODULES are
2020 Apr 03
5
[supermin PATCH 0/4] Check for output results for --if-newer (RHBZ#1813809)
This is an attempt to make supermin check for the existing results of an
output when checking whether the appliance must be rebuilt using
--if-newer.
At the moment it is implemented only for the build mode, and for its
ext2 output format.
Pino Toscano (4):
build: factor ext2 filenames
Tighten Unix_error check for missing outputdir
Extend modes with list of outputs
build: set
2006 Jul 21
0
Marshal.dump not dumping entire object?
Greetings,
I first want to say that this problem is happening with the Runt
gem. This may is likely an implementation issue between Marshal and
Runt. While I''ve simultaneously filed this problem with Matt Lipper,
I''m also hoping someone here can can guide me a little - either in
implementation (usage of Marshal), or to aid me to fix Runt to
support Marshal.
2020 Apr 03
0
[supermin PATCH 3/4] Extend modes with list of outputs
Add a function for each mode to return the list of potential outputs, so
that the existance/timestamp checks done for --if-newer can take those
into accounts.
At the moment both modes return no outputs, so there is no behaviour
change.
---
src/mode_build.ml | 7 +++++++
src/mode_build.mli | 4 ++++
src/mode_prepare.ml | 9 ++++++++-
src/mode_prepare.mli | 4 ++++
src/supermin.ml | 9
2020 Apr 03
0
[supermin PATCH v2 4/4] build: check for outputs in --if-newer check (RHBZ#1813809)
In case we need to check whether the appliance must be rebuilt, check
also the timestamp of the outputs of the mode, i.e. the kernel, initrd,
and root files. This way, when either of these files does not exist or
is older than the package manager DB we can rebuild the appliance.
Add a simple test to verify this behaviour.
---
src/mode_build.ml | 12 ++++++++
src/mode_build.mli
2020 Apr 03
2
Re: [supermin PATCH 3/4] Extend modes with list of outputs
On Fri, Apr 03, 2020 at 12:20:57PM +0200, Pino Toscano wrote:
> Add a function for each mode to return the list of potential outputs, so
> that the existance/timestamp checks done for --if-newer can take those
> into accounts.
>
> At the moment both modes return no outputs, so there is no behaviour
> change.
Patches 1, 2 and 4 are fine.
I have a minor problem with this patch:
2020 Apr 03
5
[supermin PATCH v2 0/4] Check for output results for --if-newer (RHBZ#1813809)
This is an attempt to make supermin check for the existing results of an
output when checking whether the appliance must be rebuilt using
--if-newer.
At the moment it is implemented only for the ext2 output format of the
build mode.
Changes from v1:
- drop empty stub for the prepare mode
- add patch to ignore --if-newer on modes different than build
- squash patch with stub for the build mode
2004 Feb 02
3
sorting by date
Hello,
I have set up a data.frame and one of the columns contains a date of the
form (with slashes as separators):
mm/dd/yyyy
I would like to use formulas on other columns in the data.frame organized
by date, for example:
tapply(var1, sort(date), mean)
However, when I try sort(date) it sorts based on the first two entries in
the date field:
9/1/2001 9/1/2002 9/1/2003 9/2/2001 ...
5.6 7.5
2007 May 30
5
draft-ietf-avt-rtp-speex-01.txt
Do not forget to add the "Copying conditions" to the RFC.
Check http://wiki.debian.org/NonFreeIETFDocuments
That page contains a section titled "Template for RFC authors to
release additional rights". To follow that guideline a
section like the following should be added:
x. Copying conditions
The author(s) agree to grant third parties the irrevocable
right to
2008 Dec 08
1
Battlefeild 2- new issue?
ubuntu 8.1
Nvidia 9600GT.
Installed BF2 with no problems.
Go to run it- first screen comes up, screen blinks, reverts to desktop, changing resolution from 1440x900 to 800x600. so basically it wont even start
Ive already tried everything i found in previous forums and appdb (i think ive tried it all)
Ive changed the video.con file to read 1024x768 at 60 in the appropiate file. Ive tried
2006 Apr 05
0
Providing limited CRUD access to arbitrary tables through a web interface.
Hi There
I''m starting Rails a project for the first time (used to work with PHP).
I have to provide administrator ("super-user") access to a large number of tables. The access should be available through a web interface (the tables rendered as HTML forms on the browser, probably through HTML tables inside the form). From the CRUD set mostly R(etrieve) and U(pdate) are
2007 May 15
4
draft-ietf-avt-rtp-speex-01.txt
Hi all
We are about to send an updated version of the internet draft
"RTP Payload Format for the Speex Codec" to the IETF AVT working group.
Before submitting we would like your input, if you have any comments
or input please send them to the mailing list.
If we don't get any comments in 1 week (by 22. May 2007) we will go ahead
and submit it to the IETF. Of course you can comment
2010 May 17
2
Yum segmentation fault when updating to CentOS v5.5
Hi all,
I'm getting a segmentation fault with yum when I try to update a CentOS v5.4
install to v5.5.
What I've done:
* Ran yum clean all.
* Ran yum update yum*
* Ran yum update, and got the segmentation fault.
* Yum suggested running with option --skip-broken, which I did. Still got the
segmentation fault.
* Rebooted machine and ran yum update again. Segmentation fault...
* Googled
2007 Jun 07
1
draft-ietf-avt-rtp-speex-01.txt
Looks good to me.
Jean-Marc
Alfred E. Heggestad a ?crit :
> Hi
>
> Please find an updated version of the Speex I-D attached. The only
> change is addition of the copyright conditions in Appendix A,
> as requested by Ivo.
>
> Many thanks for your input.
>
> I will give you a few more days before submitting to AVT working group
>
>
> /alfred
>
> Ivo