Re: recvmsg on dgram socketpair blocks on open socket?

2007-02-15 Thread Amos Shapira
On 16/02/07, Amos Shapira <[EMAIL PROTECTED]> wrote: Hi, I'm trying to help complete Shachar Shemesh' privbind project ( http://sourceforge.net/projects/privbind) and it mostly works except that when the writing side of the socketpair exits, the side which calls "recvfrom" keeps waiting for mes

recvmsg on dgram socketpair blocks on open socket?

2007-02-15 Thread Amos Shapira
Hi, I'm trying to help complete Shachar Shemesh' privbind project ( http://sourceforge.net/projects/privbind) and it mostly works except that when the writing side of the socketpair exits, the side which calls "recvfrom" keeps waiting for messages. I couldn't find anything which suggests that I'

Re: Quickest way to list content of directory(s)

2007-02-15 Thread Amos Shapira
On 16/02/07, Dotan Cohen <[EMAIL PROTECTED]> wrote: On 15/02/07, Shachar Shemesh <[EMAIL PROTECTED]> wrote: > Gilboa Davara wrote: > > BTW, certain operations (atomic operations/counters/etc) -require- asm > > code. > > > In an age where GCC, probably the least optimizing compiler among all > po

Re: Quickest way to list content of directory(s)

2007-02-15 Thread Dotan Cohen
On 15/02/07, Shachar Shemesh <[EMAIL PROTECTED]> wrote: Gilboa Davara wrote: > BTW, certain operations (atomic operations/counters/etc) -require- asm > code. > In an age where GCC, probably the least optimizing compiler among all popular compilers... If gcc is so bad, can one use a different c

Re: Quickest way to list content of directory(s)

2007-02-15 Thread Gilboa Davara
On Thu, 2007-02-15 at 19:23 +0200, Peter wrote: > On Thu, 15 Feb 2007, Gilboa Davara wrote: > > > Small example. > > About two years ago I go bored, and decided to implement binary trees in > > (x86) Assembly. > > The end result was between 2-10 times faster then GCC (-O2/-O3) > > generated code.

Re: Locating bandwidth bottlenecks

2007-02-15 Thread guy keren
Baruch Even wrote: * guy keren <[EMAIL PROTECTED]> [070215 18:46]: please DON'T hammer down on DNS server to check your bandwidth limits - you'll disrupt the service of everyone else by doing so... About two requests a second for a minute or so is hardly hammering it. Obviously, running such a

Re: Quickest way to list content of directory(s)

2007-02-15 Thread Peter
On Fri, 16 Feb 2007, Amos Shapira wrote: On 16/02/07, Peter <[EMAIL PROTECTED]> wrote: Atomic code execution should not require assembly because segment locking can be done using C (even if that C is inline assembly for some applications). And how would you implement the lock on the segment

Apache ssl as Default

2007-02-15 Thread Chaim Keren Tzion
What is the recommended way to set up Apache2 so that all sites will default to ssl (https) even if entered as http? I don't want to have to set up a rewrite for each directory or virtual server. TIA, Chaim Witty Quote as Signature Here ==

Re: Quickest way to list content of directory(s)

2007-02-15 Thread Amos Shapira
On 16/02/07, Peter <[EMAIL PROTECTED]> wrote: Atomic code execution should not require assembly because segment locking can be done using C (even if that C is inline assembly for some applications). And how would you implement the lock on the segment? (assuming I guess correctly what you mea

Re: Locating bandwidth bottlenecks

2007-02-15 Thread Baruch Even
* guy keren <[EMAIL PROTECTED]> [070215 18:46]: > > please DON'T hammer down on DNS server to check your bandwidth limits - > you'll disrupt the service of everyone else by > doing so... About two requests a second for a minute or so is hardly hammering it. Obviously, running such a program ind

Re: USB UPS -> MGE ups systems?

2007-02-15 Thread Oron Peled
On Thursday, 15 בFebruary 2007 01:25, [EMAIL PROTECTED] wrote: > > Alternatively, does anyone have a specific UPS that they recommend > > to use with Linux? > > MGE ups systems? I haven't personally used them, but they are the first on my checklist -- just see who sponsored NUT: http://www.n

Re: Quickest way to list content of directory(s)

2007-02-15 Thread Peter
On Thu, 15 Feb 2007, Gilboa Davara wrote: Small example. About two years ago I go bored, and decided to implement binary trees in (x86) Assembly. The end result was between 2-10 times faster then GCC (-O2/-O3) generated code. (Depending the size of the tree) The main reason being the lack of a

Re: [OT] List/forum for discussing internet in Israel

2007-02-15 Thread michael
On Thu, 15 Feb 2007, Gadi Cohen wrote: Where's the right place to do this? * Where can I find updates on which ISPS have how much bandwidth to where? * Where can I ask if anyone else is having speed problems internationally lately? * Where can I find comparitive bandwidth/latency tests fr

Re: Locating bandwidth bottlenecks

2007-02-15 Thread guy keren
please DON'T hammer down on DNS server to check your bandwidth limits - you'll disrupt the service of everyone else by doing so... the only way i saw for this so far, is by connecting to different ftp servers, and see what they give you. this is far from being ideal, though, since you don't

Re: Quickest way to list content of directory(s)

2007-02-15 Thread Adam Morrison
On Thu, Feb 15, 2007 at 04:06:42PM +0200, Shachar Shemesh wrote: > > BTW, certain operations (atomic operations/counters/etc) -require- asm > > code. > > > In an age where GCC, probably the least optimizing compiler among all > popular compilers, is able to unroll loops and submit them, in para

Re: Locating bandwidth bottlenecks

2007-02-15 Thread Baruch Even
* Gadi Cohen <[EMAIL PROTECTED]> [070215 17:14]: > Is this possible? What do you want to find? There are tools to find that there is a bandwidth bottleneck and what is it limiting to. So you can know f.ex. that you DSL line is limited to 1.5mbps. Look for packet pair to find tools that do it. I h

[OT] List/forum for discussing internet in Israel

2007-02-15 Thread Gadi Cohen
Where's the right place to do this? * Where can I find updates on which ISPS have how much bandwidth to where? * Where can I ask if anyone else is having speed problems internationally lately? * Where can I find comparitive bandwidth/latency tests from different ISPS at different times? etc, e

Locating bandwidth bottlenecks

2007-02-15 Thread Gadi Cohen
Is this possible? Obviously traceroute is great for finding latency problems... but are there tools available to try find bandwidth bottlenecks? Obviously ping has a maximum packet size, so this isn't that helpful. Gadi -- Gadi Cohen aka Kinslayer <[EMAIL PROTECTED]> www.wastelands.net Freel

Re: USB UPS -> MGE ups systems?

2007-02-15 Thread Gil Freund
On 2/15/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: On Wednesday, February 14, 2007 8:11 pm, David Suna wrote: > The USB UPS is made by Gammatronic. Don't know about Gammatronic. > > Alternatively, does anyone have a specific UPS that they recommend > to use with Linux? APC. Both Smar

Re: Quickest way to list content of directory(s)

2007-02-15 Thread Shachar Shemesh
Gilboa Davara wrote: > BTW, certain operations (atomic operations/counters/etc) -require- asm > code. > In an age where GCC, probably the least optimizing compiler among all popular compilers, is able to unroll loops and submit them, in parallel, to a vector processor (such as the MMX and its su

Re: Quickest way to list content of directory(s)

2007-02-15 Thread Gilboa Davara
On Wed, 2007-02-14 at 10:38 +0200, Peter wrote: > On Wed, 14 Feb 2007, Geoffrey S. Mendelson wrote: > > > On Wed, Feb 14, 2007 at 08:18:16AM +0200, Shachar Shemesh wrote: > > > >> Just for the record, it is not at all clear that, on modern CPUs, code > >> you write in machine code (or even Assemb

Re: entering hebrew?

2007-02-15 Thread Zvi Har'El
PS. If you need a Jewish calendar for Mozilla Sunbird or Lightning, you can download one from my homepage (see signature), or more specifically, import . BTW, you can import it also using Google Calendar (you might be familiar with it since I

Re: entering hebrew?

2007-02-15 Thread Zvi Har'El
Dan Bar Dov wrote, On 15/02/07 12:51: > > My next one is about calendar/appointment book. Thundirbird does not > have it AFAIK. > It does. Look at the Mozilla Calendar products in the URL below. You have the choice of a Thunderbird add-on called Lightning, or if you prefer a standalone calendar

Re: entering hebrew?

2007-02-15 Thread Julian Daich
El jue, 15-02-2007 a las 12:51 +0200, Dan Bar Dov escribió: > I agree with you that I was not specific enough, and I apologize for that. > Switching from windows desktop to linux desktop is far from intuitive, > therefore my questions > are kind of dumb. Consider them newbee questions. > > My next

Re: entering hebrew?

2007-02-15 Thread Dan Bar Dov
I agree with you that I was not specific enough, and I apologize for that. Switching from windows desktop to linux desktop is far from intuitive, therefore my questions are kind of dumb. Consider them newbee questions. My next one is about calendar/appointment book. Thundirbird does not have it A