Displaying 20 results from an estimated 3000 matches similar to: "1.1 namespaces and message corruption"
2000 Jul 11
2
Administering SWAT using userid's other than root...
Hi all...
Has anyone got SWAT administration working from other userid's other than
root?
I've got a rh6.2 box running Samba 2.0.7. I have myself (wkim) in the
"domain admin users" and the "admin users". Both the smb.conf file and the
swat binarary are owned by root:swat. I'm a part of group "swat". (I'm also
a part of group "root" just to
2014 Jun 25
2
How to enable EDAC kernel module for checking ECC memory?
In order to support ZFS, we upgraded a backups server with a new, ECC
motherboard. We're running CentOS 6 with ZFS on Linux, recently patched.
Now, I want to enable EDAC so we can check for memory errors (and maybe
PCI errors as well) but so far, repeatedly pounding on the Google hasn't
yielded exactly what I need to do to enable EDAC.
One howto was covering PCI and edac, but
2008 Jan 05
3
Builder Plugin vs. Rails Plugin vs. ??? for one-click deploy
This morning I sat down to try to start writing a cruise plugin that
allows you to deploy (''cap deploy'' or something similar) a revision
that has built successfully by clicking a link or button on the
builds/show page. (I.e., something that satisfies
http://jira.public.thoughtworks.org/browse/CCRB-55.)
Since I want to be able to configure the command to run in each
2008 Jan 11
5
Missing methods
We have a custom implementation of the Mother Object idea. It''s inside
of a module, basically like this:
module Factory
%w(account friendship person invitation message asset email_address
birth).each do |klass|
eval <<-EOF
def self.create_#{klass}(attributes = {})
default_attributes = valid_#{klass}_attributes
#{klass.camelize}.create!
2008 May 02
4
spec''ing calls to super (or other Ruby keywords)
Hi there,
How does one spec an invocation of a Ruby keyword, such as super in this
case?
class User < ActiveResource::Base
# faking the ActiveRecord before/after_save observers
def save
super
UserMailer.deliver_activation(self) if recently_activated?
end
end
Does the solution look anything like the following?
describe User do
describe ''#save'' do
it
2008 Jun 04
2
Mock with an attributes that has state
I''m developing a rails application. I have an Order model that has_many
OrderItems.
I mocked the OrderItem model in my Order specs using mock_model. I thought
I should focus my specs on each model and always mock associated models.
In my Order model I need a way to merge OrderItems which have the same cost
and same product_id. That I can spec.
The other thing this merge helper
2008 Mar 26
2
passing parameters to the newly booted kernel
is it possible to pass parameters from a .cfg file to the newly
booted kernel?
my setup is pxelinux where the relevent config is
label fbsd63
kernel memdisk
append initrd=/freebsd6.3.hd harddisk
what i would like to do is pass in some parameter so the booted
kernel can behave differently.
i've looked in teh archives without success, although i did see an
elliptic reference
to
2000 May 26
4
openssh-2.1.0p2 ans Solaris 8
I have some troubles with subj and proper utmpx/wtmpx functionality.
After successfull ssh connect to Solaris 8 box, I run
#w
11:59am up 13:45, 1 user, load average: 0.00, 0.01, 0.02
User tty login@ idle JCPU PCPU what
root console 11:43am 9 bash
#
Record about my pts/1 login is absent. Next command I run from Solaris 8
console
2008 May 23
8
version 1.3 build log truncation
Hi All,
I have upgraded to verion 1.3. Our build output has huge
text in it and what I notice is that in 1.3 the I do not
see complete build.log.
Is there any flag to control this? I want to see the complete
build output because the last few lines has interesting output
about what part of build failed.
Thanks and Regard,
Manish
2008 Jul 01
1
Errors running imaptest with dovecot-1.1.1
Hi,
I've been trying some benchmarks to compare 1.0 vs 1.1 -this is the easiest
way to explain the move to my boss-, so I've compiled dovecot 1.1 and
imaptest-20080627 in my secondary machine running RHEL4, with homes in NFS,
indeces in local files and control files also in NFS.
Then I've created 100 new users imaptest001-imaptest100, and set the password
paquitoelchocolatero to
2000 May 31
3
Solaris utmp problems
Could all those who were having problems with utmp logging on Solaris
please try the test release at:
http://violet.ibs.com.au/openssh/files/test/openssh-TEST-2000053100.tar.gz
Users on other platforms, particularly HP/UX, AIX and SCO are invited
as well, to test compatibility.
The login code is heaps cleaner now.
-d
--
| "Bombay is 250ms from New York in the new world order" -
2008 Jan 26
6
UI Integration with RSpec?
Hi all,
Is there any integration with testing tools such as RSpec or
Test::Unit planned? I see that the cruise task is run correctly, but
the tests show up underneath the build log. Ideally I''d like them to
show up the same way that they do in ''java'' CruiseControl, in their
own section of tests.
Will.
2008 May 18
2
Using Hash to mock classes that respond to :
Hi
I''ve been doing this a while now. If I have a class that responds to :
[], and all I''m interested in stubbing is that method, then instead of
using a mock I just create a hash. (Similarly, you could create an
array when you are testing an Enumerable object.)
Example from code I just worked on, where uses MigrationGraph#[] looks
up graph vertices by name:
2009 Dec 01
1
draw a box at 10% lower and upper in scatter plot
Hi,
I would like to draw a box at each corner of lower 10% and upper 10% in the scatter plot on(0,1)*(0,1) to indicate the lower and upper tail. I hope somebody can help me.
Here is my code:
## scatter plot
plot(hume_uni[,2],beec_uni[,2], pch=19, xlab="Hume_uni", ylab="Beec_uni", col= "blue")
title(main="Scatter plot of uniformised data of Hume and
2012 Jun 29
2
[LLVMdev] [cfe-dev] is configure+make dead yet?
hume npx <humeafo at gmail.com> writes:
> *hi,Óscar:*
> *
> *
> *so following patch should address both the relocation problem and
> uninstall tree problem, not fully tested just for discussion.*
> *
> *
> Index: LLVMConfig.cmake.in
> ===================================================================
> --- LLVMConfig.cmake.in (revision 159425)
> +++
2010 Nov 22
1
need smooth cdf lines
Hi,
I would like to overlap the cdf curve for observed and generated data Here is
my code:
plot(cdf,main ="CDF of the sum for winter
season-Hume",cex.axis=1.2,xlab="Rainfall (mm)",
xaxs="i",yaxs="i",col=c("black","red"), lty=c(1,1),ylab="Cumulative
probability", xlim=c(0,800),lwd=1)
lines(ecdf(datobs))
2010 Nov 25
1
overlap cdf plots and add colors and etc
Hi r-users,
I would like to overlap 2 ecdf plots.
I tried this below and it gives me two plots of ecdf but just both just in
black.
par(mar=c(4,4,2,1.2),oma=c(0,0,0,0),xaxs="i", yaxs="i")
plot(ecdf(datobs))
lines(ecdf(gam_sum_gen))
Then I try to add colors etc and also the legend but fail.
par(mar=c(4,4,2,1.2),oma=c(0,0,0,0),xaxs="i", yaxs="i")
2008 Jul 22
2
Namespaces
Hi all,
I'm working to convert from a bincIMAP setup to a Dovecot setup. I've
tried messing around with namespaces to make the conversion
transparent, but I'm getting nowhere. Are namespaces necessary? Or
can I proceed by recursively renaming the folders on the server? A
transparent solution would be wonderful, but I can't get it to work
for me..
Any help would be
2012 Jun 28
2
[LLVMdev] [cfe-dev] is configure+make dead yet?
hume npx <humeafo at gmail.com> writes:
Sorry for commenting the bug report here, but I can't loging to bugzilla
right now.
> Using cmake should be the right thing if you'd like to support windows, but
> it seems that no enough effort on this build system, eg
> http://llvm.org/bugs/show_bug.cgi?id=12157 three months passed,
There is indeed a problem with the value
2008 Jun 05
1
Using and_yield to pass multiple or no iterations
Hi, imagine there''s a class called Egg which has the following method
(which calls another method):
<CODE>
def do_thing
has_iterated = false
self.each_row do |row|
has_iterated = true unless has_iterated
end
has_iterated
end
</CODE>
Stupid code, I know.
I have two questions with it. The first is, would it be possible to set
it up to test the case when each_row