search for: old_nam

Displaying 19 results from an estimated 19 matches for "old_nam".

Did you mean: old_num
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 w...
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
...unction 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 original name aren't broken)? Is it as simple as: new_name <- old_name <- function(yadda) { } In general, I'd just leave it as is, but the old name of the function was a reference to an existing function in another package that it no longer has any resemblance to. Thanks! --j -- Jonathan A. Greenberg, PhD Assistant Professor Global Environmental Analysis...
2006 Mar 12
1
alias_method interferes ApplicationHelper
..."}) end def must_fill(x) ''<span style="color:red;">'' + x + ''</span>'' end end -------------------- From ri -f bs alias: ---------------------------------------------------- Module#alias_method alias_method(new_name, old_name) => self ------------------------------------------------------------------------ Makes _new_name_ a new copy of the method _old_name_. This can be used to retain access to methods that are overridden. module Mod alias_method :orig_exit, :exit def e...
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
...00000080082cd19 in tdb_nest_lock (tdb=0x80161f000, offset=8, ltype=3, flags=TDB_LOCK_WAIT) at ../../common/lock.c:390 #6 0x0000000800831808 in _tdb_transaction_start (tdb=0x80161f000, lockflags=TDB_LOCK_WAIT) at ../../common/transaction.c:490 #7 0x000000000040188b in backup_tdb ( old_name=0x7fffffffddd6 "/var/db/samba4/private/secrets.ldb", new_name=0x80161c000 "/var/db/samba4/private/secrets.ldb.copy.tdb", hash_size=<optimized out>, nolock=<optimized out>, readonly=<optimized out>) at ../../tools/tdbbackup.c:157 #8 0x000000000...
2019 Nov 13
0
"samba-tool backup offline" stuck
...db=0x80161f000, offset=8, > ltype=3, > flags=TDB_LOCK_WAIT) at ../../common/lock.c:390 > #6 0x0000000800831808 in _tdb_transaction_start (tdb=0x80161f000, > lockflags=TDB_LOCK_WAIT) > at ../../common/transaction.c:490 > #7 0x000000000040188b in backup_tdb ( > old_name=0x7fffffffddd6 "/var/db/samba4/private/secrets.ldb", > new_name=0x80161c000 "/var/db/samba4/private/secrets.ldb.copy.tdb", > hash_size=<optimized out>, nolock=<optimized out>, > readonly=<optimized out>) > at ../../tools/tdbbackup.c...
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
...ff-by: Ian Campbell <ian.campbell@citrix.com> diff -r 12011fcfd5cc -r 167f013324e8 tools/libxl/libxl.c --- a/tools/libxl/libxl.c Thu Jun 28 13:25:02 2012 +0100 +++ b/tools/libxl/libxl.c Wed Jul 04 11:27:05 2012 +0100 @@ -276,6 +276,8 @@ int libxl__domain_rename(libxl__gc *gc, char *got_old_name; unsigned int got_old_len; xs_transaction_t our_trans = 0; + uint32_t stub_dm_domid; + const char *stub_dm_old_name = NULL, *stub_dm_new_name = NULL; int rc; dom_path = libxl__xs_get_dompath(gc, domid); @@ -284,6 +286,12 @@ int libxl__domain_rename(libxl__gc *gc,...
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
...vistadev (170.2.0.224) connect to service print$ as user jftl64 > (uid=402, gid=318) (pid 21306) >[2001/10/18 10:06:50, 0] >printing/nt_printing.c:move_driver_to_download_area(1389) > move_driver_to_download_area: Unable to rename [W32X86/_] to [W32X86/2/_] Notice here a new_name/old_name reference to a file in the driver collection resolves to '_'. Is this faulty tokenizing? >[2001/10/18 10:06:50, 1] smbd/service.c:close_cnum(646) > vistadev (170.2.0.224) closed connection to service print$ >[2001/10/18 10:06:50, 0] lib/fault.c:fault_report(40) > =======...
2001 Oct 29
0
Fwd: Re: Using rpcclient to install printer drivers
...connect to service print$ as user jftl64 >> (uid=402, gid=318) (pid 21306) >>[2001/10/18 10:06:50, 0] >>printing/nt_printing.c:move_driver_to_download_area(1389) >> move_driver_to_download_area: Unable to rename [W32X86/_] to [W32X86/2/_] > >Notice here a new_name/old_name reference to a file in the driver >collection resolves to '_'. Is this faulty tokenizing? > >>[2001/10/18 10:06:50, 1] smbd/service.c:close_cnum(646) >> vistadev (170.2.0.224) closed connection to service print$ >>[2001/10/18 10:06:50, 0] lib/fault.c:fault_repor...
2012 Mar 22
0
problems configuring cluster to lucci and virtual machines resource
...6f10> routes.url: <routes.util.URLGenerator object at 0x7fa7982dc690> toscawidgets.framework: <tw.mods.base.HostFramework object at 0x2bce050> toscawidgets.javascript.require_once: False toscawidgets.prefix: '/toscawidgets' webob._parsed_post_vars: (MultiDict([('old_name', 'centos_vm'), ('svc_name', 'centos_vm'), ('autostart', 'on'), ('exclusive', 'on'), ('domain', ''), ('recovery', 'disable'), ('parent_id', 'esvc_root'), ('form_id', 'res_0')...
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
...- libxl_device_disk *disk, - uint32_t domid, - libxl_asyncop_how *ao_how); - - /* 0 means ERROR_ENOMEM, which we have logged */ - - int libxl_domain_rename(libxl_ctx *ctx, uint32_t domid, const char *old_name, const char *new_name); diff -r ac45608496cd -r cdb947baea10 tools/libxl/libxl_bootloader.c --- a/tools/libxl/libxl_bootloader.c Thu May 17 16:39:51 2012 +0100 +++ b/tools/libxl/libxl_bootloader.c Thu May 17 17:51:32 2012 +0100 @@ -43,7 +43,8 @@ static void bootloader_arg(libxl__bootlo bl-&...
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
...uot;, dom_path), "1", 1); if (!xs_transaction_end(ctx->xsh, t, 0)) if (errno == EAGAIN) goto retry_transaction; + + libxl_free_all(&gc); return 0; } int libxl_domain_rename(libxl_ctx *ctx, uint32_t domid, const char *old_name, const char *new_name, - xs_transaction_t trans) { + xs_transaction_t trans) +{ + libxl_gc gc = LIBXL_INIT_GC(ctx); char *dom_path = 0; const char *name_path; char *got_old_name; @@ -190,10 +196,10 @@ int libxl_domain_rename(libxl_ctx...