Re: Open source One Sided Accountisting Management program

2006-05-09 Thread Gil Freund

On 5/9/06, Ira Abramov <[EMAIL PROTECTED]> wrote:

Quoting Ori Idan, from the post of Mon, 16 Jan:
> No, it is not approved yet.
> Which means you can not send a report generated by this software to the
> IRS, however if you use this software only for invoices and internal
> accounting and the yearly report is done by a CPA than it is Ok.
> I am using this software for my invoices.

I thought the main problem with getting this type of software authorised
is the silly demand that the serial numbers of the tax invoices can't be
messed with... and that the annual report can be filed in, as long as a
certified CPA went over it and signed it.

So what's really needed?


An export function that will generate a file to be imported to a more
commonplace accounting package used by CPAs. They will then have the
"Legal" record, which they can also print and sign. I don' know anyone
in their right mind who will actually submit tax reports without a CPA
in Israel.



In other news, "Menahel" was bought about a year or two ago by SAP and
became "SAP Manage 1", but it had a free-as-beer personal edition called
"Junior". Anyone know what happend to it and if they would be willing to
release it on the GPL now that it's been abandoned for two years?

--
MTV Veejay
Ira Abramov
http://ira.abramov.org/email/

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




To unsubscribe, 
send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Hebrew samba, console and konqueror

2006-05-09 Thread Tzafrir Cohen
On Tue, May 09, 2006 at 07:06:50PM +0200, Kfir Lavi wrote:
> Hi,
> I want to open rar archive that has files in Hebrew (copied from windows).
> I set my konsole to 'unicode_start' and 'export LANG=he_IL'.

is he_IL UTF-8?

> Opening the archive, I can see at the console the names of the files in 
> Hebrew.
> The problem is when I try to see the files from konqueror.
> How can I see the files in konqueror? Should I convert them to another 
> encoding?
> 
> Is there a way to know what is the encoding of the files, and then
> convert them to utf8? (Tried with 'tr' but there is a problem with the
> size of one char encoding. Also used 'ls -Q'  and 'od' to see the
> actual bytes).

You can script the process using something of the sort of:

mv "$filename" "`echo $filename| iconv -f cp1255`"

I recall someone mentioned in the list an existing script that does exactly that
converion.

> 
> I also want to burn the files on a cd that windows users can see.
> So what encoding should I use when preparing the ISO image?
> 

mkisofs known how to convert them to UTF-16 from yourcurrent locale, I
believe. Try simply using mkisofs -r -J -quiet 

-- Tzafrir

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: SpamAssassin eating up my CPU

2006-05-09 Thread Gil Freund

On 5/9/06, Ira Abramov <[EMAIL PROTECTED]> wrote:

My server is running a heavy website and recieves mail for some 30 users
under 8 domains or so. the amount of spam hitting the server is causing
the load average to drag at times from a calm 1 or 2 up to 12 and even
20. this is actually hurting the websites' responsiveness a lot. I'm
afraid it's time to consider taking off rules from the list and risk
getting more false negatives through, or kick it out in favor of a
slimmer, non-perl alternative, though I have no idea which way to go.
the 3 spamd processes seem to be constantly taking 5-14% of the CPU for
several hours each night.

ideas?



A few:
1. Are you scanning everything? I don't scan anything over 256K, and
amavis docs suggest 64K.
2. The more RAM the merrier (isn't it always)
3. graylisting.
4. Do you check for recipients existence before scanning?
5. more daemons? I use 4 daemons for 20 users (but this is only a mail relay).
6. Scan for virii before scanning for spam.

Gil


--
More important drivel from
Ira Abramov
http://ira.abramov.org/email/

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




To unsubscribe, 
send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: [OT] Google is Anti-semetic

2006-05-09 Thread Yonah Russ
On 5/9/06, Ira Abramov <[EMAIL PROTECTED]> wrote:
Quoting Yonah Russ, from the post of Mon, 24 Apr:> On 4/24/06, Amos Shapira <[EMAIL PROTECTED]> wrote:> > On 4/24/06, Yonah Russ <
[EMAIL PROTECTED]> wrote:> > > If it was a mistake, then I'm sure google will make a public apology.> > > Unfortunately, I doubt it was a mistake.> >> > Excuse me, sir, but have you bothered to ask them?
>> yes- I have yet to receive a response.> yonahI see you finally have. I also see it was a bug.
I have never received any response from Google which gave any
information other than that they were aware of the issue and were
working to fix the problem. 

I did not even receive a letter saying that the problem was fixed although it seems to have been.

You seem to be refering to the assumptions which I published in my
blog. Yes, I did seem to find some _javascript_ which was changed after
their fix and which might have been a problem with the previous
version.  This was never acknowledged by Google.

Whether it was a bug or not, it was, imho, incredibly insensitive to
allow an application to go live with such an issue. It is even more
incredible that it took so long for them to fix such a simple issue(as
web programming issues go). I still think that Google should come
forward with an apology to the effect of: 

"We are very sorry about what happened. This was the result of . It was in no way meant to reflect any political views
of Google or it's employees." 
yonah



Re: SpamAssassin eating up my CPU

2006-05-09 Thread Geoffrey S. Mendelson
On Tue, May 09, 2006 at 10:01:13PM +0300, Ira Abramov wrote:
> My server is running a heavy website and recieves mail for some 30 users
> under 8 domains or so. the amount of spam hitting the server is causing
> the load average to drag at times from a calm 1 or 2 up to 12 and even
> 20. this is actually hurting the websites' responsiveness a lot. I'm
> afraid it's time to consider taking off rules from the list and risk
> getting more false negatives through, or kick it out in favor of a
> slimmer, non-perl alternative, though I have no idea which way to go.
> the 3 spamd processes seem to be constantly taking 5-14% of the CPU for
> several hours each night.

I only run spamassian against mail I don't know. For example, most of my
legitimate email is from mailing lists. By not checking mail from
yahoogroups among others, I cut down the number of messages I check
for spam to about 10% of the total, with about 80-90% of them being SPAM.

YMMV.

Geoff. 

-- 
Geoffrey S. Mendelson, Jerusalem, Israel [EMAIL PROTECTED]  N3OWJ/4X1GM
IL Voice: (07)-7424-1667  IL Fax: 972-2-648-1443 U.S. Voice: 1-215-821-1838 
Visit my 'blog at http://geoffstechno.livejournal.com/

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Open source One Sided Accountisting Management program

2006-05-09 Thread Oded Arbel
On Tuesday, 9 בMay 2006 20:49, Ira Abramov wrote:
> In other news, "Menahel" was bought about a year or two ago by SAP
> and became "SAP Manage 1", but it had a free-as-beer personal edition
> called "Junior". Anyone know what happend to it and if they would be
> willing to release it on the GPL now that it's been abandoned for two
> years?

The code base for "Menahel" is being used by SAP as a basis for a new 
SMB oriented product built on top of open source components. I doubt 
that they will want to release it as OSS, as (a) they can't figure out 
a business model that does not include total and exclusive control of 
the software, and (b) - according to one of their developers - 
the "Menahel" code base is such a huge ugly mess that no one in SAP 
would want to have their name associated with it.

-- 
Oded

::..
Robustness, adj.:
  Never having to say you're sorry.

To unsubscribe, 
send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



RE: No interactive shell prompt when using passwordless (rsa) ssh login ?

2006-05-09 Thread Livneh Ran
Try checking the .ssh directory and .ssh/authorized_keys permissions.



Regards,

Ran Livneh
Tel: +972-3-7663331
Mobile:+972-52-6026631
FAX: +972-3- 7669121


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Maxim Vexler
Sent: Monday, May 08, 2006 2:01 PM
To: Arik Baratz
Cc: Linux-IL
Subject: Re: No interactive shell prompt when using passwordless (rsa)
ssh login ?

On 5/8/06, Arik Baratz <[EMAIL PROTECTED]> wrote:
> On 5/8/06, Maxim Vexler <[EMAIL PROTECTED]> wrote:
>
> > debug1: Authentication succeeded (publickey).
> > debug1: channel 0: new [client-session]
> > debug1: Entering interactive session.
> > debug1: client_input_channel_req: channel 0 rtype exit-status reply
0
>
> Did you try adding a -t parameter to force tty allocation?
>

No.

Tried it now, same effect.

> -- Arik
>


--
Cheers,
Maxim Vexler

"Free as in Freedom" - Do u GNU ?

To unsubscribe, 
send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: XReparentWindow segfault

2006-05-09 Thread Yedidyah Bar-David
On Mon, May 08, 2006 at 03:35:56PM +0300, Shachar Shemesh wrote:
> Hi List,
> 
> 
> I'm having a most frustrating problem with using "XReparentWindow" to
> "take over" another application's window.
> 
> 
> The rest of the program is written with wxWindows. I'm getting the X11
> window ID from wx, and trying to reparent another application's window
> into mine. This is, in theory, entirly possible.
> 
> 
> When I actually try to run XReparentWindow, the result is a segfault. I
> tried setting an error handler (XSetErrorHandler), but it never gets called.
> 
> 
> Any help in debugging this would be greatly appreciated!

I have no specific idea, but you might want to have a look at some other
program that does that, such as fvwm's FvwmButtons or gnome-swallow.
-- 
Didi


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



SpamAssassin eating up my CPU

2006-05-09 Thread Ira Abramov
My server is running a heavy website and recieves mail for some 30 users
under 8 domains or so. the amount of spam hitting the server is causing
the load average to drag at times from a calm 1 or 2 up to 12 and even
20. this is actually hurting the websites' responsiveness a lot. I'm
afraid it's time to consider taking off rules from the list and risk
getting more false negatives through, or kick it out in favor of a
slimmer, non-perl alternative, though I have no idea which way to go.
the 3 spamd processes seem to be constantly taking 5-14% of the CPU for
several hours each night.

ideas?

-- 
More important drivel from
Ira Abramov
http://ira.abramov.org/email/

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Open source One Sided Accountisting Management program

2006-05-09 Thread Ira Abramov
Quoting Ori Idan, from the post of Mon, 16 Jan:
> No, it is not approved yet.
> Which means you can not send a report generated by this software to the
> IRS, however if you use this software only for invoices and internal
> accounting and the yearly report is done by a CPA than it is Ok.
> I am using this software for my invoices.

I thought the main problem with getting this type of software authorised
is the silly demand that the serial numbers of the tax invoices can't be
messed with... and that the annual report can be filed in, as long as a
certified CPA went over it and signed it.

So what's really needed?

In other news, "Menahel" was bought about a year or two ago by SAP and
became "SAP Manage 1", but it had a free-as-beer personal edition called
"Junior". Anyone know what happend to it and if they would be willing to
release it on the GPL now that it's been abandoned for two years?

-- 
MTV Veejay
Ira Abramov
http://ira.abramov.org/email/

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: msgrcv without removing the message

2006-05-09 Thread Gilad Ben-Yossef

Ori Idan wrote:

I need to sleep until a message is aviliable in a message queue.

I can do it using msgrcv, however it will remove the message from the queue.

Is there a way to do it without removing the message? I juast want to
wake up and not read the message yet.




Move to POSIX message queues instead of Sys V message queues and use 
mq_notify():



http://www.die.net/doc/linux/man/man3/mq_notify.3.html

AFAIK POSIX message queues are supported in Linux circa 2.6.6 or some such.

Gilad

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Hebrew samba, console and konqueror

2006-05-09 Thread Kfir Lavi

Hi,
I want to open rar archive that has files in Hebrew (copied from windows).
I set my konsole to 'unicode_start' and 'export LANG=he_IL'.
Opening the archive, I can see at the console the names of the files in Hebrew.
The problem is when I try to see the files from konqueror.
How can I see the files in konqueror? Should I convert them to another encoding?

Is there a way to know what is the encoding of the files, and then
convert them to utf8? (Tried with 'tr' but there is a problem with the
size of one char encoding. Also used 'ls -Q'  and 'od' to see the
actual bytes).

I also want to burn the files on a cd that windows users can see.
So what encoding should I use when preparing the ISO image?


Thanks,
Kfir


Re: msgrcv without removing the message

2006-05-09 Thread Muli Ben-Yehuda
On Tue, May 09, 2006 at 04:17:24PM +0300, Omer Zak wrote:

> 2. Might be acceptable in Ori's specific application (the sender process
> being the top priority one, or sending both messages inside a locked
> region).
> 3. There are also two other suggestions.

Ah, but I had no nit to pick with them :-)

Nit-pickingly-yours,
Muli
-- 
Muli Ben-Yehuda
http://www.mulix.org | http://mulix.livejournal.com/


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: msgrcv without removing the message

2006-05-09 Thread Omer Zak
On Tue, 2006-05-09 at 15:42 +0300, Muli Ben-Yehuda wrote:
> On Tue, May 09, 2006 at 03:24:02PM +0300, Omer Zak wrote:
> > On Tue, 2006-05-09 at 14:53 +0300, Ori Idan wrote:
> > > I need to sleep until a message is aviliable in a message queue.
> > > 
> > > I can do it using msgrcv, however it will remove the message from the 
> > > queue.
> > > 
> > > Is there a way to do it without removing the message? I juast want to
> > > wake up and not read the message yet.
> > 
> > DISCLAIMER:  the following suggestions were not actually tested.  The
> > first two will probably work.  The third depends upon correctness of the
> > information in the manpage.
> > 
> > 1. Have the sending process send two messages each time.  The first
> > message is used to wake up the receiving process and then discarded.  It
> > could be zero-length message.
> 
> Isn't this racy - if the sender context switches between the two
> sends, the receiver may block on the second receive.

1. You are right.
2. Might be acceptable in Ori's specific application (the sender process
being the top priority one, or sending both messages inside a locked
region).
3. There are also two other suggestions.
 --- Omer
-- 
Sent from a PC running a top secret test version of Windows 97.
My own blog is at http://tddpirate.livejournal.com/

My opinions, as expressed in this E-mail message, are mine alone.
They do not represent the official policy of any organization with which
I may be affiliated in any way.
WARNING TO SPAMMERS:  at http://www.zak.co.il/spamwarning.html


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: msgrcv without removing the message

2006-05-09 Thread Muli Ben-Yehuda
On Tue, May 09, 2006 at 03:24:02PM +0300, Omer Zak wrote:
> On Tue, 2006-05-09 at 14:53 +0300, Ori Idan wrote:
> > I need to sleep until a message is aviliable in a message queue.
> > 
> > I can do it using msgrcv, however it will remove the message from the queue.
> > 
> > Is there a way to do it without removing the message? I juast want to
> > wake up and not read the message yet.
> 
> DISCLAIMER:  the following suggestions were not actually tested.  The
> first two will probably work.  The third depends upon correctness of the
> information in the manpage.
> 
> 1. Have the sending process send two messages each time.  The first
> message is used to wake up the receiving process and then discarded.  It
> could be zero-length message.

Isn't this racy - if the sender context switches between the two
sends, the receiver may block on the second receive.

Cheers,
Muli
-- 
Muli Ben-Yehuda
http://www.mulix.org | http://mulix.livejournal.com/


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: msgrcv without removing the message

2006-05-09 Thread Muli Ben-Yehuda
On Tue, May 09, 2006 at 02:53:27PM +0300, Ori Idan wrote:

> I need to sleep until a message is aviliable in a message queue.
> 
> I can do it using msgrcv, however it will remove the message from the queue.
> 
> Is there a way to do it without removing the message? I juast want to
> wake up and not read the message yet.

There's no way to select or poll message queue, unfortunately, so you
have to manually poll it every so often. To poll, use either a
non-blocking msgrcv() or msgctl(qid, IPC_STAT, &buf) and look at
buf.q_qnum. If it's > 0, you have a message waiting.

Cheers,
Muli
-- 
Muli Ben-Yehuda
http://www.mulix.org | http://mulix.livejournal.com/


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: msgrcv without removing the message

2006-05-09 Thread Omer Zak
On Tue, 2006-05-09 at 14:53 +0300, Ori Idan wrote:
> I need to sleep until a message is aviliable in a message queue.
> 
> I can do it using msgrcv, however it will remove the message from the queue.
> 
> Is there a way to do it without removing the message? I juast want to
> wake up and not read the message yet.

DISCLAIMER:  the following suggestions were not actually tested.  The
first two will probably work.  The third depends upon correctness of the
information in the manpage.

1. Have the sending process send two messages each time.  The first
message is used to wake up the receiving process and then discarded.  It
could be zero-length message.

2. Maintain a second queue.  When waking up, transfer the message to the
second queue.  Then when ready to process it, read the message from the
second queue.

3. According to the small print in man msgrcv, if the sender never sends
zero-length messages, then you can use msgflg & (~MSG_NOERROR) and
msgsz==0 to force the msgrcv() call to fail.  The message is not removed
from queue.
   --- Omer
-- 
Every good master plan involves building a time machine.  Moshe Zadka
My own blog is at http://tddpirate.livejournal.com/

My opinions, as expressed in this E-mail message, are mine alone.
They do not represent the official policy of any organization with which
I may be affiliated in any way.
WARNING TO SPAMMERS:  at http://www.zak.co.il/spamwarning.html


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



msgrcv without removing the message

2006-05-09 Thread Ori Idan
I need to sleep until a message is aviliable in a message queue.

I can do it using msgrcv, however it will remove the message from the queue.

Is there a way to do it without removing the message? I juast want to
wake up and not read the message yet.


-- 

Ori Idan



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: [OT] Google is Anti-semetic

2006-05-09 Thread Ira Abramov
Quoting Yonah Russ, from the post of Mon, 24 Apr:
> On 4/24/06, Amos Shapira <[EMAIL PROTECTED]> wrote:
> > On 4/24/06, Yonah Russ <[EMAIL PROTECTED]> wrote:
> > > If it was a mistake, then I'm sure google will make a public apology.
> > > Unfortunately, I doubt it was a mistake.
> >
> > Excuse me, sir, but have you bothered to ask them?
> 
> yes- I have yet to receive a response.
> yonah

I see you finally have. I also see it was a bug.

Would YOU now take the time to appologize to Sergey Brin and his many
Jewish employees (including several Israelis, Shosh Forbes being my
favorite) for accusing them of supporting the Hamas and Judeo-genocide
because of a tiny bug?

As for their slow response to you - I'm amazed they responded at all.
instead of reporting the bug and suggesting a fix you attacked with
heavy artilary, hate crime accusations and dragged extremist politics
into a puny little SOFTWARE BUG REPORT! get a grip and take a cold
shower. Do you also blame the Debian project for racism whenever you
report a bug? Great way to get cooperation.

As for the timezone, Israel changes the DST dates around, but we are
still GMT+2. in Summer it's GMT+2 plus an hour of offset. Google may be
able to follow the DST date changes from the internationally published
timezone info definitions (I have no idea who'se in charge, btw) as used
to compile for different flavors of Unix. If there's anyone to complain
to about ignoring the Israeli DST it's Micro$oft who causes all the
mailed meetings clients send me to appear offset in my calendar by an
hour, because each summer, 99% of windows-bound Israelis move Greenwich
to Paris because Bill Gates is too lazy.

Just as a precaution, allow me to remind you, before you flame M$ as
antisemitic, Ballmer is Jewish and his lawyer is probably one too. they
also make more money than you. Get a VERY expensive lawyer and then go
ahead and post your bug report :)

no reply necessary, bite your tounge. I'm not going to argue with bigots
this week. too busy and too tired.

-- 
Throw it in the toaster and watch it pop!
Ira Abramov
http://ira.abramov.org/email/

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: DD and split problem (need ideas)....

2006-05-09 Thread gili gili

We got a winner
10X for the help!
Gili

Subject:  Re: DD and split problem (need ideas)
Date:  Tue, 2 May 2006 12:14:32 +0300
On Tue, 2 May 2006 18:35:25 +1000, Amos Shapira wrote: > On 5/2/06, gili 
gili wrote: > > > > I know I can use "split" command. But the restore is 
problematic… > > cat backup.img.gz.* | gzip -dc | dd of=/dev/hda1 > > But 
if I change the DVD to the one that have the new image, cat will "lose > > 
count"… > > Untested idea: > > 1. "mkfifo fifo" > 2. do "cat fifo fifo 
fifo... | gzip...". repeat "fifo" on the cat > command line to the > number 
of input DVD's. > 3. dd from the dvd's into "fifo", one at at time. > > The 
repating of "fifo" is required because every time "dd" closes the fifo cat 
> gets an EOF. You overcome this by telling cat that its next file to read 
is > (tararam...): fifo.


The above should work but you need to know the number of DVDs (or to use 
many fifo, so it is always sufficient).


Instead you can use subshell (tested) like this:

( FLAG=any while [ $FLAG ] do cat 
/DVD-MOUNT-DIR/backup.img.gz.* echo "Please put next DVD and press 
Y + Enter" > /dev/tty echo "If there is none, press Enter only" > 
/dev/tty read FLAG < /dev/tty done ) | gunzip -c | dd 
of=/dev/hda1


You can do any other needed operation in the loop (like unmounting and 
mounting the new DVD).


Ehud.


--
 Ehud Karni   Tel: +972-3-7966-561  /"\  Mivtach - Simon  Fax: 
+972-3-7966-667  \ /  ASCII Ribbon Campaign  Insurance agencies   (USA) 
voice mail and   X   Against   HTML   Mail  http://www.mvs.co.il  FAX:  
1-815-5509341  / \  GnuPG: 98EA398D Better Safe Than Sorry


To 
unsubscribe, send mail to [EMAIL PROTECTED] with the word 
"unsubscribe" in the message body, e.g., run the command echo unsubscribe | 
mail [EMAIL PROTECTED]






=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Need recommendation for task scheduler

2006-05-09 Thread Ira Abramov
Quoting Yonah Russ, from the post of Thu, 27 Apr:
> I think everything suggested so far is way to complicated.
> Have all your servers mount a directory(lets call it "cronserver") and store
> all your scheduled scripts there.

ok, talk about complicated. NFS is the LAST answer I want to give...

here's what I suggest.

each of the "slaves" has a cron job that runs every 5 minutes. it's
planted in /etc/cron.d/central-cron-poll or something. what this does is
extremely simple - use wget to poll the server for instructions (which
could be NOP or a 100 line script) and run them. no other scripts need
to be installed locally.

the instructions it gets will be a backup script to run or any other
task. the task may include planting a semaphore to mark success of
failure, or it may be a short script that checks for a semaphore and
invokes wget accordingly to report it back to the central server.

in other words, the slave asks the master every N minutes what to do via
HTTP GET.  Success and failure are reported back with an HTTP GET. the
whole thing is managed by a CGI, PHP, or a standalone Python httpd
object. no files to update on the slaves, you update them on the server
and within minutes the right slave(s) will run them on their next
scheduled poll.

The smart bit is the server. it holds the list of task scripts to serve,
with dependencies and the list of the slaves that need to run each,
serving them to the slaves and waits for semaphore checks as feedback
for dependency.

It sounds too elegant and simple to implement to NOT have been done so
far. I'd dig around freshmeat some more.

> Now everything can be stored, edited, etc. from one central location.
> If you want more complicated scheduling you could add it any number of ways
> depending on the resolution you're looking for.

yup, basicly the same idea, but no NFS please :-)
wget and bash are just fine.


-- 
The last Jedi
Ira Abramov
http://ira.abramov.org/email/

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Revival, Closed. Write In Complete

2006-05-09 Thread Ira Abramov
Quoting Boris Gorelik, from the post of Tue, 02 May:
> > Borik, you are right. I am a pro-nazi bastard according to your
> > books, and I lack the inclination to deny your assertion. Be pleased
> > with your achievement, surely your greatest.
> 
> Now here I need to make things clear: that was a cynical remark,

Oh, but you've hit the nail on the head! Deep inside Marc is very much a
homocidal dictator :)  Ask his coleagues at Aduva and Exanet how he
loved terrorizing his neighbours and playing the Nazi party's anthem :)

I fondly remember a lunch I stormed out of when Marc kept discussing
what would take the most lives in an average refugee camp - NaPalm or
other fun types of fuel bombs.

It's all a question of POV. You say pro-Nazi, I just see a boundless
clown with a deep seated love of black humour.

On to the next subject, I have to corrections for your list, Marc. One
is you can move me back from "Eaters" to "Honorary" since I would very
probably not be able to make it afterall. Second, you totally misspelled
Viktorie Navratilova's name (AKA Viki).

Disharmoniously yours,
Ira

-- 
Suffers from Podophilia
Ira Abramov
http://ira.abramov.org/email/

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]