Displaying 17 results from an estimated 17 matches similar to: "ChangeNotify help wanted"
2005 Jan 06
0
Some thoughts on win32-changenotify
Hi all,
As things stand now, you can do something like this with
win32-changenotify:
require "win32/changenotify"
include Win32
filter = ChangeNotify::FILE_NAME | ChangeNotify::DIR_NAME |
ChangeNotify::LAST_WRITE
cn = ChangeNotify.new("c:\\",false,filter){
puts "Something changed"
}
cn.wait
You can pass a block that''s executed when a change occurs, but
2007 Aug 08
12
Some more win32-changenotify analysis
Hi all,
I decided to check the responsiveness of the pure Ruby vs C extension
versions of win32-changenotify. I setup this little file generator program:
a = []
10.times{ |n|
a << Thread.new{
File.open("File_#{n}", ''w''){ |fh| fh.puts "test #{n}" }
}
}
a.each{ |t| t.join }
The pure Ruby version did not do so well. In some cases it
2004 Nov 07
2
Problems with DeviceIoControl()
Hi all,
Thanks to Wayne and Park, I''ve got something like this
now:
static VALUE file_set_compressed(VALUE self, VALUE
rbBool){
HANDLE h;
BOOL rv;
DWORD dwBytesReturned;
int fn;
USHORT inBuf = COMPRESSION_FORMAT_DEFAULT;
if((rbBool != Qtrue) && (rbBool != Qfalse)){
rb_raise(rb_eTypeError,"Argument must be true or
false");
}
2006 Jun 27
28
Supporting ~10K users on ZFS
OK, I know that there''s been some discussion on this before, but I''m not sure that any specific advice came out of it. What would the advice be for supporting a largish number of users (10,000 say) on a system that supports ZFS? We currently use vxfs and assign a user quota, and backups are done via Legato Networker.
>From what little I currently understand, the general
2007 Aug 04
10
Need some help with pure Ruby win32-changenotify
Hi all,
I know it''s deprecated, but people seem to still be using
win32-changenotify, so I thought I''d see if I could make it pure Ruby.
Also, I thought it would be a good opportunity to test passing a custom
Win32::Event object.
I''m mostly done I think, but I''m having trouble unraveling the
FILE_NOTIFY_INFORMATION struct buffer. Please check out the
1997 Jul 29
0
Fwd: Buffer Overrun in ruserpass() in MH and NMH (fwd)
------- =_aaaaaaaaaa0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <14008.870179829.1@erehwon.bmc.com>
See attached. Red Hat Linux package mh-6.8.3-13.i386.rpm installs the
inc and msgchk programs as follows:
-rwsr-sr-x- root mail 72628 Oct 17 16:57 /usr/bin/mh/inc
-rwsr-xr-x- root root 52536 Oct 17 16:57 /usr/bin/mh/msgchk
Hal
-------
2004 Mar 22
3
Long time needed for "Building file list" Any suggestions ?
We're running rsync 2.5.7 on a Windows2000 server, in combination with
cygwin/ssh. The server who receives the data is a Linux server.
The amount of data from the Windows server is about 100 Gb. Represented
by 532.000 files of different nature. Mostly doc, ppt and xls files.
It takes about 2 hours to create only the file list.
Is the amount of data/files to big, should I segmentate the
2011 Jan 09
4
IIS Change Notifications
Good afternoon all,
I'm a web developer (c#) who also manages a small hosting environment.
Roughly, our configuration is:
Two IIS7 (Windows Server 2008 Web) servers which share configuration data
and site files from a SMB share located on a ubuntu server.
The ubuntu server is currently running 3.0.28a which is quite old, but read
on.
We've been having a problem with the change
2008 Nov 28
2
AIC function and Step function
I would like to figure out the equations for calculating "AIC" in both
"step() function" and "AIC () function". They are different. Then I
just type "step" in the R console, and found the "AIC" used in "step()
function" is "extractAIC". I went to the R help, and found:
"The criterion used is
AIC = - 2*log L + k *
2006 Jun 24
8
How to install programs in wine?
I am a rank newbie to Linux and wine.
I am running Ubuntu Dapper on an AMD 1800 mhz machine, wine 0.9.15
Everything I have read says use the installer to load windows programs.
Where is the installer?
Thanks,
--
Ron Thompson On the Beautiful Florida Space Coast, right beside the Kennedy Space Center, USA
http://www.plansandprojects.com My hobby pages are here:
2004 Aug 16
1
TRANS2 notifications
Hello,
I am using Samba 3.01.
I am running a Win2K application that uses ReadDirectoryChangesW.
I understood that this API uses TRANS2 notifications, which seems not to be
supported in this version (the comment on the handler function says that nothing is done).
Does anyone have a patch for this that I can use?
Thanks,
Menny
2010 Jul 28
2
Ghostcast random freeze.
Greetings again,
I am experiencing a lockup when ghost casting about 1 out of 5 client machines locks up. I don't recall if I was having this issue when I was using 3com pxe menus or not. I was wondering if the issue I am seeing could be caused by pxelinux since it basically is loading a Linux kernel then booting a MSDos.imz file. I cannot find any errors from the ghostcast side or the
2007 Jan 29
5
memdisk 3.35 + ghost problem
HI:
i just trying memdisk that comes with syslinux 3.35. i try to load
a dos image,
which contains ghost verison 8.3 and ghost version 11.
both version of ghost hangs when start-up.
memdisk that comes with 3.40 pre is ok. and many earlier versions is ok too.
i try some parameter like "safeint","raw". but none work.
i use memdisk with pxelinux, below is part of my
2011 Sep 12
0
Fwd: Re: Can't add users to well known groups...
Forgot to CC the list.
-------- Original Message --------
SUBJECT:
Re: [Samba] Can't add users to well known
groups...
DATE:
Mon, 12 Sep 2011 15:51:31 +0200
FROM:
Fran?ois Legal
TO:
Linda Walsh
Not sure if this is relevant,
but if (first case shown down here) "Domain Admins" is not so much a
group but a map to unix group, I'm not surprised that you
2002 Apr 24
3
nonlinear least squares, multiresponse
I'm trying to fit a model to solve a biological problem.
There are multiple independent variables, and also there are multiple
responses.
Each response is a function of all the independent variables, plus a set of
parameters. All the responses depend on the same variables and parameters -
just the form of the function changes to define each seperate response.
Any ideas how I can fit
2013 Jan 23
132
[PATCH 00/45] initial arm v8 (64-bit) support
First off, Apologies for the massive patch series...
This series boots a 32-bit dom0 kernel to a command prompt on an ARMv8
(AArch64) model. The kernel is the same one as I am currently using with
the 32 bit hypervisor
I haven''t yet tried starting a guest or anything super advanced like
that ;-). Also there is not real support for 64-bit domains at all,
although in one or two places I
2008 Jun 30
4
Rebuild of kernel 2.6.9-67.0.20.EL failure
Hello list.
I'm trying to rebuild the 2.6.9.67.0.20.EL kernel, but it fails even without
modifications.
How did I try it?
Created a (non-root) build environment (not a mock )
Installed the kernel.scr.rpm and did a
rpmbuild -ba --target=`uname -m` kernel-2.6.spec 2> prep-err.log | tee
prep-out.log
The build failed at the end:
Processing files: kernel-xenU-devel-2.6.9-67.0.20.EL
Checking