Displaying 19 results from an estimated 19 matches for "old_names".
Did you mean:
old_name
2008 Mar 06
1
dictionary lookup
Hi,
I have a character-valued vector (old_names) and want to translate
its entries whenever possible, using a dictionary (dict=data.frame).
The translation direction is dict$V3 --> dict$V2, but
some values may be undefined (NA). I suppose this is a very basic
task, but I tried in vain to make it more efficient than below.
In particular I wou...
2006 Jun 13
7
ActiveRecord attribute= overload
I want to overload the = operator for one of the attributes in a model
to run a filter on the input. However I can''t do this:
def attribute=(data)
self.attribute = filter(data)
end
because that creates an infinite recursive loop.
How do I get around this?
--
Posted via http://www.ruby-forum.com/.
2005 Oct 31
1
ip tunnel doesn''t show warning or error
This is really strange behavior ..
root@garfield ~# ip tunnel add testing123 mode ipip remote 192.168.1.1
local 192.168.1.12
root@garfield ~# ip tunnel show
..
testing123: ip/ip remote 192.168.1.1 local 192.168.1.12 ttl inherit
root@garfield ~# ip tunnel add testingabc mode ipip remote 192.168.1.1
local 192.168.1.12
root@garfield ~# echo $?
0
root@garfield ~# ip tunnel show
..
testing123:
2013 Jun 10
1
Policy/best practices on renaming functions in packages
R-developers:
I'm beginning to work on a manuscript for a set of functions I
developed for a package I have on CRAN (spatial.tools), and I'd like
to rename a function in my package to give a better idea of what it
does prior to manuscript submission -- is there a "safe" way to do a
backwards-compatible rename of a function within a CRAN package (so
functions that rely on the
2006 Mar 12
1
alias_method interferes ApplicationHelper
Hello,
I''m using Ruby 1.8.4 (darwinport), rails-1.0.0 (gem) , Powerbook / Mac
OS X 10.4.5 , Webrick.
How come Rails always raises NoMethodError for my helper (must_fill and
rp or number_to_currency_rp) in application_helper.rb ?
I doubt that alias_method is the culprit, but if i give #
comment then there will be no errors at all ... :/
what am i doing wrong? is it a bug or stupid me? Thx
2006 May 02
4
How to extend rails rake tasks?
Does anyone know how to extend the buit-in rake tasks like test:unit.
I want to custom load some fixtures in a particular order.
Thanks,
Zack
2019 Nov 13
2
"samba-tool backup offline" stuck
On 2019-11-11 09:41, Andrew Bartlett wrote:
>>> and what is the full backtrace on that tdbbackup?
>>
>> You mean: compile with debug symbols, attach gdb and get stack trace?
>> If so, I'll do it, but I'll need some time.
>
> Yes, that's what I need.
Please, find it below:
(gdb) bt
#0 0x0000000800fcdab8 in _fcntl () from /lib/libc.so.7
#1
2019 Nov 13
0
"samba-tool backup offline" stuck
On Wed, 2019-11-13 at 09:23 +0100, Andrea Venturoli wrote:
> On 2019-11-11 09:41, Andrew Bartlett wrote:
>
> > > > and what is the full backtrace on that tdbbackup?
> > >
> > > You mean: compile with debug symbols, attach gdb and get stack trace?
> > > If so, I'll do it, but I'll need some time.
> >
> > Yes, that's what I
2019 Nov 11
2
"samba-tool backup offline" stuck
On 2019-11-10 21:41, Andrew Bartlett wrote:
> Is this unpatched Samba
Yes and no.
Yes: it's the stock FreeBSD's Samba port.
No: the FreeBSD port has itself several patches WRT the original Samba
distribution.
> and what is the full backtrace on that tdbbackup?
You mean: compile with debug symbols, attach gdb and get stack trace?
If so, I'll do it, but I'll need some
2012 Jul 04
2
[PATCH] libxl: rename stubdomain when renaming domain
# HG changeset patch
# User Ian Campbell <ian.campbell@citrix.com>
# Date 1341397625 -3600
# Node ID 167f013324e854a28fc7637cbb7211fa266dcbc5
# Parent 12011fcfd5cce2a831da3558c59f2c3622e71250
libxl: rename stubdomain when renaming domain.
Otherwise after a localhost migrate of an HVM domain with a stubdomain we end
up with domains called "FOO" and "FOO--incoming-dm".
2008 Jul 01
3
Change name of a specific column of a data frame
Hi,
Sorry for the simple question. Is there a way to change the name of only one
column of an existing data frame?
I know colnames allows you to set the name of all the columns, but only one
column in the middle of my data frame needs a new name.
Thanks,
-Nina
2004 Jan 10
2
Symbolic link gets overwritten
Hi,
Using Samba 3.0.1 on SuSE Linux (follow symlinks on) we noticed the following behaviour:
A symbolic link to a file gets overwritten (replaced) by the target-file contents if the symbolic link is saved from a windows client.
This is not what we expected, because a link represents the file, and so all actions executed on the link should actually be executed on the target-file, not the link.
I
2001 Oct 22
0
Fwd: Re: Using rpcclient to install printer drivers
Hi Jerry Carter and list members,
The post below was rejected by the list moderator as too big. That cost me
four days and now I am really anxious for positive feedback from rpcclient
experts either in the field or at samba.org. It was too big because I
included a listing of STDERR and STDOUT from setting debug level to 10 in
step #4 of install_printer_drivers.pl. I have trimmed it down by
2001 Oct 29
0
Fwd: Re: Using rpcclient to install printer drivers
Hi all,
This is a re-post of a question I originally submitted 10/22. There have
been no responses, so I am trying again as this problem has us stalled in
our tracks re managing printer drivers with rpcclient.
>>I am getting a fatal Signal 11 event when I use
>>install_printer_drivers.pl on AIX 4.3.3 with Samba 2.2.1a so I would like
>>to bring you up to date on my
2012 Mar 22
0
problems configuring cluster to lucci and virtual machines resource
I have Centos 6.1 and i'm configuring cluster with conga, lucci and ricci
these services are installed and running without problem. I need this type
configuration for a high availability of virtual machines which is run on
kvm. My problem is at the time of configuring "service group", when i click
to add appears the new windows wich say "add service to cluster" and i fill
2009 May 03
6
[RFC] The reflink(2) system call.
Hi everyone,
I described the reflink operation at the Linux Storage &
Filesystems Workshop last month. Originally implemented as an
ocfs2-specific ioctl, the consensus was that it should be a syscall from
the get-go. Here's some first-cut patches.
For people who have not seen reflink, either at LSF or on the
ocfs2 wiki, the first patch contains
Documentation/filesystems/reflink.txt to
2012 May 17
8
[PATCH] libxl: do not overwrite user supplied config when running bootloader
# HG changeset patch
# User Ian Campbell <ian.campbell@citrix.com>
# Date 1337273492 -3600
# Node ID cdb947baea102aa6a1d53472f8a3e5f2d6cc485e
# Parent ac45608496cd85b0bf1aed6e5b869b4a86ca672f
libxl: do not overwrite user supplied config when running bootloader.
Currently when running the bootloader libxl will update b_info->u.pv.kernel,
.ramdisk, .cmdline and .bootloader. This can
2012 Jul 04
53
[PATCH 00 of 10 v3] Automatic NUMA placement for xl
Hello,
Third version of the NUMA placement series Xen 4.2.
All the comments received during v2''s review have been addressed (more details
in single changelogs).
The most notable changes are the following:
- the libxl_cpumap --> libxl_bitmap renaming has been rebased on top of the
recent patches that allows us to allocate bitmaps of different sizes;
- the heuristics for deciding
2010 Aug 12
0
[PATCH, v2]: xl: Implement per-API-call garbage-collection lifetime
Changes since v1:
- Fix a double-free bug introduced by v1, pointed out by Stefano
where internal pointer was being passed back to caller from
libxl_create_stubdom()
8<----------------------------------------------------------------------
Currently scratch variables allocated by libxl have the same lifetime as
the context. While this is suitable for one off invocations of xl. It is
not