similar to: using components to reuse code

Displaying 20 results from an estimated 80 matches similar to: "using components to reuse code"

2007 Dec 09
2
Questions about rails 2.0
Hi, i''ve found some questions on the rails blog which haven''t any answer. Because i''m interested too i paste them here: # gonzo on 07 Dec 22:10: Does CSRF protection work with forms that are fully cached? # rugal on 08 Dec 20:14: Great job guys! Just an information about migrations. will t.timestamps create both created_at and updated_at? And for _on ?
2005 Aug 26
0
Dovecot.1.0.alpha1+mysql+mysql
Hi, we are trying to track down the problem that prevents two mysql password databases from working. Instead of connecting to each database, it looks like dovecot tries to connect *twice* to the second specified. Do do this we just inserted some i_warning()s in the code. We noticed that passdb_sql_init (auth/passdb-sql.c) is called twice, once per configuration file, with the correct argument
2020 Apr 14
0
[PATCH v2 32/33] iommu: Remove add_device()/remove_device() code-paths
From: Joerg Roedel <jroedel at suse.de> All drivers are converted to use the probe/release_device() call-backs, so the add_device/remove_device() pointers are unused and the code using them can be removed. Signed-off-by: Joerg Roedel <jroedel at suse.de> --- drivers/iommu/iommu.c | 149 ++++++++---------------------------------- include/linux/iommu.h | 4 -- 2 files changed, 29
2020 Apr 14
0
[PATCH v2 11/33] iommu: Split off default domain allocation from group assignment
From: Joerg Roedel <jroedel at suse.de> When a bus is initialized with iommu-ops, all devices on the bus are scanned and iommu-groups are allocated for them, and each groups will also get a default domain allocated. Until now this happened as soon as the group was created and the first device added to it. When other devices with different default domain requirements were added to the group
2020 Apr 14
0
[PATCH v2 09/33] iommu: Keep a list of allocated groups in __iommu_probe_device()
From: Joerg Roedel <jroedel at suse.de> This is needed to defer default_domain allocation for new IOMMU groups until all devices have been added to the group. Signed-off-by: Joerg Roedel <jroedel at suse.de> --- drivers/iommu/iommu.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/iommu/iommu.c b/drivers/iommu/iommu.c index
2011 Oct 18
1
Chanspy() not working with group in asterisk 1.4.42
Hi list, I have write down my code on which chanspy not working when I make a group with name of spy. Please help me where is the issue on that. a) caller will call this number to join konference and spy group exten => 43681111,1,Answer() exten => 43681111,n,NoOp(****${CHANNEL}****) exten => 43681111,n,Set(GROUP(${CHANNEL})=spy) exten => 43681111,n,Set(a=${GROUP_LIST(spy)}) exten
2005 Jun 05
0
Re: Bison, Flex, Conditional Expression
To any that may be interested in the implementation of the conditional expression in the expression parser (ast_expr2*) in asterisk, I've filed the patch at: http://bugs.digium.com/view.php?id=4459 Right now, a comment has been added noting that the IF func provides this capability, and asks if both would really be necessary. It's a good question. I haven't been following the
2005 Oct 16
1
GROUP and GROUP_COUNT
I have a macro and when I call it I have something like this: exten => s,1,NoOp(Group Count: ${GROUP_COUNT(MYGROUP)}) exten => s,n,Set(GROUP()=MYGROUP) ;Set Group exten => s,n,NoOp(Group List: ${GROUP_LIST()}) exten => s,n,NoOp(Group Count: ${GROUP_COUNT(MYGROUP)}) The GROUP_COUNT returns zero before the call to GROUP but also returns 0 after the call to GROUP. If I
2010 Nov 05
1
GROUP_COUNT not counting correctly
Hello, this is a test to add a channel to multiple GROUPs. this is my dialplan : exten => s,n,NoOp(groepcount = ${GROUP_COUNT(40)}) exten => s,n,Set(GROUP(40)=40) exten => s,n,NoOp(This channel is member of : ${GROUP_LIST()}) exten => s,n,NoOp(groepcount = ${GROUP_COUNT(40)}) exten => s,n,NoOp(groepcount = ${GROUP_COUNT(40L)}) exten => s,n,Set(GROUP(40)=40L) exten =>
2001 Aug 03
1
dell says bye bye to Linux
Well. A priori. I'm a dedicated legacy OS person. I cut my teeth on command line DOS and then WIN 3.xx (these days that means WFWG 3.11). I drew the line at WIN9x. Hate that beast with a true passion, but because it is the 800 pound gorilla, I have to find some way to accomodate it in the future. So, here is the rub. Linux is a real PITA. Capital PITA. Unbelievably techie and that is bad.
2004 Sep 08
0
[WINBIND] adds "weird" attributes in LDAP
hi list, i recently recognized, that winbind on my fileserver (needed for allocating SID->UIDs when setting ACL's from windows box) adds ldap attributes although the SID already exists !!??!?! example i have a user "install" # install, users, eva.mpg.de dn: uid=install,ou=users,dc=eva,dc=mpg,dc=de objectClass: posixAccount objectClass: person objectClass: sambaSamAccount cn:
2006 Aug 09
0
Bug in ActionPack
I have a controller named "guest_group" with an action "list" and a controller named "guest" with an action "group_list". Internally the views seem to be cached after converting the ''/'' in the path to ''_'' -> there is a clash in my code were an erroneous view (of a previously accessed action) is rendered. Ugly as
2020 Apr 14
0
[PATCH v2 10/33] iommu: Move new probe_device path to separate function
From: Joerg Roedel <jroedel at suse.de> This makes it easier to remove to old code-path when all drivers are converted. As a side effect that it also fixes the error cleanup path. Signed-off-by: Joerg Roedel <jroedel at suse.de> --- drivers/iommu/iommu.c | 69 ++++++++++++++++++++++++++++--------------- 1 file changed, 46 insertions(+), 23 deletions(-) diff --git
2013 Jun 19
0
[PATCH] xfstests: add 'check -btrfs' support
Currently we can specify the testing filesytems like ''check -xfs'', but btrfs is not support in this kind of command option. Add the option ''check -btrfs'' support. Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com> --- check | 2 ++ 1 file changed, 2 insertions(+) diff --git a/check b/check index ff8fbcf..9c40615 100755 --- a/check +++ b/check @@
2020 Jul 13
0
[PATCH 2/7] kvm/vfio: detect assigned device via irqbypass manager
On 2020/7/13 ??5:06, Michael S. Tsirkin wrote: > On Sun, Jul 12, 2020 at 10:49:21PM +0800, Zhu Lingshan wrote: >> We used to detect assigned device via VFIO manipulated device >> conters. This is less flexible consider VFIO is not the only >> interface for assigned device. vDPA devices has dedicated >> backed hardware as well. So this patch tries to detect >> the
2020 Jul 14
0
[PATCH 2/7] kvm/vfio: detect assigned device via irqbypass manager
On Tue, Jul 14, 2020 at 08:52:43AM +0800, Zhu, Lingshan wrote: > > On 7/13/2020 6:52 PM, Michael S. Tsirkin wrote: > > On Mon, Jul 13, 2020 at 04:13:35PM +0800, Jason Wang wrote: > > On 2020/7/13 ??5:06, Michael S. Tsirkin wrote: > > On Sun, Jul 12, 2020 at 10:49:21PM +0800, Zhu Lingshan wrote: > > We used to detect
2005 Jan 26
1
Possible Winbind Bug ?!?!
hi, today i experience a very crazy behaviour: 1) yesterday my winbindd crashed (s. log.crash) (status: "dead") 2) restarted winbind and saw that some files have no owner (just the uidNumber) 3) getent passwd, wbinfo -u shows me all users (authenticating agains Windows PDC) 4) i'm using nsswitch (passwd: files winbind, group: files winbind) e.g. (getent passwd) .... (snip)
2020 Jul 12
1
[PATCH 2/7] kvm/vfio: detect assigned device via irqbypass manager
On Sun, 12 Jul 2020 22:49:21 +0800 Zhu Lingshan <lingshan.zhu at intel.com> wrote: > We used to detect assigned device via VFIO manipulated device > conters. This is less flexible consider VFIO is not the only > interface for assigned device. vDPA devices has dedicated > backed hardware as well. So this patch tries to detect > the assigned device via irqbypass manager. >
2020 Jul 12
3
[PATCH 2/7] kvm/vfio: detect assigned device via irqbypass manager
On Sun, Jul 12, 2020 at 10:49:21PM +0800, Zhu Lingshan wrote: > We used to detect assigned device via VFIO manipulated device > conters. This is less flexible consider VFIO is not the only > interface for assigned device. vDPA devices has dedicated > backed hardware as well. So this patch tries to detect > the assigned device via irqbypass manager. > > We will
2020 Jul 12
3
[PATCH 2/7] kvm/vfio: detect assigned device via irqbypass manager
On Sun, Jul 12, 2020 at 10:49:21PM +0800, Zhu Lingshan wrote: > We used to detect assigned device via VFIO manipulated device > conters. This is less flexible consider VFIO is not the only > interface for assigned device. vDPA devices has dedicated > backed hardware as well. So this patch tries to detect > the assigned device via irqbypass manager. > > We will