search for: shorthand

Displaying 20 results from an estimated 370 matches for "shorthand".

2010 Apr 18
1
Add shorthand support for routes like /projects/status(.:format)
Hi, when trying to migrate Signal to Rails 3 I tried to use the shorthand route for: match ''/projects/status(.:format)'' but it thrown an error because the controller was not specified. This happend because actually the shorthand routes only work with routes without optional parameters. The modification to support routes ending with a optional paramete...
2008 Apr 20
2
[Bug 15621] New: Support CSS color shorthand
http://bugs.freedesktop.org/show_bug.cgi?id=15621 Summary: Support CSS color shorthand Product: swfdec Version: unspecified Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: library AssignedTo: swfdec at lists.freedesktop.org ReportedBy: candrews at...
2007 Jul 21
1
Testing shorthand array push <<
Hi everyone, I''m trying to test the shorthand way to push objects into an array. My controller looks like: current_user.foos << @foo and I keep getting an error like Mock ''foos'' received unexpected message :<< with <FooClass> does anyone have a good solution for this? I tried controller.send(:current_use...
2020 Jul 14
0
[PATCH v4 03/75] KVM: SVM: Use __packed shorthand
From: Borislav Petkov <bp at alien8.de> Use the shorthand to make it more readable. No functional changes. Signed-off-by: Joerg Roedel <jroedel at suse.de> --- arch/x86/include/asm/svm.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/x86/include/asm/svm.h b/arch/x86/include/asm/svm.h index 0420250b008b.....
2020 Aug 24
0
[PATCH v6 04/76] KVM: SVM: Use __packed shorthand
From: Borislav Petkov <bp at alien8.de> Use the shorthand to make it more readable. No functional changes. Signed-off-by: Borislav Petkov <bp at alien8.de> Signed-off-by: Joerg Roedel <jroedel at suse.de> --- arch/x86/include/asm/svm.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/x86/include/asm/svm....
2020 Mar 01
0
[Bug 1412] New: ip6tables-nft not accepting "icmp" as shorthand for "icmpv6"
https://bugzilla.netfilter.org/show_bug.cgi?id=1412 Bug ID: 1412 Summary: ip6tables-nft not accepting "icmp" as shorthand for "icmpv6" Product: nftables Version: unspecified Hardware: x86_64 OS: Debian GNU/Linux Status: NEW Severity: minor Priority: P5 Component: iptables over nftable Assign...
2020 Apr 28
0
[PATCH v3 03/75] KVM: SVM: Use __packed shorthand
From: Borislav Petkov <bp at alien8.de> I guess we can do that ontop. Signed-off-by: Joerg Roedel <jroedel at suse.de> --- arch/x86/include/asm/svm.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/x86/include/asm/svm.h b/arch/x86/include/asm/svm.h index e4e9f6bacfaa..9adbf69f003c 100644 --- a/arch/x86/include/asm/svm.h +++
2008 Jul 25
1
Minor Bug in Documentation of merge()
Dear all, I would like to point to a minor bug in the documentation of merge(). The documentation (?merge) says all logical; all = L is shorthand for all.x = L and all.y = L. I think the correct description should be all logical; all = T is shorthand for all.x = T and all.y = T. The source file which needs to be fixed is src/library/base/man/merge.Rd To be sure that it hasn't been fixed in the meantime, I checked the merge.Rd in R-pa...
2011 Nov 04
2
Error in documentation of "merge"
Hi there seems to be an error in the documentation of the "merge" function: Arguments: x, y: data frames, or objects to be coerced to one. by, by.x, by.y: specifications of the common columns. See ‘Details’. all: logical; ‘all = L’ is shorthand for ‘all.x = L’ and ‘all.y = L’. The "L" should be a T or a TRUE. Cheers, Rainer -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel...
2005 Aug 17
7
Need help with the rubyonrails wiki - instiki filters
I am trying to do a tutorial improvement on the wiki but I am having some problems with the auto formatting. Using httdp.conf produces http://httpd.conf when filtered. Using *.so produces .so and bold text there after. Is there any shorthand for the user for making text appear as it should without the linking and re-writes? Or does the admin have to change the filters in Instiki? Tesla
2011 Mar 21
3
Replacing Period in String
Dear R Users, I am working with gsub for the first time. I am trying to remove some characters from a string. I have hit the problem where the period is the shorthand for 'everything' in the R language when what I want to remove is the actual periods. In the example below, I simply want to remove the periods as I have removed the comma, but instead the complete string is wiped out. I would appreciate it if someone could let me know how I communicate th...
2010 Dec 07
4
increase or decrease variable by 1
many languages have shorthands for that operation like: variable += 1 or ++variable is there something like that in R ? -- View this message in context: http://r.789695.n4.nabble.com/increase-or-decrease-variable-by-1-tp3076390p3076390.html Sent from the R help mailing list archive at Nabble.com.
2011 Sep 11
2
where to use colon (:) and where to not use it?
Hi, I am a bit confused with ruby syntax with colon. You see in controller "render :nothing => true" and in routes " resources :books" and in model "validates :name, :presence => true:" everywhere so is that a key value pair or something else? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2018 Jul 31
2
Re: [PATCH nbdkit 3/4] Add map filter.
...erefore we have to > + * split existing intervals as required. Earlier mappings are > + * discarded where they overlap with later mappings. since this paragraph is all about maintaining the invariant in favor of each subsequent mapping, and thus the file format itself permits overlaps for shorthands for special-casing subregions. Is there a syntax for explicitly mentioning a subset is unmapped even after a larger mapping is applied first (perhaps useful for redacting a portion of a disk containing sensitive information)? > +static int > +insert_mapping (struct map *map, const struct...
2014 May 08
2
[PATCH v10 09/19] qspinlock: Prepare for unfair lock support
...M -0400, Waiman Long wrote: > If unfair lock is supported, the lock acquisition loop at the end of > the queue_spin_lock_slowpath() function may need to detect the fact > the lock can be stolen. Code are added for the stolen lock detection. > > A new qhead macro is also defined as a shorthand for mcs.locked. NAK, unfair should be a pure test-and-set lock. > /** > * get_qlock - Set the lock bit and own the lock > - * @lock: Pointer to queue spinlock structure > + * @lock : Pointer to queue spinlock structure > + * Return: 1 if lock acquired, 0 otherwise > * >...
2014 May 08
2
[PATCH v10 09/19] qspinlock: Prepare for unfair lock support
...M -0400, Waiman Long wrote: > If unfair lock is supported, the lock acquisition loop at the end of > the queue_spin_lock_slowpath() function may need to detect the fact > the lock can be stolen. Code are added for the stolen lock detection. > > A new qhead macro is also defined as a shorthand for mcs.locked. NAK, unfair should be a pure test-and-set lock. > /** > * get_qlock - Set the lock bit and own the lock > - * @lock: Pointer to queue spinlock structure > + * @lock : Pointer to queue spinlock structure > + * Return: 1 if lock acquired, 0 otherwise > * >...
2006 May 31
6
habtm on an array (or object.habtm.habtm)
Hi, I have three Models: User, Group and File. User habtm groups and Group habtm Files How can I find all files that a particular user has access to? eg user.groups.files ? As user.groups returns an array, the above doesn''t work. Id like to find the files for all groups in that array, without adding any code to the User model. Thanks in advance PS I just posted this in the
2023 Apr 12
3
converting to date object...
...ct. I tried as_Date() from lubridate, but it is not working: > as_date("12 APR 2023") [1] NA Warning message: All formats failed to parse. No formats found. > as_date("12-APR-2023") [1] NA Warning message: All formats failed to parse. No formats found. I am looking for a shorthand way of doing it. Of course, one can convert APR to 4 and get the job done, but I ma looking for a short and elegant code please help... THanking you, Yours sincerely, AKSHAY M KULKARNI [[alternative HTML version deleted]]
2006 Oct 18
5
ZFS and IBM sdd (vpath)
...error: unexpected error 22 at line 446 of ../common/libzfs_pool.c bash-3.00# zpool create tank /dev/dsk/vpath1c cannot open ''/dev/dsk/vpath1c'': I/O error bash-3.00# zpool create tank vpath1 cannot open ''vpath1'': no such device in /dev/dsk must be a full path or shorthand device name bash-3.00# zpool create tank vpath1c cannot open ''/dev/dsk/vpath1c'': I/O error bash-3.00# zpool create tank vpath1a warning: device in use checking failed: No such device internal error: unexpected error 22 at line 446 of ../common/libzfs_pool.c Is there anyone els...
2008 Jul 10
4
[LLVMdev] Including svn version number in --version output
...,6 +802,9 @@ DEVPHASE_s := "\"$(if $(DEVPHASE_c), ($(DEVPHASE_c)))\"" DATESTAMP_s := "\"$(if $(DEVPHASE_c), $(DATESTAMP_c))\"" +SVNVER_c := $(shell svnversion $(abs_srcdir) ) +SVNVER_s := "\"$(if $(SVNVER_c), $(SVNVER_c))\"" + # Shorthand variables for dependency lists. TARGET_H = $(TM_H) target.h insn-modes.h MACHMODE_H = machmode.h mode-classes.def insn-modes.h @@ -2048,9 +2051,11 @@ dumpvers: dumpvers.c -version.o: version.c version.h $(DATESTAMP) $(BASEVER) $(DEVPHASE) +.PHONY: version.o +version.o: $(CC) $(ALL_CFLAGS...