Re: rewriterule help?

2011-04-22 Thread Hetz Ben Hamo

 Let's continue then... since this domain (VirtualHost) won't be serving any
 OTHER traffic, there's no point at conditioning the rewrites (and putting
 them into our debug process). RewriteCond can be removed.

 You've also placed a RewriteOptions Inherit. Which means the rewrite engine
 inherits some configuration from the global configuration - which is unknown
 to us. Unless you have a very good reason - please remove that too.

 Both conditions were left from another configuration which was global
indeed.


 Finally, if all else fails; Why do you need RewriteRule anyways? :)

 What's wrong with:

 Redirect permanent / http://vps.net.bz/

 First, it doesn't move the parameters. if someone comes to
blog.hetz.biz/?p=300 - it should go to vps.net.bz/?p=300

Second, this requires a new virtualhost (for vps.net.bz) - am I right?

Hetz


 ?

 -- Shimi



-- 

*חץ בן חמו
חץ-ביז (הוסטינג)
*השכרה ואירוח של שרתים פיזיים
השכרת שרתים וירטואליים מקצועיים וגדולים במחירים *קטנים*
בקרו באתרנו בכתובת hetz.biz http://www.hetz.biz/ ובבלוג שלנו:
blog.hetz.biz
טלפוןן: 078113/4/5, אימייל: sa...@hetz.biz
מסנג'ר: sa...@hetz.biz - סקייפ: heunique
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: rewriterule help?

2011-04-22 Thread shimi
On Fri, Apr 22, 2011 at 12:57 PM, Hetz Ben Hamo het...@gmail.com wrote:

  Let's continue then... since this domain (VirtualHost) won't be serving
 any OTHER traffic, there's no point at conditioning the rewrites (and
 putting them into our debug process). RewriteCond can be removed.

 You've also placed a RewriteOptions Inherit. Which means the rewrite
 engine inherits some configuration from the global configuration - which is
 unknown to us. Unless you have a very good reason - please remove that too.

 Both conditions were left from another configuration which was global
 indeed.


Hmm no, point was that RewriteOptions Inherit _adds_ complexity to our
issue, where it adds (maybe) other options we might not be interested at. So
unless there's a very good reason (and I don't think there is, in this
scenario...) - it should be removed.



 Finally, if all else fails; Why do you need RewriteRule anyways? :)

 What's wrong with:

 Redirect permanent / http://vps.net.bz/

 First, it doesn't move the parameters. if someone comes to
 blog.hetz.biz/?p=300 - it should go to vps.net.bz/?p=300


That's not what I understand from the documentation:
http://httpd.apache.org/docs/current/mod/mod_alias.html#redirect - but again
I may be missing something.


 Second, this requires a new virtualhost (for vps.net.bz) - am I right?


Which you already have at the moment, no? As there's no ServerAlias in that
VirtualHost you pasted, I understood vps.net.bz is on a different vhost.

Not that I understand what's wrong with a one-line VHost for the old
hostname. From some reason I take this type of configuration cleaner and
easier to debug later (and could also very be more efficient
performance-wise. or not. :))

Anyways that was suggestion if all else has failed. My experience is that
it's easier to solve the issue by braking it up to as many probable parts as
possible. Leaving just the RewriteRule/Redirect will tell us if the problem
was with the RewriteCond / Inherit. If it works, you can add more layers
later...

-- Shimi
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: rewriterule help?

2011-04-22 Thread Hetz Ben Hamo

 First, it doesn't move the parameters. if someone comes to
 blog.hetz.biz/?p=300 - it should go to vps.net.bz/?p=300


 That's not what I understand from the documentation:
 http://httpd.apache.org/docs/current/mod/mod_alias.html#redirect - but
 again I may be missing something.



I missed that. Thanks.


 Second, this requires a new virtualhost (for vps.net.bz) - am I right?


 Which you already have at the moment, no? As there's no ServerAlias in that
 VirtualHost you pasted, I understood vps.net.bz is on a different vhost.


With ServerAlias, it goes to a loop. I didn't invest much time there, I
simply created another vhost.


 Not that I understand what's wrong with a one-line VHost for the old
 hostname. From some reason I take this type of configuration cleaner and
 easier to debug later (and could also very be more efficient
 performance-wise. or not. :))


vhost one line? 2 lines for VirtualHost and /VirtualHost, 1 line for
ServerName, 1 line for DocumentRoot, so you'll need 4 at the minimum :)

Anyway, thanks for the heads-up regarding the redirect. Seems to be working
now.

Thanks,
Hetz
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: rewriterule help?

2011-04-22 Thread shimi
On Fri, Apr 22, 2011 at 1:25 PM, Hetz Ben Hamo het...@gmail.com wrote:



 Not that I understand what's wrong with a one-line VHost for the old
 hostname. From some reason I take this type of configuration cleaner and
 easier to debug later (and could also very be more efficient
 performance-wise. or not. :))


 vhost one line? 2 lines for VirtualHost and /VirtualHost, 1 line for
 ServerName, 1 line for DocumentRoot, so you'll need 4 at the minimum :)


One line = one line of configuration on what to do with this vhost, not
the elementary parts ;)

Oh and... technically... had you chosen to provide with a different IP for
every vhost, it could be 3 in total.

Why you need a DocumentRoot in a vhost serving no content, is a good
question.


 Anyway, thanks for the heads-up regarding the redirect. Seems to be working
 now.


You're welcome :)

Thanks,
 Hetz


-- Shimi
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: some help in technical solution

2011-04-09 Thread Udi Finkelstein
Here is another very cheap solution:

http://www.pjrc.com/teensy/

The small board has 25 digital I/Os and 7 analog for $16, and the larger one
has 46 digital I/Os and 12 analog.
If your competitors are close enough you can use one board for multiple
inputs. Since you need to hook key presses which is measures by tens of
milli-seconds in the best case, I believe long wires would pose no problems
(propagation delay and bandwidth are not a problem).

They even have ready made examples of emulating a mouse, a keyboard, a
generic HID device, etc.

Shipping costs would be $10-$16 on airmail, depending on package weight ($16
is for 2 pounds, about 0.9Kg, enough for at least 3 boards).

An example using it:

http://blog.makezine.com/archive/2011/04/the-awesome-button.html

Udi

On Wed, Apr 6, 2011 at 5:08 PM, Udi Finkelstein linux...@udif.com wrote:

 I think any analog DAQ based solution  will be expensive. Use too many
 analog levels, and it will not be accurate. Use a small number of levels,
 and the price per port for analog connection will drive the price too high.

 You can try using computer mice.
 cheap 2 button+scroll wheel starts at 17NIS on zap.
 Such a mouse can provide at least 5 events:

 right button
 left button
 middle button (scroll wheel press)
 scroll up
 scroll down

 You can then take apart the mouse and repackage it, maybe replacing the
 wheel with 3 distinct switches.

 Ofcourse you might need powered hubs if you intend to drive 30 mice.
 You could try taking eight 4 port unpowered hubs (also starts at 17 NIS on
 zap), and if you computer has 8 free USB ports (many do these days), you
 could fit 30 mice, and hope that each port can drive 4 mice + hub. You will
 also have  2 spare ports (8*4-30)for the console keyboard/mouse.

 Another direction would be to use an arduino board.

 http://www.seeedstudio.com/depot/microcontrollers-arduino-compatible-c-132_133.html
 The cheapest $19 board has 14 digital inputs plus 6 analog ones which you
 can treat as digital if you like.
 20 input pins can serve 5 users (4 input pins/user) or 6 users (3 input
 pins per user if you wire them smartly - 1 qualifier signal that is grounded
 by all 4 switches, and 2 more that  are getting a 2-bit binary code.

 seeedstudio has free worldwide shipping for orders above $50.

 Udi


 2011/4/6 yosi yarchi yosi.yar...@gmail.com

  Hi

 This is interesting idea. However, it support voting between 2 options,
 only, while I need at least 4 options.
 I thought that combination of analog DAQ and 4 push buttons with analog
 output may help here.
 Does someone have an idea about such combination (analog DAQ+edge unit)?

 With best regards
 Yosi Yarchi





 On 04/06/2011 10:55 AM, Jason Friedman wrote:

 I think the best solution would be to use a data acquisition device,
 either USB or PCI.

  Measurement computing sell relatively cheap devices, e.g. this USB one
 for $99:
 http://www.mccdaq.com/usb-data-acquisition/USB-1024-Series.aspx

  can measure 24 digital channels (you could get two if you need 30).

  Each competitor could have a small switch, which connects their input
 line to say a 5V power supply.

  You can then write a very simple program to detect when each competitor
 presses their switch
 (with sub-millisecond accuracy!).

  These devices apparently have linux support.

  Jason

 On Wed, Apr 6, 2011 at 2:44 PM, yosi yarchi yosi.yar...@gmail.comwrote:

 Hi all


 I need application that will be able to collect and process inputs from
 30 (!) competitors, and will display the results very fast. The ideal
 solution could be to collect the inputs via SMS: each competitor send his
 answer, the application collect the answers (related to phone number) and
 process them. However, I can't assume that the competitors have mobile
 phones (they may be little childs...).


 I thought to use 30 USB numerical keyboards as input devices, connected
 with cables to 3 hubs, connected to the computer.

 However, I don't have experience with USB drivers at linux...


 Is it feasible? What should be the main guidelines for the solution?


 With best regards

 Yosi Yarchi



 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il




 --
 Jason Friedman
 Postdoctoral scholar
 Macquarie Centre for Cognitive Science
 Macquarie University, NSW 2109 Australia
 email: write.to.ja...@gmail.com
 web: http://curiousjason.com



 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il



___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: some help in technical solution

2011-04-06 Thread Oron Peled
On Wednesday, 6 בApril 2011 08:11:24 Omer Zak wrote:
 Unless I am mistaken, the USB specs stipulate that it shall be possible
 to connect up to 127 USB devices to a PC.
 
 So what you want to do should be doable.  However I don't know the
 chances of it exposing bugs in the Linux USB subsystem, as it is a rare
 use case.

From the rare use cases department...
  We connected some 20 usb devices to a single PC. Each of these
  devices sends+receive a minimum of 1K usb packets per second
   (it's voice + some control messages)

The Linux USB stack is a joy to work with and is rock solid (there
were some bugs circa 2.6.8 which we never observed since 2.6.12)

my 2c.

-- 
Oron Peled Voice: +972-4-8228492
o...@actcom.co.il  http://users.actcom.co.il/~oron
Windows is NOT a virus: a virus is small and efficient.
 --Jonathan Leffler, Informix

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: some help in technical solution

2011-04-06 Thread Jason Friedman
I think the best solution would be to use a data acquisition device, either
USB or PCI.

Measurement computing sell relatively cheap devices, e.g. this USB one for
$99:
http://www.mccdaq.com/usb-data-acquisition/USB-1024-Series.aspx

http://www.mccdaq.com/usb-data-acquisition/USB-1024-Series.aspxcan measure
24 digital channels (you could get two if you need 30).

Each competitor could have a small switch, which connects their input line
to say a 5V power supply.

You can then write a very simple program to detect when each competitor
presses their switch
(with sub-millisecond accuracy!).

These devices apparently have linux support.

Jason

On Wed, Apr 6, 2011 at 2:44 PM, yosi yarchi yosi.yar...@gmail.com wrote:

 Hi all


 I need application that will be able to collect and process inputs from 30
 (!) competitors, and will display the results very fast. The ideal solution
 could be to collect the inputs via SMS: each competitor send his answer, the
 application collect the answers (related to phone number) and process them.
 However, I can't assume that the competitors have mobile phones (they may be
 little childs...).


 I thought to use 30 USB numerical keyboards as input devices, connected
 with cables to 3 hubs, connected to the computer.

 However, I don't have experience with USB drivers at linux...


 Is it feasible? What should be the main guidelines for the solution?


 With best regards

 Yosi Yarchi



 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il




-- 
Jason Friedman
Postdoctoral scholar
Macquarie Centre for Cognitive Science
Macquarie University, NSW 2109 Australia
email: write.to.ja...@gmail.com
web: http://curiousjason.com
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: some help in technical solution

2011-04-06 Thread yosi yarchi




Hi

This is interesting idea. However, it support voting between 2 options,
only, while I need at least 4 options.
I thought that combination of analog DAQ and 4 push buttons with analog
output may help here.
Does someone have an idea about such combination (analog DAQ+edge unit)?

With best regards
Yosi Yarchi





On 04/06/2011 10:55 AM, Jason Friedman wrote:

  I think the best solution would be to use a data
acquisition device, either USB or PCI.
  
  
  Measurement computing sell relatively cheap devices, e.g. this
USB one for $99:
  http://www.mccdaq.com/usb-data-acquisition/USB-1024-Series.aspx
  
  
  can measure 24 digital channels (you could get two if you need
30).
  
  
  Each "competitor" could have a small switch, which connects
their input line to say a 5V power supply.
  
  
  You can then write a very simple program to detect when each
competitor presses their switch
  (with sub-millisecond accuracy!).
  
  
  These devices apparently have linux support.
  
  
  Jason
  
  On Wed, Apr 6, 2011 at 2:44 PM, yosi yarchi yosi.yar...@gmail.com
wrote:
  Hi
all


I need application that will be able to collect and process inputs from
30 (!) competitors, and will display the results very fast. The ideal
solution could be to collect the inputs via SMS: each competitor send
his answer, the application collect the answers (related to phone
number) and process them. However, I can't assume that the competitors
have mobile phones (they may be little childs...).


I thought to use 30 USB numerical keyboards as input devices, connected
with cables to 3 hubs, connected to the computer.

However, I don't have experience with USB drivers at linux...


Is it feasible? What should be the main guidelines for the solution?


With best regards

Yosi Yarchi



___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
  
  
  
  
  
-- 
Jason Friedman
Postdoctoral scholar
Macquarie Centre for Cognitive Science
Macquarie University, NSW 2109 Australia
email: write.to.ja...@gmail.com
web: http://curiousjason.com
  
  





___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: some help in technical solution

2011-04-06 Thread Omer Zak
I think that analog DAQ with 30 channels would be an overkill for such
an application.

If you need to give each competitor 4 options, why not choose between
one of the following options:
1. 120 digital channels (5 digital DAQ modules at 24 channels each) and
provide each competitor with 4 channels, each one connected to its own
pushbutton.
2. If you prefer to build 30 4-2 encoders, each getting inputs from 4
pushbuttons and providing 2 digital outputs, then you'll need only 60
digital channels (3 digital DAQ modules, with 12 digital channels to
spare).

Of course, the final choice involves price tradeoff between:
- Analog DAQ with 30 channels + 4-pushbutton with resistors module
- Digital DAQ with 120 channels + simple 4-pushbutton module
- Digital DAQ with 60 channels + 4-pushbutton with encoder module

I assume that data processing speed is not a limiting factor.

--- Omer


On Wed, 2011-04-06 at 15:54 +0300, yosi yarchi wrote:
 Hi
 
 This is interesting idea. However, it support voting between 2
 options, only, while I need at least 4 options.
 I thought that combination of analog DAQ and 4 push buttons with
 analog output may help here.
 Does someone have an idea about such combination (analog DAQ+edge
 unit)?
 
 With best regards
 Yosi Yarchi
 
 
 
 
 
 On 04/06/2011 10:55 AM, Jason Friedman wrote: 
  I think the best solution would be to use a data acquisition device,
  either USB or PCI. 
  
  
  Measurement computing sell relatively cheap devices, e.g. this USB
  one for $99:
  http://www.mccdaq.com/usb-data-acquisition/USB-1024-Series.aspx
  
  
  can measure 24 digital channels (you could get two if you need 30).
  
  
  Each competitor could have a small switch, which connects their
  input line to say a 5V power supply.
  
  
  You can then write a very simple program to detect when each
  competitor presses their switch
  (with sub-millisecond accuracy!).
  
  
  These devices apparently have linux support.
  
  
  Jason
  
  On Wed, Apr 6, 2011 at 2:44 PM, yosi yarchi yosi.yar...@gmail.com
  wrote:
  Hi all
  
  
  I need application that will be able to collect and process
  inputs from 30 (!) competitors, and will display the results
  very fast. The ideal solution could be to collect the inputs
  via SMS: each competitor send his answer, the application
  collect the answers (related to phone number) and process
  them. However, I can't assume that the competitors have
  mobile phones (they may be little childs...).
  
  
  I thought to use 30 USB numerical keyboards as input
  devices, connected with cables to 3 hubs, connected to the
  computer.
  
  However, I don't have experience with USB drivers at
  linux...
  
  
  Is it feasible? What should be the main guidelines for the
  solution?

-- 
In civilized societies, captions are as important in movies as
soundtracks, professional photography and expert editing.
My own blog is at http://www.zak.co.il/tddpirate/

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


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: some help in technical solution

2011-04-06 Thread Udi Finkelstein
I think any analog DAQ based solution  will be expensive. Use too many
analog levels, and it will not be accurate. Use a small number of levels,
and the price per port for analog connection will drive the price too high.

You can try using computer mice.
cheap 2 button+scroll wheel starts at 17NIS on zap.
Such a mouse can provide at least 5 events:

right button
left button
middle button (scroll wheel press)
scroll up
scroll down

You can then take apart the mouse and repackage it, maybe replacing the
wheel with 3 distinct switches.

Ofcourse you might need powered hubs if you intend to drive 30 mice.
You could try taking eight 4 port unpowered hubs (also starts at 17 NIS on
zap), and if you computer has 8 free USB ports (many do these days), you
could fit 30 mice, and hope that each port can drive 4 mice + hub. You will
also have  2 spare ports (8*4-30)for the console keyboard/mouse.

Another direction would be to use an arduino board.
http://www.seeedstudio.com/depot/microcontrollers-arduino-compatible-c-132_133.html
The cheapest $19 board has 14 digital inputs plus 6 analog ones which you
can treat as digital if you like.
20 input pins can serve 5 users (4 input pins/user) or 6 users (3 input pins
per user if you wire them smartly - 1 qualifier signal that is grounded by
all 4 switches, and 2 more that  are getting a 2-bit binary code.

seeedstudio has free worldwide shipping for orders above $50.

Udi

2011/4/6 yosi yarchi yosi.yar...@gmail.com

  Hi

 This is interesting idea. However, it support voting between 2 options,
 only, while I need at least 4 options.
 I thought that combination of analog DAQ and 4 push buttons with analog
 output may help here.
 Does someone have an idea about such combination (analog DAQ+edge unit)?

 With best regards
 Yosi Yarchi





 On 04/06/2011 10:55 AM, Jason Friedman wrote:

 I think the best solution would be to use a data acquisition device, either
 USB or PCI.

  Measurement computing sell relatively cheap devices, e.g. this USB one
 for $99:
 http://www.mccdaq.com/usb-data-acquisition/USB-1024-Series.aspx

  can measure 24 digital channels (you could get two if you need 30).

  Each competitor could have a small switch, which connects their input
 line to say a 5V power supply.

  You can then write a very simple program to detect when each competitor
 presses their switch
 (with sub-millisecond accuracy!).

  These devices apparently have linux support.

  Jason

 On Wed, Apr 6, 2011 at 2:44 PM, yosi yarchi yosi.yar...@gmail.com wrote:

 Hi all


 I need application that will be able to collect and process inputs from 30
 (!) competitors, and will display the results very fast. The ideal solution
 could be to collect the inputs via SMS: each competitor send his answer, the
 application collect the answers (related to phone number) and process them.
 However, I can't assume that the competitors have mobile phones (they may be
 little childs...).


 I thought to use 30 USB numerical keyboards as input devices, connected
 with cables to 3 hubs, connected to the computer.

 However, I don't have experience with USB drivers at linux...


 Is it feasible? What should be the main guidelines for the solution?


 With best regards

 Yosi Yarchi



 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il




 --
 Jason Friedman
 Postdoctoral scholar
 Macquarie Centre for Cognitive Science
 Macquarie University, NSW 2109 Australia
 email: write.to.ja...@gmail.com
 web: http://curiousjason.com



 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: some help in technical solution

2011-04-06 Thread yosi yarchi




Hi

Regarding the solution of mouse or numeric keypad (with USB hubs), I
have no clear idea about the technical obstacles. I think that main
ones are:

(1) bypass X system, and direct the events from particular sources
(those mouses or numeric keyboards) to my app.
(2) process the events by myself, with knowledge about the source
device (the particular mouse or numeric keyboard).

Have you any ideas regarding available support in linux for (1) and (2)?

With best regards
Yosi Yarchi

On 04/06/2011 05:08 PM, Udi Finkelstein wrote:

  I think any analog DAQ based solution will be
expensive. Use too many analog levels, and it will not be accurate. Use
a small number of levels, and the price per port for analog connection
will drive the price too high.
  
You can try using computer mice.
cheap 2 button+scroll wheel starts at 17NIS on zap.
Such a mouse can provide at least 5 events:
  
right button
left button
middle button (scroll wheel press)
scroll up
scroll down
  
You can then take apart the mouse and repackage it, maybe replacing the
wheel with 3 distinct switches.
  
Ofcourse you might need powered hubs if you intend to drive 30 mice.
You could try taking eight 4 port unpowered hubs (also starts at 17 NIS
on zap), and if you computer has 8 free USB ports (many do these days),
you could fit 30 mice, and hope that each port can drive 4 mice + hub.
You will also have 2 spare ports (8*4-30)for the console
keyboard/mouse.
  
Another direction would be to use an arduino board.
  http://www.seeedstudio.com/depot/microcontrollers-arduino-compatible-c-132_133.html
The cheapest $19 board has 14 digital inputs plus 6 analog ones which
you can treat as digital if you like.
20 input pins can serve 5 users (4 input pins/user) or 6 users (3 input
pins per user if you wire them smartly - 1 qualifier signal that is
grounded by all 4 switches, and 2 more that are getting a 2-bit binary
code.
  
seeedstudio has free worldwide shipping for orders above $50.
  
Udi
  
  2011/4/6 yosi yarchi yosi.yar...@gmail.com
  

Hi

This is interesting idea. However, it support voting between 2 options,
only, while I need at least 4 options.
I thought that combination of analog DAQ and 4 push buttons with analog
output may help here.
Does someone have an idea about such combination (analog DAQ+edge unit)?

With best regards
Yosi Yarchi





On 04/06/2011 10:55 AM, Jason Friedman wrote:

  I think the best solution would be to use a data
acquisition device, either USB or PCI.
  
  
  Measurement computing sell relatively cheap devices, e.g.
this
USB one for $99:
  http://www.mccdaq.com/usb-data-acquisition/USB-1024-Series.aspx
  
  
  can measure 24 digital channels (you could get two if you
need
30).
  
  
  Each "competitor" could have a small switch, which connects
their input line to say a 5V power supply.
  
  
  You can then write a very simple program to detect when each
competitor presses their switch
  (with sub-millisecond accuracy!).
  
  
  These devices apparently have linux support.
  
  
  Jason
  
  On Wed, Apr 6, 2011 at 2:44 PM, yosi
yarchi yosi.yar...@gmail.com
wrote:
  Hi
all


I need application that will be able to collect and process inputs from
30 (!) competitors, and will display the results very fast. The ideal
solution could be to collect the inputs via SMS: each competitor send
his answer, the application collect the answers (related to phone
number) and process them. However, I can't assume that the competitors
have mobile phones (they may be little childs...).


I thought to use 30 USB numerical keyboards as input devices, connected
with cables to 3 hubs, connected to the computer.

However, I don't have experience with USB drivers at linux...


Is it feasible? What should be the main guidelines for the solution?


With best regards

Yosi Yarchi



___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
  
  
  
  
  
-- 
Jason Friedman
Postdoctoral scholar
Macquarie Centre for Cognitive Science
Macquarie University, NSW 2109 Australia
email: write.to.ja...@gmail.com
web: http://curiousjason.com
  
  




___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

  
  
  
  





___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: some help in technical solution

2011-04-06 Thread Omer Zak
I see two possibilities:
1. Connect the mice to a PC in which the X-Server is not activated.  If
you need to display graphic results, use two networked computers.
2. Use explicit /etc/X11/xorg.conf
From reading man xorg.conf:
- Disable hotplugging.
- SendCoreEvents off for all identified mice except for one.
DISCLAIMER: I didn't actually try the above.

On Thu, 2011-04-07 at 07:04 +0300, yosi yarchi wrote:
 Hi
 
 Regarding the solution of mouse or numeric keypad (with USB hubs), I
 have no clear idea about the technical obstacles. I think that main
 ones are:
 
 (1) bypass X system, and direct the events from particular sources
 (those mouses or numeric keyboards) to my app.
 (2) process the events by myself, with knowledge about the source
 device (the particular mouse or numeric keyboard).
 
 Have you any ideas regarding available support in linux for (1) and
 (2)?
 
 With best regards
 Yosi Yarchi
 
 On 04/06/2011 05:08 PM, Udi Finkelstein wrote: 
  I think any analog DAQ based solution  will be expensive. Use too
  many analog levels, and it will not be accurate. Use a small number
  of levels, and the price per port for analog connection will drive
  the price too high.
  
  You can try using computer mice.
  cheap 2 button+scroll wheel starts at 17NIS on zap.
  Such a mouse can provide at least 5 events:
  
  right button
  left button
  middle button (scroll wheel press)
  scroll up
  scroll down
  
  You can then take apart the mouse and repackage it, maybe replacing
  the wheel with 3 distinct switches.
  
  Ofcourse you might need powered hubs if you intend to drive 30 mice.
  You could try taking eight 4 port unpowered hubs (also starts at 17
  NIS on zap), and if you computer has 8 free USB ports (many do these
  days), you could fit 30 mice, and hope that each port can drive 4
  mice + hub. You will also have  2 spare ports (8*4-30)for the
  console keyboard/mouse.
  
  Another direction would be to use an arduino board.
  http://www.seeedstudio.com/depot/microcontrollers-arduino-compatible-c-132_133.html
  The cheapest $19 board has 14 digital inputs plus 6 analog ones
  which you can treat as digital if you like.
  20 input pins can serve 5 users (4 input pins/user) or 6 users (3
  input pins per user if you wire them smartly - 1 qualifier signal
  that is grounded by all 4 switches, and 2 more that  are getting a
  2-bit binary code.
  
  seeedstudio has free worldwide shipping for orders above $50.
  
  Udi
  
  2011/4/6 yosi yarchi yosi.yar...@gmail.com
  Hi
  
  This is interesting idea. However, it support voting between
  2 options, only, while I need at least 4 options.
  I thought that combination of analog DAQ and 4 push buttons
  with analog output may help here.
  Does someone have an idea about such combination (analog DAQ
  +edge unit)?
  
  With best regards
  Yosi Yarchi
  
  
  
  
  
  On 04/06/2011 10:55 AM, Jason Friedman wrote: 
   I think the best solution would be to use a data
   acquisition device, either USB or PCI. 
   
   
   Measurement computing sell relatively cheap devices, e.g.
   this USB one for $99:
   http://www.mccdaq.com/usb-data-acquisition/USB-1024-Series.aspx
   
   
   can measure 24 digital channels (you could get two if you
   need 30).
   
   
   Each competitor could have a small switch, which
   connects their input line to say a 5V power supply.
   
   
   You can then write a very simple program to detect when
   each competitor presses their switch
   (with sub-millisecond accuracy!).
   
   
   These devices apparently have linux support.
   
   
   Jason
   
   On Wed, Apr 6, 2011 at 2:44 PM, yosi yarchi
   yosi.yar...@gmail.com wrote:
   Hi all
   
   
   I need application that will be able to collect
   and process inputs from 30 (!) competitors, and
   will display the results very fast. The ideal
   solution could be to collect the inputs via SMS:
   each competitor send his answer, the application
   collect the answers (related to phone number) and
   process them. However, I can't assume that the
   competitors have mobile phones (they may be little
   childs...).
   
   
   I thought to use 30 USB numerical keyboards as
   input devices, connected with cables to 3 hubs,
   connected to the computer.
   
   However, I don't have experience with USB drivers

some help in technical solution

2011-04-05 Thread yosi yarchi

Hi all


I need application that will be able to collect and process inputs from 
30 (!) competitors, and will display the results very fast. The ideal 
solution could be to collect the inputs via SMS: each competitor send 
his answer, the application collect the answers (related to phone 
number) and process them. However, I can't assume that the competitors 
have mobile phones (they may be little childs...).



I thought to use 30 USB numerical keyboards as input devices, connected 
with cables to 3 hubs, connected to the computer.


However, I don't have experience with USB drivers at linux...


Is it feasible? What should be the main guidelines for the solution?


With best regards

Yosi Yarchi



___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: some help in technical solution

2011-04-05 Thread Omer Zak
Unless I am mistaken, the USB specs stipulate that it shall be possible
to connect up to 127 USB devices to a PC.

So what you want to do should be doable.  However I don't know the
chances of it exposing bugs in the Linux USB subsystem, as it is a rare
use case.

However, if you are providing hardware to the competitors anyway, why
not issue them a WiFi enabled device, and then have your server collect
information via TCP/IP (such as by having them surf to a Website which
does the answer collection).

--- Omer


On Wed, 2011-04-06 at 07:44 +0300, yosi yarchi wrote:
 Hi all
 
 
 I need application that will be able to collect and process inputs from 
 30 (!) competitors, and will display the results very fast. The ideal 
 solution could be to collect the inputs via SMS: each competitor send 
 his answer, the application collect the answers (related to phone 
 number) and process them. However, I can't assume that the competitors 
 have mobile phones (they may be little childs...).
 
 
 I thought to use 30 USB numerical keyboards as input devices, connected 
 with cables to 3 hubs, connected to the computer.
 
 However, I don't have experience with USB drivers at linux...
 
 
 Is it feasible? What should be the main guidelines for the solution?
-- 
Did you shave a yak today?
My own blog is at http://www.zak.co.il/tddpirate/

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


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Need help to setup service for live video camera

2011-03-14 Thread Boris shtrasman
On Sun, Mar 13, 2011 at 11:47, David Harel harel...@gmail.com wrote:

 Greetings,

 I am looking for a recommendation on how to provide live video streaming
 from one or more video cameras to several viewers on the web.



if you don't need the audio stream :
motion and zoneMinder are a good start (simple and foss).

The cameras IP address should be kept secretive.


hiding an ip will not help , you need to use some sort of vpn  if there is
anything important ,


The service should support one or more video cameras.
 The end user should be able to select the desired camera (maybe using
 different URLs).
 The end user should be authenticated.

 The end user interface should be similar to Israel National Road Company

 http://www.iroads.co.il/MazInternet/General/Pages/frmInnerPage.aspx?strLocation=http%3A%2F%2Fwww.iroads.co.il%2FMazInternet%2FDriversInfo%2FPages%2FfrmCamera.aspxMenuCode=SM1_3PageID=0

 Thanks.

 David Harel
 Amuka


 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Need help to setup service for live video camera

2011-03-13 Thread David Harel
Greetings,

I am looking for a recommendation on how to provide live video streaming
from one or more video cameras to several viewers on the web.

The cameras IP address should be kept secretive. 
The service should support one or more video cameras.
The end user should be able to select the desired camera (maybe using
different URLs).
The end user should be authenticated.

The end user interface should be similar to Israel National Road Company
http://www.iroads.co.il/MazInternet/General/Pages/frmInnerPage.aspx?strLocation=http%3A%2F%2Fwww.iroads.co.il%2FMazInternet%2FDriversInfo%2FPages%2FfrmCamera.aspxMenuCode=SM1_3PageID=0

Thanks.

David Harel
Amuka


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Need help to setup service for live video camera

2011-03-13 Thread shimi
On Sun, Mar 13, 2011 at 11:47 AM, David Harel harel...@gmail.com wrote:

 Greetings,

 I am looking for a recommendation on how to provide live video streaming
 from one or more video cameras to several viewers on the web.

 The cameras IP address should be kept secretive.
 The service should support one or more video cameras.
 The end user should be able to select the desired camera (maybe using
 different URLs).
 The end user should be authenticated.

 The end user interface should be similar to Israel National Road Company

 http://www.iroads.co.il/MazInternet/General/Pages/frmInnerPage.aspx?strLocation=http%3A%2F%2Fwww.iroads.co.il%2FMazInternet%2FDriversInfo%2FPages%2FfrmCamera.aspxMenuCode=SM1_3PageID=0


What about http://www.zoneminder.com ?

-- Shimi
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Kiwix project is looking for help

2011-02-24 Thread Lior Kaplan
Hi,

I'm publishing this mail on behalf of the wikimedia foundation which tries
to find people who are interested in joining the Kiwix project:

Kiwix is an open-source, cross-platform, free software offline reader for
Wikipedia and other collections of Web pages and related images.

Kiwix is always looking for new developers. We mainly need people with
skills
in C++ and with the GNU compilation tools. Kiwix is also based on Web
technologies as, for example, javascript or CSS, so a good Internet/Web
understanding is also essential.

The code base is not really complicated. Kiwix uses the best existing
software libraries in different domains as fulltext search, unicode
transformation or template rendering. We think this is pretty easy to
dive in the code.

Currently we are working on the 0.9 release and most of the work is
already done, but there is still a lot to do for the 1.0 release. This
will provide an internal content download manager. The solution
will use the best of P2P technologies, so, if you are interested in
mirroring strategy, Metalink, Bittorent, magnet, etc., contact us
at http://www.kiwix.org 

p.s.
This is not a job offer, we're looking for volunteers.
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Help with script

2011-02-24 Thread Steve G.
I am looking for someone to mentor me, help me, or work with me on the
following, non-marketable project. This is NOT a job offer, but a request
for help. If any money comes out of the project, I will gladly share it with
people who help me, but I doubt anything will.

So here is a description of what I want to accomplish:

Many years ago, I resolved to read the bible (old testament) in its
entirety, in Hebrew/Spanish. I purchased a dual language bible, La Biblia,
and start the journey. The goal was to learn Spanish, and also become
acquainted with the old text, only bits and pieces of which are taught in
any school, even a religious one.

Carrying a bilingual bible is literally a heavy burden, scares away the
chicks and everyone else except fundamentalists and weirdos, which did not
help. I got stuck somewhere in the second book when too many names stumped
me. I still read a page now and then, but at this rate it will take me 543
years to finish.

Fast forward 20 years, we now have a tool perfect for reading one line at a
time - the new Kindle! So I am thinking why not create an electronic version
of the same document - 2 bilingual
bibles, Hebrew-Spanish and Spanish-Hebrew, verse by verse. Maybe even with
punctuation marks, though that is not a necessity.

I can find copyright free web pages. In Spanish I can get the whole bible as
a single file. In Hebrew most sites are arranged book by book, but that is
fairly easy to combine into a single file manually. I would like to write a
script, preferably in python, that would read the files, parse them into a
series of sentences, and recombine them as a bilingual file, one verse
following the other. Hebrew/Spanish and Spanish/Hebrew.

I am not a programmer, but I can probably create a script with guidance.
Working with a knowledgeable individual would eliminate enough of the
learning curve for me to make it a reality. If I were to do it from scratch,
it will be so low on my priorities list that it would take years to get to
it. If we get this done, I would post it somewhere as a freely available
document, of course.

As for the commercial part - if we get this text processed, I will
considering offering it as a Kindle book on Amazon, and also maybe
converting it to PDF. As far as I know there is nothing like that on the
market, though someone is selling dual language bibles in English and a
number of other languages on Amazon.

Anyone interested in helping with the project, please let me know.

Z.
-- 
Check out my web site - www.words2u.net
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Help with script

2011-02-24 Thread Mordecha Behar
I am not a script wizard, but I think I may know of a way to cut down a lot
of the work.
Calibre (http://calibre-ebook.com/) is a FOSS library tool. It allows the
user to import books in many formats, including plain text and html.
Another FOSS program called Sigil (http://code.google.com/p/sigil/) allows
the user to easily create, edit and modify epub formatted ebooks (creating a
title page, changing text format in a GUI editor, making a table of
contents...).
What I would do would be to save the html (or plain text) files from the
internet in a single folder, then import that to Calibre, then use Calibre's
tool to convert to an epub book, and use Sigil to add the finishing touches.
Between the two, and with freely available text from the internet, I think
you can get the job done a lot easier, without writing a single script.
Good luck!

2011/2/24 Steve G. word...@gmail.com

 I am looking for someone to mentor me, help me, or work with me on the
 following, non-marketable project. This is NOT a job offer, but a request
 for help. If any money comes out of the project, I will gladly share it with
 people who help me, but I doubt anything will.

 So here is a description of what I want to accomplish:

 Many years ago, I resolved to read the bible (old testament) in its
 entirety, in Hebrew/Spanish. I purchased a dual language bible, La Biblia,
 and start the journey. The goal was to learn Spanish, and also become
 acquainted with the old text, only bits and pieces of which are taught in
 any school, even a religious one.

 Carrying a bilingual bible is literally a heavy burden, scares away the
 chicks and everyone else except fundamentalists and weirdos, which did not
 help. I got stuck somewhere in the second book when too many names stumped
 me. I still read a page now and then, but at this rate it will take me 543
 years to finish.

 Fast forward 20 years, we now have a tool perfect for reading one line at a
 time - the new Kindle! So I am thinking why not create an electronic version
 of the same document - 2 bilingual
 bibles, Hebrew-Spanish and Spanish-Hebrew, verse by verse. Maybe even with
 punctuation marks, though that is not a necessity.

 I can find copyright free web pages. In Spanish I can get the whole bible
 as a single file. In Hebrew most sites are arranged book by book, but that
 is fairly easy to combine into a single file manually. I would like to write
 a script, preferably in python, that would read the files, parse them into a
 series of sentences, and recombine them as a bilingual file, one verse
 following the other. Hebrew/Spanish and Spanish/Hebrew.

 I am not a programmer, but I can probably create a script with guidance.
 Working with a knowledgeable individual would eliminate enough of the
 learning curve for me to make it a reality. If I were to do it from scratch,
 it will be so low on my priorities list that it would take years to get to
 it. If we get this done, I would post it somewhere as a freely available
 document, of course.

 As for the commercial part - if we get this text processed, I will
 considering offering it as a Kindle book on Amazon, and also maybe
 converting it to PDF. As far as I know there is nothing like that on the
 market, though someone is selling dual language bibles in English and a
 number of other languages on Amazon.

 Anyone interested in helping with the project, please let me know.

 Z.
 --
 Check out my web site - www.words2u.net

 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Samba print server ** Urgent help needed **

2011-02-23 Thread Israel Shikler
Hi List,
 
Our goal is to use SAMBA on Redhat Linux as a print server.
 
The server should allow users to browse the printers list, and to download
printer drivers.
Users should be authenticated  against Active Directory Services . 
 
How do we set this configuration?
 
 


  Israel Shikler

  

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Samba print server ** Urgent help needed **

2011-02-23 Thread geoffrey mendelson


On Feb 23, 2011, at 12:49 PM, Israel Shikler wrote:


Hi List,

Our goal is to use SAMBA on Redhat Linux as a print server.

The server should allow users to browse the printers list, and to  
download printer drivers.

Users should be authenticated  against Active Directory Services .

How do we set this configuration?




I can't help you on that, and I seem to have lost the link to a page  
explaining how, but if you have any Apple devices (Macintosh, iPad,  
iPod or iPhones) on your network, be sure to set up your avahi-daemon  
to advertise the printers.


Geoff.
--
Geoffrey S. Mendelson,  N3OWJ/4X1GM
Those who cannot remember the past are condemned to misquote it.









___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


RE: Samba print server ** Urgent help needed ** 2nd try

2011-02-23 Thread Israel Shikler


  Israel Shikler






-Original Message-
From: geoffrey mendelson [mailto:geoffreymendel...@gmail.com]
Sent: Wednesday, February 23, 2011 1:18 PM
To: Israel Shikler
Cc: linux-il@cs.huji.ac.il
Subject: Re: Samba print server ** Urgent help needed **



On Feb 23, 2011, at 12:49 PM, Israel Shikler wrote:

 Hi List,

 Our goal is to use SAMBA on Redhat Linux as a print server.

 The server should allow users to browse the printers list, and to
 download printer drivers.
 Users should be authenticated  against Active Directory Services .

 How do we set this configuration?



I can't help you on that, and I seem to have lost the link to a page
explaining how, but if you have any Apple devices (Macintosh, iPad,
iPod or iPhones) on your network, be sure to set up your avahi-daemon
to advertise the printers.

Geoff.
--
Geoffrey S. Mendelson,  N3OWJ/4X1GM
Those who cannot remember the past are condemned to misquote it.









__ Information from ESET Smart Security, version of virus signature
database 4970 (20100324) __

The message was checked by ESET Smart Security.

http://www.eset.com





___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Samba print server ** Urgent help needed ** 2nd try

2011-02-23 Thread geoffrey mendelson


On Feb 23, 2011, at 5:00 PM, Israel Shikler wrote:


http://wiki.samba.org/index.php/Samba__Active_Directory

Geoff.
--
Geoffrey S. Mendelson,  N3OWJ/4X1GM
Those who cannot remember the past are condemned to misquote it.









___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Samba print server ** Urgent help needed ** 2nd try

2011-02-23 Thread Boris shtrasman
Hi ,


On Wed, Feb 23, 2011 at 17:00, Israel Shikler soft...@netvision.net.ilwrote:


  Hi List,
 
  Our goal is to use SAMBA on Redhat Linux as a print server.
 
  The server should allow users to browse the printers list, and to
  download printer drivers.
  Users should be authenticated  against Active Directory Services .
 
  How do we set this configuration?
 


What do you mean that you wish to use samba as a print server ?
How the printers are connected to the print server and what is the need ?

1) if each client need to be a single admin for a signle printer this is one
thing  -
2) if each client need to be able to add /remove a printing job to some
queue (on one or more printers)
3) some policy enabled printing (billing, max amount of pages / size / print
jobs / account etc ...)

Perhaps you need to take a look on CUPS setting and sharing a CUPS printer
using SAMBA (is it the real request ?)
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/CUPS-printing.html

Who are the clients ? Windows /  Gnu machines ?

P.s
The authers of the cups hebrew translation and Lexmark hebrew modification
should be on this list.
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Inline assembly doesn't like constant 64bit values... Help?

2011-02-07 Thread Gilboa Davara
On Fri, 2011-02-04 at 09:43 +0200, Udi Finkelstein wrote:
 I'm not an x86-64 expert, but it implies from intel docs that 64 bit
 immediate values are supported only for the MOV instruction:

 Udi

You're correct.
I re-check both Intel and AMD documents and neither one support imm64 in
any operations besides mov and push (AMD only, so it seems).
I wonder how I missed that one

Thanks for the help.

- Gilboa

 
 On Fri, Feb 4, 2011 at 9:02 AM, Gilboa Davara gilb...@gmail.com
 wrote:
 Hello all,
 
 I'm trying to pass the following command inside GCC inline
 assembly
 block (which targets x86_64 kernel and usermode).
 
 asm volatile
 {
...
andq $0x, %%r11 ;
...
 }
 
 And getting the following error:
 'Error: operand type mismatch for `and''
 
 The 32bit version of this code (which uses $0x
 constant value)
 works just fine.
 Shaving ~4 digits off the constant value, seems to working as
 well.
 
 So, any idea how I can force-feed 64bit hex values into 64bit
 inline
 assembly?
 
 - Gilboa
 
 
 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
 
 




___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Inline assembly doesn't like constant 64bit values... Help?

2011-02-03 Thread Gilboa Davara
Hello all,

I'm trying to pass the following command inside GCC inline assembly
block (which targets x86_64 kernel and usermode).

asm volatile
{
...
andq $0x, %%r11 ;
...
}

And getting the following error:
'Error: operand type mismatch for `and''

The 32bit version of this code (which uses $0x constant value)
works just fine.
Shaving ~4 digits off the constant value, seems to working as well. 

So, any idea how I can force-feed 64bit hex values into 64bit inline
assembly?

- Gilboa


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Inline assembly doesn't like constant 64bit values... Help?

2011-02-03 Thread Udi Finkelstein
I'm not an x86-64 expert, but it implies from intel docs that 64 bit
immediate values are supported only for the MOV instruction:

http://www.intel.com/assets/pdf/manual/253666.pdf
---
2.2.1.5 Immediates
In 64-bit mode, the typical size of immediate operands remains 32 bits. When
the
operand size is 64 bits, the processor sign-extends all immediates to 64
bits prior to
their use.
Support for 64-bit immediate operands is accomplished by expanding the
semantics
of the existing move (MOV reg, imm16/32) instructions. These instructions
(opcodes
B8H – BFH) move 16-bits or 32-bits of immediate data (depending on the
effective
operand size) into a GPR. When the effective operand size is 64 bits, these
instructions
can be used to load an immediate into a GPR. A REX prefix is needed to
override
the 32-bit default operand size to a 64-bit operand size.
For example:
48 B8 8877665544332211 MOV RAX,1122334455667788H
---
Udi

On Fri, Feb 4, 2011 at 9:02 AM, Gilboa Davara gilb...@gmail.com wrote:

 Hello all,

 I'm trying to pass the following command inside GCC inline assembly
 block (which targets x86_64 kernel and usermode).

 asm volatile
 {
...
andq $0x, %%r11 ;
...
 }

 And getting the following error:
 'Error: operand type mismatch for `and''

 The 32bit version of this code (which uses $0x constant value)
 works just fine.
 Shaving ~4 digits off the constant value, seems to working as well.

 So, any idea how I can force-feed 64bit hex values into 64bit inline
 assembly?

 - Gilboa


 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Help me understand connection to internet: Infrastructure and ISP

2011-01-30 Thread Kfir Lavi
On Sat, Jan 29, 2011 at 1:33 PM, Dotan Cohen dotanco...@gmail.com wrote:

 Several times I have been caught in the situation in which the
 Infrastructure (Hot in this particular case) and the ISP (012 in this
 particular case) blame each other for the customer not having internet
 access. I need to understand this.

 After two weeks of my mother-in-law not having internet access, during
 which 012 blamed Hot and Hot blamed 012, I get there to take care of
 the issue. At Hot they tell me that since the modem lights are fine (4
 lit, one flashing) the problem must be with 012. At 012 they tell me
 that because she connects without a Dialer (as all Linux customers do)
 they cannot trace the problem any further than a superficial check
 which checks out OK. 012 sees the modem, so they say the problem
 must be with Hot.

 Apparently, the ability to trace problems is the reason that Windows
 users must use a Dialer. Furthermore, at 012 they inform me that it is
 Hot, not 012, that is providing the internet outside because there is
 no dialer. They say that they gave Hot permission to connect me
 directly to the internet this way. So if Hot can provide connections
 out, then why do we need ISPs at all? I notice that no other nation in
 Europe has this Infrastructure/ISP dichotomy.

 Furthermore, the next time that there is a problem how can I check if
 the issue is with the infrastructure or with the ISP?

 Thanks!

 --
 Dotan Cohen

 http://gibberish.co.il
 http://what-is-what.com

 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Hi,
I had the same problem.
I found out that when HOT do a reset of the connection everything works
again.
Reset - Move to dialer, then move back to dhcp.
You will need to ask it more then once because they don't want to do it.
(they want you to open network connections...)

Another problem is a reset of the dhcp I get every few seconds. I get the IP
then
I loose the IP.
I found out that using the --nolink to the dhcpcd client, will not reset the
dhcp every few seconds.

Now for me, everything works, for now.
Until next time that I need to call them and shout very very loud until they
listen.
F... them. I really really hate them (HOT).

Regards,
Kfir
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Help me understand connection to internet: Infrastructure and ISP

2011-01-29 Thread Dotan Cohen
Several times I have been caught in the situation in which the
Infrastructure (Hot in this particular case) and the ISP (012 in this
particular case) blame each other for the customer not having internet
access. I need to understand this.

After two weeks of my mother-in-law not having internet access, during
which 012 blamed Hot and Hot blamed 012, I get there to take care of
the issue. At Hot they tell me that since the modem lights are fine (4
lit, one flashing) the problem must be with 012. At 012 they tell me
that because she connects without a Dialer (as all Linux customers do)
they cannot trace the problem any further than a superficial check
which checks out OK. 012 sees the modem, so they say the problem
must be with Hot.

Apparently, the ability to trace problems is the reason that Windows
users must use a Dialer. Furthermore, at 012 they inform me that it is
Hot, not 012, that is providing the internet outside because there is
no dialer. They say that they gave Hot permission to connect me
directly to the internet this way. So if Hot can provide connections
out, then why do we need ISPs at all? I notice that no other nation in
Europe has this Infrastructure/ISP dichotomy.

Furthermore, the next time that there is a problem how can I check if
the issue is with the infrastructure or with the ISP?

Thanks!

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Help me understand connection to internet: Infrastructure and ISP

2011-01-29 Thread Uri Even-Chen
On Sat, Jan 29, 2011 at 13:33, Dotan Cohen dotanco...@gmail.com wrote:
 Several times I have been caught in the situation in which the
 Infrastructure (Hot in this particular case) and the ISP (012 in this
 particular case) blame each other for the customer not having internet
 access. I need to understand this.

 After two weeks of my mother-in-law not having internet access, during
 which 012 blamed Hot and Hot blamed 012, I get there to take care of
 the issue. At Hot they tell me that since the modem lights are fine (4
 lit, one flashing) the problem must be with 012. At 012 they tell me
 that because she connects without a Dialer (as all Linux customers do)
 they cannot trace the problem any further than a superficial check
 which checks out OK. 012 sees the modem, so they say the problem
 must be with Hot.

 Apparently, the ability to trace problems is the reason that Windows
 users must use a Dialer. Furthermore, at 012 they inform me that it is
 Hot, not 012, that is providing the internet outside because there is
 no dialer. They say that they gave Hot permission to connect me
 directly to the internet this way. So if Hot can provide connections
 out, then why do we need ISPs at all? I notice that no other nation in
 Europe has this Infrastructure/ISP dichotomy.

 Furthermore, the next time that there is a problem how can I check if
 the issue is with the infrastructure or with the ISP?

1. I used both Bezeq and Hot and I prefer Bezeq. Hot's service is
really terrible. I'm currently connected with Bezeq and Bezeq
International, and I use Gmail + Google Apps as my email provider (not
Bezeq International).

2. The law in Israel forbids Bezeq and Hot from connecting people to
the Internet without using ISP, since they are both monopolies. You
need to have two companies - either Bezeq or Hot + an ISP. But you can
make a deal with an ISP to pay for Bezeq or Hot - that's what I am
doing with Bezeq International.

3. I'm using Windows with a dialer to connect to the Internet. If you
use a router you can configure the router to dial up for you. I really
don't know how you can connect without a dialer.

4. When you use a dialer, if you can't connect you get an error
message. Tech support people can understand this error message to see
where is the problem. You also have lights in your modem, they are
also used to track problems. You can contact either your ISP tech
support or your infrastructure - I usually call ISP first.

5. I know Bezeq had once options to connect with an ISP without
opening an account - you pay per minute but it's very expensive and I
don't recommend doing it. Even then when I had technical problems and
called Bezeq, they told me to call the tech support of my ISP.

6. Maybe Hevrat Hashmal will start competing with Bezeq and Hot, then
we will have 3 companies which means more competition - prices will go
down and speed  service will improve.

7. An ideal state will be that a company will not need permission from
the government (ministry of communications) to connect people to the
Internet (or to phone  fax). Then we can have hundreds of companies
with competition - prices will go down and speed  service will
improve a lot. But if you live far away from the center you will have
less options. Still I think this is the best solution. Anyone wants to
change the law?...

8. Next time don't wait two weeks. Switch to Bezeq.

9. By the way, by giving Hot permission to connect you to the
Internet, I think you must have an account with an ISP, pay the ISP
and you are using the ISP - but directly without a dialer. If you
check your IP address you will probably see that you are connected via
ISP (012.net).

Good luck!

Uri Even-Chen
Mobile Phone: +972-50-9007559
E-mail: u...@speedy.net
Website: http://www.speedy.net/

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Help me understand connection to internet: Infrastructure and ISP

2011-01-29 Thread Dotan Shavit
On Saturday, January 29, 2011 13:33:46 Dotan Cohen wrote:
 Furthermore, the next time that there is a problem how can I check if
 the issue is with the infrastructure or with the ISP?
traceroute

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Help me understand connection to internet: Infrastructure and ISP

2011-01-29 Thread shimi
On Sat, Jan 29, 2011 at 1:33 PM, Dotan Cohen dotanco...@gmail.com wrote:

 Several times I have been caught in the situation in which the
 Infrastructure (Hot in this particular case) and the ISP (012 in this
 particular case) blame each other for the customer not having internet
 access. I need to understand this.

 After two weeks of my mother-in-law not having internet access, during
 which 012 blamed Hot and Hot blamed 012, I get there to take care of
 the issue. At Hot they tell me that since the modem lights are fine (4
 lit, one flashing) the problem must be with 012. At 012 they tell me
 that because she connects without a Dialer (as all Linux customers do)
 they cannot trace the problem any further than a superficial check
 which checks out OK. 012 sees the modem, so they say the problem
 must be with Hot.

 Apparently, the ability to trace problems is the reason that Windows
 users must use a Dialer. Furthermore, at 012 they inform me that it is
 Hot, not 012, that is providing the internet outside because there is
 no dialer. They say that they gave Hot permission to connect me
 directly to the internet this way. So if Hot can provide connections
 out, then why do we need ISPs at all? I notice that no other nation in
 Europe has this Infrastructure/ISP dichotomy.

 Furthermore, the next time that there is a problem how can I check if
 the issue is with the infrastructure or with the ISP?


If you don't have Internet access at all, and OTHER 012 dialer-less users
do, then I would say the problem lies within Hot. As you were correctly
told, in dialer-less (also dubbed MPLS-mode), Hot simply assigns you an IP
address from an 012's IP range that gets exported to them, and they are the
one actually connecting you to the Internet.

If you have Internet, but it's slow, etc, then this can be a problem in
either one of them (usually something between you and the CMTS...) - or
congestion / routing issue within the ISP.

So it really depends on what do you mean when you say not having Internet
access. Surely, if she didn't have access _at all_, that didn't happen to
all 012 MPLS users (or the media would be all over this and you would know).

The modem having the lights on is meaningless. Hot can say whatever they
want. Recently I had some serious trouble with them, due to frequencies
filter that they've placed on my cable, to stop me from receiving their
analog broadcasts, after I disconnected from their TV service (in favor of
Hot, which is why it is so ridiculous that they did...). During those
troubles, their modem completely lost the ability to catch signal from the
network, and the lights were still all on, as if all is good. A power cycle
of the modem revealed that it cannot get back to that state :)

Anyways... 012 really can't do anything if it's not a global problem that
they have. They indeed have 0 control over a single user in that mode of
connection. Either all the users in your network pool has a problem, or none
of them has, as far as 012 is concerned. This assertion is of course correct
to all connections at MPLS-mode, not only via 012.

HTH,

-- Shimi
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Help me understand connection to internet: Infrastructure and ISP

2011-01-29 Thread Oleg Goldshmidt

NB: order of quotes from the OP reshuffled

Dotan Cohen dotanco...@gmail.com writes:

 ... because she connects without a Dialer (as all Linux customers
 do) 

I don't think that's true, although I am on direct DHCP myself.

 they cannot trace the problem any further than a superficial check
 which checks out OK.

FWIW, I have never used a dialer with a broadband connection, and I
have never heard a support person saying anything along the lines of
since you do not use a dialer we cannot help you.

 012 sees the modem, so they say the problem must be with Hot.

They have a point, see below.

 Furthermore, at 012 they inform me that it is Hot, not 012, that is
 providing the internet outside because there is no dialer. They say
 that they gave Hot permission to connect me directly to the
 internet this way. So if Hot can provide connections out, then why
 do we need ISPs at all?

AFAIK, your ISP is responsible for giving you the logical access,
i.e., providing you with an IP address from their pool, username,
password, mailbox, etc. The infrastructure provider (Hot in your case
and mine) are responsible for actually running the DHCP service that
provides you with the right address and routing you to the outside
world. They do this if they have the appropriate information from the
ISP (you are a customer with such and such contract, you use direct
DHCP, you have paid, etc., etc.). The reasons for the division of
labour are probably legal and can hardly be relevant..

 Furthermore, the next time that there is a problem how can I check
 if the issue is with the infrastructure or with the ISP?

I always call Hot first since they are the ones who run the basic
services. I think just once in recent years they bounced me to Barak -
I forgot the exact reason but it sounded plausible, and the Barak's
techie chuckled and said, Huh, they are right for once, would you
believe it?...

 After two weeks of my mother-in-law not having internet access,

What exactly does this mean? Does she get an IP address? Does she get
an IP address from the ISP's range? Is she routed to the outside
world?

In my experience, being specific about the problem helps a lot.  Next
time you call Hot take care to gather the information and present them
with as detailed and focused description of the problem as you
can. E.g., I powercycled my modem, it is synchronized, but DHCP gives
me X.X.X.X rather than Y.Y.Y.Y that I expect. I traceroute
www.google.com and it stops inside your network. It looks like you
guys don't assign me my ISP's address and don't route me to the world
- could you have a look why?. Once you have formulated the problem in
such terms - and assuming you appear knowledgeable and polite and
good-humoured - it is difficult for them to just wave you off. In my
experience, they are not so bad. I am usually more frustrated with
losing the service in the first place and waiting on the line and
waddling through the menus than with the support personnel themselves.

-- 
Oleg Goldshmidt | p...@goldshmidt.org

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Help me understand connection to internet: Infrastructure and ISP

2011-01-29 Thread shimi
On Sat, Jan 29, 2011 at 6:28 PM, shimi linux...@shimi.net wrote:

 after I disconnected from their TV service (in favor of Hot, which is why
 it is so ridiculous that they did...). During those troubles, their modem
 completely lost the ability to catch signal from the network, and the lights
 were still all on, as if all is


Whoops, in favor of Yes, of course :-)

-- Shimi
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


RE: Help me understand connection to internet: Infrastructure and ISP

2011-01-29 Thread Ron Varburg

http://www.thecom.co.il/article.php?id=11477 has somewhat more information.


 Date: Sat, 29 Jan 2011 13:33:46 +0200
 Subject: Help me understand connection to internet: Infrastructure and ISP
 From: dotanco...@gmail.com
 To: linux-il@cs.huji.ac.il

 Several times I have been caught in the situation in which the
 Infrastructure (Hot in this particular case) and the ISP (012 in this
 particular case) blame each other for the customer not having internet
 access. I need to understand this.

 After two weeks of my mother-in-law not having internet access, during
 which 012 blamed Hot and Hot blamed 012, I get there to take care of
 the issue. At Hot they tell me that since the modem lights are fine (4
 lit, one flashing) the problem must be with 012. At 012 they tell me
 that because she connects without a Dialer (as all Linux customers do)
 they cannot trace the problem any further than a superficial check
 which checks out OK. 012 sees the modem, so they say the problem
 must be with Hot.

 Apparently, the ability to trace problems is the reason that Windows
 users must use a Dialer. Furthermore, at 012 they inform me that it is
 Hot, not 012, that is providing the internet outside because there is
 no dialer. They say that they gave Hot permission to connect me
 directly to the internet this way. So if Hot can provide connections
 out, then why do we need ISPs at all? I notice that no other nation in
 Europe has this Infrastructure/ISP dichotomy.

 Furthermore, the next time that there is a problem how can I check if
 the issue is with the infrastructure or with the ISP?

 Thanks!

 --
 Dotan Cohen

 http://gibberish.co.il
 http://what-is-what.com

 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
  
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Help me understand connection to internet: Infrastructure and ISP

2011-01-29 Thread Etzion Bar-Noy
I have been pursuing an Internet problem for the last two weeks until its
apparent solution last week. It was classical - Packet Loss. Hot blamed
Bezeq Int. and did nothing about it, I have had to prove (using Bezeqint
support personnel) that the problem was Hot's. It was very tiresome, and I
consider sending them a bill for my hours under the title assistance with
solving Internet connectivity problem. I don't think they will pay, but it
could be interesting to see the response it might provoke there.

I use Linux, and I use a dialer. Whoever claims you have to use MPLS (aka -
no-dialer) for Linux is an idiot who doesn't understand the infrastructure.
I use L2TP, as can be described here (works for modern distros as well):
http://run.tournament.org.il/cables-connection-in-israel-for-linux/
I have written it :-)

It allows for easier troubleshooting when it comes to support personnel,
given you understand the actions required. BezeqInt were OK, regarding the
waste of my time, as I had explained what I was doing, and gave the (true)
impression I know what I'm doing. Hot, on the other side, had a great
service. They had spent hours with me. It's a great service, where it can be
measured on the level of service, but they are technically inadepts, who
should be kept far away from computer equipment. I refer their technical
teams, of course - Their infrastructure teams, especially, and their tech
support teams. They are like baboons with keyboards, and most of their
actions are based on random it succeeded before so let's do it again
methods.
However, since Bezeq don't supply NGN near my home, I am stuck with Hot for
the next year, most likely.

When using MPLS, try to use traceroute, and check if you get packet loss to
your default GW. This is within Hot's domain, still. Onwards, it's Bezeq
Int. You can use their speed tests, and other international speed tests to
test the connectivity. You can check DNS, with their DNS server, or with
free DNS servers on the net, such as 8.8.8.8 (google. Will supply service).

Hope it works for you better in the future.

Ez

On Sat, Jan 29, 2011 at 1:33 PM, Dotan Cohen dotanco...@gmail.com wrote:

 Several times I have been caught in the situation in which the
 Infrastructure (Hot in this particular case) and the ISP (012 in this
 particular case) blame each other for the customer not having internet
 access. I need to understand this.

 After two weeks of my mother-in-law not having internet access, during
 which 012 blamed Hot and Hot blamed 012, I get there to take care of
 the issue. At Hot they tell me that since the modem lights are fine (4
 lit, one flashing) the problem must be with 012. At 012 they tell me
 that because she connects without a Dialer (as all Linux customers do)
 they cannot trace the problem any further than a superficial check
 which checks out OK. 012 sees the modem, so they say the problem
 must be with Hot.

 Apparently, the ability to trace problems is the reason that Windows
 users must use a Dialer. Furthermore, at 012 they inform me that it is
 Hot, not 012, that is providing the internet outside because there is
 no dialer. They say that they gave Hot permission to connect me
 directly to the internet this way. So if Hot can provide connections
 out, then why do we need ISPs at all? I notice that no other nation in
 Europe has this Infrastructure/ISP dichotomy.

 Furthermore, the next time that there is a problem how can I check if
 the issue is with the infrastructure or with the ISP?

 Thanks!

 --
 Dotan Cohen

 http://gibberish.co.il
 http://what-is-what.com

 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


OLPC needs translation help in Arabic and Hebrew, among others

2011-01-17 Thread Michael Shiloh




-- Forwarded message --
From: Chris Leonard cjlhomeaddr...@gmail.com
Date: Sun, Jan 16, 2011 at 6:08 PM
Subject: [Localization] Calling all localizers
To: OLPC Localization list localizat...@lists.laptop.org


Dear Colleagues,

Just about every language (besides Spanish) has some strings that need
work.  Please consider volunteering some time and effort to improve
the localization in your favorite language.  Recruiting new localizers
is also a very valuable contribution.

http://translate.sugarlabs.org/

Thank you for all of your efforts.

cjl

___
Localization mailing list
localizat...@lists.laptop.org
http://lists.laptop.org/listinfo/localization
___
OLPC-SF mailing list
olpc...@lists.laptop.org
http://lists.laptop.org/listinfo/olpc-sf


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: need help with OO Calc

2010-10-15 Thread ik
I think this will help you and do what you are looking for:
http://www.oooforum.org/forum/viewtopic.phtml?t=87162

Ido

LINESIP websites:
http://www.linesip.com
http://www.linesip.co.il




2010/10/14 Hetz Ben Hamo het...@gmail.com

 Hi,
 I'm trying to use OO Calc, and so far I managed to do what I want: to
 create a template for a price quote.
 One thing that I didn't manage to do is create a serial number which will
 be unique in every price quote

 Any suggestions how to do it please?

 Thanks,
 Hetz


 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: need help with OO Calc

2010-10-15 Thread Hetz Ben Hamo
Yup, helped a lot :)

2010/10/15 ik ido...@gmail.com

 I think this will help you and do what you are looking for:
 http://www.oooforum.org/forum/viewtopic.phtml?t=87162

 Ido

 LINESIP websites:
 http://www.linesip.com
 http://www.linesip.co.il




 2010/10/14 Hetz Ben Hamo het...@gmail.com

 Hi,
 I'm trying to use OO Calc, and so far I managed to do what I want: to
 create a template for a price quote.
 One thing that I didn't manage to do is create a serial number which will
 be unique in every price quote

 Any suggestions how to do it please?

 Thanks,
 Hetz


 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il




-- 

*חץ בן חמו
חץ-ביז (הוסטינג)
*השכרה ואירוח של שרתים פיזיים
השכרת שרתים וירטואליים מקצועיים וגדולים במחירים *קטנים*
בקרו באתרנו בכתובת hetz.biz http://www.hetz.biz/ ובבלוג שלנו:
blog.hetz.biz
טלפוןן: 078113/4/5, אימייל: sa...@hetz.biz
מסנג'ר: sa...@hetz.biz - סקייפ: heunique
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: need help with OO Calc

2010-10-15 Thread Lior Kaplan
I've read today about http://www.gnuaccounting.org/

maybe it will help you.

2010/10/14 Hetz Ben Hamo het...@gmail.com

 Hi,
 I'm trying to use OO Calc, and so far I managed to do what I want: to
 create a template for a price quote.
 One thing that I didn't manage to do is create a serial number which will
 be unique in every price quote

 Any suggestions how to do it please?

 Thanks,
 Hetz


 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


need help with OO Calc

2010-10-14 Thread Hetz Ben Hamo
Hi,
I'm trying to use OO Calc, and so far I managed to do what I want: to create
a template for a price quote.
One thing that I didn't manage to do is create a serial number which will be
unique in every price quote

Any suggestions how to do it please?

Thanks,
Hetz
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: need help with OO Calc

2010-10-14 Thread Lior Kaplan
2010/10/14 Hetz Ben Hamo het...@gmail.com

 Hi,
 I'm trying to use OO Calc, and so far I managed to do what I want: to
 create a template for a price quote.
 One thing that I didn't manage to do is create a serial number which will
 be unique in every price quote

 Any suggestions how to do it please?


if it's just unique - use the number of day in the year + the number of the
hour in the day (and add minutes if needed).

If it's also needs to be sequential - I don't have any idea.

Kaplan
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: need help with OO Calc

2010-10-14 Thread Hetz Ben Hamo
Care to share the forumla with me? I'm new at this :)

Hetz

2010/10/15 Lior Kaplan kaplanl...@gmail.com

 2010/10/14 Hetz Ben Hamo het...@gmail.com

 Hi,
 I'm trying to use OO Calc, and so far I managed to do what I want: to
 create a template for a price quote.
 One thing that I didn't manage to do is create a serial number which will
 be unique in every price quote

 Any suggestions how to do it please?


 if it's just unique - use the number of day in the year + the number of the
 hour in the day (and add minutes if needed).

 If it's also needs to be sequential - I don't have any idea.

 Kaplan



-- 

*חץ בן חמו
חץ-ביז (הוסטינג)
*השכרה ואירוח של שרתים פיזיים
השכרת שרתים וירטואליים מקצועיים וגדולים במחירים *קטנים*
בקרו באתרנו בכתובת hetz.biz http://www.hetz.biz/ ובבלוג שלנו:
blog.hetz.biz
טלפוןן: 078113/4/5, אימייל: sa...@hetz.biz
מסנג'ר: sa...@hetz.biz - סקייפ: heunique
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: How can I grab the filesystem from corrupted lvm (help recover data from lvm with one pv missing)

2010-10-12 Thread Etzion Bar-Noy
Bad. Depends on the amount of damage you have created, the following
procedure would work:
I believe the failure is in /dev/sda8, around 30GB, based on your fileserver
lvm backup file. Upload an older one for me to be sure.
pvcreate -u GBsXFQ-RdXS-iMhp-Phle-iqfM-5571-aJgQAa /dev/sda8

(if successful), try the following:
in /etc/lvm/backup, find a file describing a good configuration, before you
attempted to force-remove the PV. You can perform the following action then:
vgcfgrestore -f the file you have found, and hopefully uploaded here
fileserver

If successful, run:
vgchange -ay fileserver
and you should be able to mount whatever LV you did not run over with
zeros.

Good luck
Ez

On Mon, Oct 11, 2010 at 11:20 PM, Oron Peled o...@actcom.co.il wrote:

 On Monday, 11 בOctober 2010 11:50:45 Boris shtrasman wrote:
  On Mon, Oct 11, 2010 at 11:45 AM, Yedidyah Bar-David 
   Not gparted, gpart:
   http://www.brzitwa.de/mb/gpart/index.html
   Gpart is a tool which tries to guess the primary partition table of a
   PC-type hard disk in case the primary partition table in sector 0 is
   damaged, incorrect or deleted.
  
   If you fail, and still want to resurrect specific files, you can also
 try
   MagicRescue:
   http://www.itu.dk/people/jobr/magicrescue/
 
  looks promising thank you
  And i was dding file by file :-(  from the disk ..
 

 Just take notice that sequencial logical volume (partition) may be not
 sequencial on the physical volume (There's a logical extent to physical
 extent mapping).

 However, there is a good chance most/all of your partition is
 sequencial, especially if you created the volume group and the logical
 volumes when the disk was empty (e.g: during installation) without
 requiring a striped logical volume (it's not the default).

 Good luck,

 --
 Oron Peled Voice: +972-4-8228492
 o...@actcom.co.il  http://users.actcom.co.il/~oron
 ... one of the main causes of the fall of the Roman Empire was that,
 lacking zero, they had no way to indicate successful termination of their
 C programs.
-- Robert Firth

 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: How can I grab the filesystem from corrupted lvm (help recover data from lvm with one pv missing)

2010-10-12 Thread Boris shtrasman
/dev/sda8 had been wiped out totally
The other restore fails :

vgcfgrestore -f fileserver fileserver

File descriptor 13 (socket:[7450]) leaked on vgcfgrestore invocation. Parent
PID 3952: bash
  Couldn't find device with uuid fVkJmY-pdwD-bub8-URE8-lNc2-eyhr-IIxIez.
  Cannot restore Volume Group fileserver with 1 PVs marked as missing.
  Restore failed.

Today ill try to create again an image of the drive (dd all the drive ) in
order not make any more damage by restore attempts,
Yesterday I found out that the harddrive going to die (errors from the
kernel).


2010/10/12 Etzion Bar-Noy eza...@tournament.org.il

 Bad. Depends on the amount of damage you have created, the following
 procedure would work:
 I believe the failure is in /dev/sda8, around 30GB, based on your
 fileserver lvm backup file. Upload an older one for me to be sure.
 pvcreate -u GBsXFQ-RdXS-iMhp-Phle-iqfM-5571-aJgQAa /dev/sda8

 (if successful), try the following:
 in /etc/lvm/backup, find a file describing a good configuration, before you
 attempted to force-remove the PV. You can perform the following action then:
 vgcfgrestore -f the file you have found, and hopefully uploaded here
 fileserver

 If successful, run:
 vgchange -ay fileserver
 and you should be able to mount whatever LV you did not run over with
 zeros.

 Good luck
 Ez

 On Mon, Oct 11, 2010 at 11:20 PM, Oron Peled o...@actcom.co.il wrote:

 On Monday, 11 בOctober 2010 11:50:45 Boris shtrasman wrote:
  On Mon, Oct 11, 2010 at 11:45 AM, Yedidyah Bar-David 
   Not gparted, gpart:
   http://www.brzitwa.de/mb/gpart/index.html
   Gpart is a tool which tries to guess the primary partition table of a
   PC-type hard disk in case the primary partition table in sector 0 is
   damaged, incorrect or deleted.
  
   If you fail, and still want to resurrect specific files, you can also
 try
   MagicRescue:
   http://www.itu.dk/people/jobr/magicrescue/
 
  looks promising thank you
  And i was dding file by file :-(  from the disk ..
 

 Just take notice that sequencial logical volume (partition) may be not
 sequencial on the physical volume (There's a logical extent to physical
 extent mapping).

 However, there is a good chance most/all of your partition is
 sequencial, especially if you created the volume group and the logical
 volumes when the disk was empty (e.g: during installation) without
 requiring a striped logical volume (it's not the default).

 Good luck,

 --
 Oron Peled Voice: +972-4-8228492
 o...@actcom.co.il  
 http://users.actcom.co.il/~oronhttp://users.actcom.co.il/%7Eoron
 ... one of the main causes of the fall of the Roman Empire was that,
 lacking zero, they had no way to indicate successful termination of their
 C programs.
-- Robert Firth

 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il



 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il




-- 
-- 
 -- Boris Shtrasman 
|Gnu/Linux Software developer   |
| IM   : bori...@jabber.org   |
| URL  : myrtfm.blogspot.com|
 ___
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: How can I grab the filesystem from corrupted lvm (help recover data from lvm with one pv missing)

2010-10-12 Thread Etzion Bar-Noy
Did you use pvcreate -u  on the drive?
Without it, it won't work. Also - you *must* use a backup configuration file
with all the data in it.

Post one of these online, and I would be able to assist further.

Ez

2010/10/12 Boris shtrasman borissh1...@gmail.com

 /dev/sda8 had been wiped out totally
 The other restore fails :

 vgcfgrestore -f fileserver fileserver

 File descriptor 13 (socket:[7450]) leaked on vgcfgrestore invocation.
 Parent PID 3952: bash

   Couldn't find device with uuid fVkJmY-pdwD-bub8-URE8-lNc2-eyhr-IIxIez.
   Cannot restore Volume Group fileserver with 1 PVs marked as missing.
   Restore failed.

 Today ill try to create again an image of the drive (dd all the drive ) in
 order not make any more damage by restore attempts,
 Yesterday I found out that the harddrive going to die (errors from the
 kernel).


 2010/10/12 Etzion Bar-Noy eza...@tournament.org.il

 Bad. Depends on the amount of damage you have created, the following
 procedure would work:
 I believe the failure is in /dev/sda8, around 30GB, based on your
 fileserver lvm backup file. Upload an older one for me to be sure.
 pvcreate -u GBsXFQ-RdXS-iMhp-Phle-iqfM-5571-aJgQAa /dev/sda8

 (if successful), try the following:
 in /etc/lvm/backup, find a file describing a good configuration, before
 you attempted to force-remove the PV. You can perform the following action
 then:
 vgcfgrestore -f the file you have found, and hopefully uploaded here
 fileserver

 If successful, run:
 vgchange -ay fileserver
 and you should be able to mount whatever LV you did not run over with
 zeros.

 Good luck
 Ez

 On Mon, Oct 11, 2010 at 11:20 PM, Oron Peled o...@actcom.co.il wrote:

 On Monday, 11 בOctober 2010 11:50:45 Boris shtrasman wrote:
  On Mon, Oct 11, 2010 at 11:45 AM, Yedidyah Bar-David 
   Not gparted, gpart:
   http://www.brzitwa.de/mb/gpart/index.html
   Gpart is a tool which tries to guess the primary partition table of
 a
   PC-type hard disk in case the primary partition table in sector 0 is
   damaged, incorrect or deleted.
  
   If you fail, and still want to resurrect specific files, you can also
 try
   MagicRescue:
   http://www.itu.dk/people/jobr/magicrescue/
 
  looks promising thank you
  And i was dding file by file :-(  from the disk ..
 

 Just take notice that sequencial logical volume (partition) may be not
 sequencial on the physical volume (There's a logical extent to physical
 extent mapping).

 However, there is a good chance most/all of your partition is
 sequencial, especially if you created the volume group and the logical
 volumes when the disk was empty (e.g: during installation) without
 requiring a striped logical volume (it's not the default).

 Good luck,

 --
 Oron Peled Voice: +972-4-8228492
 o...@actcom.co.il  
 http://users.actcom.co.il/~oronhttp://users.actcom.co.il/%7Eoron
 ... one of the main causes of the fall of the Roman Empire was that,
 lacking zero, they had no way to indicate successful termination of their
 C programs.
-- Robert Firth

 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il



 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il




 --
 --
  -- Boris Shtrasman 
 |Gnu/Linux Software developer   |
 | IM   : bori...@jabber.org   |
 | URL  : myrtfm.blogspot.com|
  ___


 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


How can I grab the filesystem from corrupted lvm (help recover data from lvm with one pv missing)

2010-10-11 Thread Boris shtrasman
Hi,
Yesterday my harddrive had an inconvenient event: when I was using a d-i
from testing I accidentally overwritten on of the pv's connected to the lvm.
I  started to panic  and found myself making more damage by running vgreduce
--*remove*-*missing* since in one of the rescue files it noted this is the
way to fix it.

the config was :

/dev/sda7 pv0
/dev/sda8 pv1

digging in the parrtion i found the lvm declaration :

0200  4c 41 42 45 4c 4f 4e 45  01 00 00 00 00 00 00 00
|LABELONE|
0210  e1 4c e7 48 20 00 00 00  4c 56 4d 32 20 30 30 31  |.L.H ...LVM2
001|
0220  47 42 73 58 46 51 52 64  58 53 69 4d 68 70 50 68
|GBsXFQRdXSiMhpPh|
0230  6c 65 69 71 66 4d 35 35  37 31 61 4a 67 51 41 61
|leiqfM5571aJgQAa|
0240  00 8c 71 7c 07 00 00 00  00 00 03 00 00 00 00 00
|..q||
0250  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
||
0260  00 00 00 00 00 00 00 00  00 10 00 00 00 00 00 00
||
0270  00 f0 02 00 00 00 00 00  00 00 00 00 00 00 00 00
||
0280  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
||

digging in the raw data of the /dev/sda7 (I think) I found(*)  the
filesystems that were on the lvm  :

0002fff0  b8 ff 74 b8 ff 74 b8 ff  74 b8 ff 74 b8 ff 74 b8
|..t..t..t..t..t.|
0003  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
||
*
00030400  00 20 25 00 00 70 94 00  00 6c 07 00 13 13 4e 00  |.
%..p...lN.|
00030410  01 f0 24 00 00 00 00 00  02 00 00 00 02 00 00 00
|..$.|
00030420  00 80 00 00 00 80 00 00  00 20 00 00 05 dc b0 4c  |.
.L|
00030430  c4 df b0 4c a2 01 25 00  53 ef 01 00 01 00 00 00
|...L..%.S...|
00030440  ae b0 f2 4a 00 4e ed 00  00 00 00 00 01 00 00 00
|...J.N..|
00030450  00 00 00 00 0b 00 00 00  00 01 00 00 3c 00 00 00
|...|
00030460  02 00 00 00 03 00 00 00  6f c8 71 b2 99 4e 4c 1f
|o.q..NL.|
00030470  85 25 3e e9 9a 2c 55 45  00 00 00 00 00 00 00 00
|.%..,UE|
00030480  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
||

knowing the sizes I dd data (this is from memory) - I think the partition
startes  3 hence 3*16^4 / 1024 = 192

dd if=/dev/sda7 of=filename bs=1024 count=16M seek=192
tried to mount but without success.


(1) - hd /dev/sda7 | less found what i think is the superblock :


I found that during the tut I run the hence getting a backup of some of the
data (from backup/fileserver)

# Generated by LVM2 version 2.02.66(2) (2010-05-20): Sun Oct 10 01:09:27
2010

contents = Text Format Volume Group
version = 1

description = Created *after* executing 'vgcfgbackup'

creation_host = midgard   # Linux midgard 2.6.32-5-amd64 #1 SMP Thu
Aug 12 13:01:50 UTC 2010 x86_64
creation_time = 1286665767  # Sun Oct 10 01:09:27 2010

fileserver {
id = YKE4Rs-gcaS-oWuy-8dVG-0Loq-MrsL-8m7K8v
seqno = 11
status = [RESIZEABLE, READ, WRITE]
flags = []
extent_size = 8192  # 4 Megabytes
max_lv = 0
max_pv = 0

physical_volumes {

pv0 {
id = GBsXFQ-RdXS-iMhp-Phle-iqfM-5571-aJgQAa
device = /dev/sda7# Hint only

status = [ALLOCATABLE]
flags = []
dev_size = 62798022 # 29.9444 Gigabytes
pe_start = 384
pe_count = 7665 # 29.9414 Gigabytes
}

pv1 {
id = fVkJmY-pdwD-bub8-URE8-lNc2-eyhr-IIxIez
device = unknown device   # Hint only

status = [ALLOCATABLE]
flags = [MISSING]
dev_size = 79409232 # 37.8653 Gigabytes
pe_start = 384
pe_count = 9693 # 37.8633 Gigabytes
}
}

logical_volumes {

video {
id = wuLloD-3u0J-YHeu-Glxk-fsbC-tOyp-RbGBws
status = [READ, WRITE, VISIBLE]
flags = []
segment_count = 2

segment1 {
start_extent = 0
extent_count = 7665 # 29.9414 Gigabytes

type = striped
stripe_count = 1# linear

stripes = [
pv0, 0
]
}
segment2 {
start_extent = 7665
extent_count = 2063 # 8.05859 Gigabytes

type = striped
stripe_count = 1# linear

stripes = [
pv1, 0

Re: How can I grab the filesystem from corrupted lvm (help recover data from lvm with one pv missing)

2010-10-11 Thread Yedidyah Bar-David
On Mon, Oct 11, 2010 at 10:36:33AM +0200, Boris shtrasman wrote:
 Hi,
 Yesterday my harddrive had an inconvenient event: when I was using a d-i
 from testing I accidentally overwritten on of the pv's connected to the lvm.
 I  started to panic  and found myself making more damage by running vgreduce
 --*remove*-*missing* since in one of the rescue files it noted this is the
 way to fix it.
[snip]

Did you try gpart?
-- 
Didi


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: How can I grab the filesystem from corrupted lvm (help recover data from lvm with one pv missing)

2010-10-11 Thread Boris shtrasman
On Mon, Oct 11, 2010 at 11:33 AM, Yedidyah Bar-David 
linux...@didi.bardavid.org wrote:

 On Mon, Oct 11, 2010 at 10:36:33AM +0200, Boris shtrasman wrote:
  Hi,
  Yesterday my harddrive had an inconvenient event: when I was using a d-i
  from testing I accidentally overwritten on of the pv's connected to the
 lvm.
  I  started to panic  and found myself making more damage by running
 vgreduce
  --*remove*-*missing* since in one of the rescue files it noted this is
 the
  way to fix it.
 [snip]

 Did you try gpart?
 --
 Didi


I hope I did not miss something

gparted see the parttion /dev/sda7 and recognize it as lvm but nothing from
there.
except that I got LVM isn't yet supported.

it looks like the metedata is corrupted but the actual information is there
(as when you loose the the parrtion table from the mbr (446-510))



-- 
-- 
 -- Boris Shtrasman 
|Gnu/Linux Software developer   |
| IM   : bori...@jabber.org   |
| URL  : myrtfm.blogspot.com|
 ___
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: How can I grab the filesystem from corrupted lvm (help recover data from lvm with one pv missing)

2010-10-11 Thread Yedidyah Bar-David
On Mon, Oct 11, 2010 at 11:41:38AM +0200, Boris shtrasman wrote:
 On Mon, Oct 11, 2010 at 11:33 AM, Yedidyah Bar-David 
 linux...@didi.bardavid.org wrote:
 
  On Mon, Oct 11, 2010 at 10:36:33AM +0200, Boris shtrasman wrote:
   Hi,
   Yesterday my harddrive had an inconvenient event: when I was using a d-i
   from testing I accidentally overwritten on of the pv's connected to the
  lvm.
   I  started to panic  and found myself making more damage by running
  vgreduce
   --*remove*-*missing* since in one of the rescue files it noted this is
  the
   way to fix it.
  [snip]
 
  Did you try gpart?
  --
  Didi
 
 
 I hope I did not miss something
 
 gparted see the parttion /dev/sda7 and recognize it as lvm but nothing from
 there.
 except that I got LVM isn't yet supported.
 
 it looks like the metedata is corrupted but the actual information is there
 (as when you loose the the parrtion table from the mbr (446-510))

Not gparted, gpart:
http://www.brzitwa.de/mb/gpart/index.html
Gpart is a tool which tries to guess the primary partition table of a
PC-type hard disk in case the primary partition table in sector 0 is
damaged, incorrect or deleted.

If you fail, and still want to resurrect specific files, you can also try
MagicRescue:
http://www.itu.dk/people/jobr/magicrescue/
-- 
Didi


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: How can I grab the filesystem from corrupted lvm (help recover data from lvm with one pv missing)

2010-10-11 Thread Boris shtrasman
On Mon, Oct 11, 2010 at 11:45 AM, Yedidyah Bar-David 
linux...@didi.bardavid.org wrote:

 On Mon, Oct 11, 2010 at 11:41:38AM +0200, Boris shtrasman wrote:
  On Mon, Oct 11, 2010 at 11:33 AM, Yedidyah Bar-David 
  linux...@didi.bardavid.org wrote:
 
   On Mon, Oct 11, 2010 at 10:36:33AM +0200, Boris shtrasman wrote:
Hi,
Yesterday my harddrive had an inconvenient event: when I was using a
 d-i
from testing I accidentally overwritten on of the pv's connected to
 the
   lvm.
I  started to panic  and found myself making more damage by running
   vgreduce
--*remove*-*missing* since in one of the rescue files it noted this
 is
   the
way to fix it.
   [snip]
  
   Did you try gpart?
   --
   Didi
  
  
  I hope I did not miss something
 
  gparted see the parttion /dev/sda7 and recognize it as lvm but nothing
 from
  there.
  except that I got LVM isn't yet supported.
 
  it looks like the metedata is corrupted but the actual information is
 there
  (as when you loose the the parrtion table from the mbr (446-510))

 Not gparted, gpart:
 http://www.brzitwa.de/mb/gpart/index.html
 Gpart is a tool which tries to guess the primary partition table of a
 PC-type hard disk in case the primary partition table in sector 0 is
 damaged, incorrect or deleted.

 If you fail, and still want to resurrect specific files, you can also try
 MagicRescue:
 http://www.itu.dk/people/jobr/magicrescue/
 --
 Didi


looks promising thank you
And i was dding file by file :-(  from the disk ..
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: How can I grab the filesystem from corrupted lvm (help recover data from lvm with one pv missing)

2010-10-11 Thread Oron Peled
On Monday, 11 בOctober 2010 11:50:45 Boris shtrasman wrote:
 On Mon, Oct 11, 2010 at 11:45 AM, Yedidyah Bar-David 
  Not gparted, gpart:
  http://www.brzitwa.de/mb/gpart/index.html
  Gpart is a tool which tries to guess the primary partition table of a
  PC-type hard disk in case the primary partition table in sector 0 is
  damaged, incorrect or deleted.
 
  If you fail, and still want to resurrect specific files, you can also try
  MagicRescue:
  http://www.itu.dk/people/jobr/magicrescue/

 looks promising thank you
 And i was dding file by file :-(  from the disk ..
 

Just take notice that sequencial logical volume (partition) may be not
sequencial on the physical volume (There's a logical extent to physical
extent mapping).

However, there is a good chance most/all of your partition is
sequencial, especially if you created the volume group and the logical
volumes when the disk was empty (e.g: during installation) without
requiring a striped logical volume (it's not the default).

Good luck,

-- 
Oron Peled Voice: +972-4-8228492
o...@actcom.co.il  http://users.actcom.co.il/~oron
... one of the main causes of the fall of the Roman Empire was that,
lacking zero, they had no way to indicate successful termination of their
C programs.
-- Robert Firth

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


help with kde on ubuntu 10.04

2010-07-11 Thread Dan Bar Dov
How do I add hebrew input to KDE on Ubuntu 10.04?
(had to switch from gnome, and it is SO different from kde 3.5)
Also, where to I control keyboard shortcuts to select the input language?

Thanks,
Dan
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: help with kde on ubuntu 10.04

2010-07-11 Thread Shlomo Solomon
On Sunday 11 July 2010, Dan Bar Dov wrote:
 How do I add hebrew input to KDE on Ubuntu 10.04?
 (had to switch from gnome, and it is SO different from kde 3.5)
 Also, where to I control keyboard shortcuts to select the input language?
 
 Thanks,
 Dan
 
from the K Menu (like Start on Windows)
 - choose settings -- system settings -- Regional  Language
 - in the Country/Region  Language tab you can install a language
 - in the Keyboard Layout tab you'll find a switching tab 
 - after choosing a shortcut, you can use it or click on the language icon on 
the the taskbar at the bottom of the screen


 
-- 
Shlomo Solomon
http://the-solomons.net
Sent by KMail 1.12.4 (KDE 4.3.5) on LINUX Mandriva 2010.0


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: help with kde on ubuntu 10.04

2010-07-11 Thread Dan Bar Dov
Gracias!

On Sun, Jul 11, 2010 at 6:21 PM, Shlomo Solomon shlomo.solo...@gmail.comwrote:

 On Sunday 11 July 2010, Dan Bar Dov wrote:
  How do I add hebrew input to KDE on Ubuntu 10.04?
  (had to switch from gnome, and it is SO different from kde 3.5)
  Also, where to I control keyboard shortcuts to select the input language?
 
  Thanks,
  Dan
 
 from the K Menu (like Start on Windows)
  - choose settings -- system settings -- Regional  Language
  - in the Country/Region  Language tab you can install a language
  - in the Keyboard Layout tab you'll find a switching tab
  - after choosing a shortcut, you can use it or click on the language icon
 on
 the the taskbar at the bottom of the screen



 --
 Shlomo Solomon
 http://the-solomons.net
 Sent by KMail 1.12.4 (KDE 4.3.5) on LINUX Mandriva 2010.0


 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


KDE Jewish/Israeli holiday files: the dev needs our help!

2010-05-19 Thread Dotan Cohen
From the Korganizer dev:

 For 4.5 however things are changing.  The KDE holiday region files now support
 any KDE calendar system, including Hebrew, so I will be adding new separate
 files for the Israeli civil holidays and Jewish religious holidays in both
 English and Hebrew.  We can even have separate files for Orthodox and Western
 holidays if needed.  I need to get moving with those files, any help would be
 appreciated :-)

 basically we need to decide how many different files to split them
 into (Civil/Religious, Western/Israeli, English/Hebrew, etc) so users can
 choose exactly what they want to display, select which holidays go into each
 file, define what the rules are for each holiday, then make sure the library
 can cope with the rules.

So, first question: how many files are needed? I personally think that
a Jewish file (for religious holidays) and an Israeli file (for
national holidays) would be enough. As we are a small people, I would
even accept an argument that they should both be in a single file.
What say you?

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: KDE Jewish/Israeli holiday files: the dev needs our help!

2010-05-19 Thread Shlomo Solomon
Don't forget the differences out of the country - 2 days for most religious 
holidays (except for Yom Kippur and Purim and Chanuka). Also the 2 days of 
Simchat Torah out of the country are called Simchat Torah and Shmini Atzeret 
(here they're both the same day).

On Wednesday 19 May 2010, Dotan Cohen wrote:
 From the Korganizer dev:
 
  For 4.5 however things are changing.  The KDE holiday region files now
  support any KDE calendar system, including Hebrew, so I will be adding
  new separate files for the Israeli civil holidays and Jewish religious
  holidays in both English and Hebrew.  We can even have separate files for
  Orthodox and Western holidays if needed.  I need to get moving with those
  files, any help would be appreciated :-)
 
  basically we need to decide how many different files to split them
  into (Civil/Religious, Western/Israeli, English/Hebrew, etc) so users can
  choose exactly what they want to display, select which holidays go into
  each file, define what the rules are for each holiday, then make sure the
  library can cope with the rules.
 
 So, first question: how many files are needed? I personally think that
 a Jewish file (for religious holidays) and an Israeli file (for
 national holidays) would be enough. As we are a small people, I would
 even accept an argument that they should both be in a single file.
 What say you?
 


-- 
Shlomo Solomon
http://the-solomons.net
Sent by KMail 1.12.4 (KDE 4.3.5) on LINUX Mandriva 2010.0


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: KDE Jewish/Israeli holiday files: the dev needs our help!

2010-05-19 Thread Tomer Cohen
Some people may also want to see Parashat Ha'Shavuaa and Omer count, out of
their calendars, so this might be added as an extra package. In case new
maintenance efforts will be required, please make sure to reach not only
kde-dev, as this topic may interest other calender developer teams as well.

On Wed, May 19, 2010 at 23:30, Shlomo Solomon shlomo.solo...@gmail.comwrote:

 Don't forget the differences out of the country - 2 days for most religious
 holidays (except for Yom Kippur and Purim and Chanuka). Also the 2 days of
 Simchat Torah out of the country are called Simchat Torah and Shmini
 Atzeret
 (here they're both the same day).

 On Wednesday 19 May 2010, Dotan Cohen wrote:
  From the Korganizer dev:
  
   For 4.5 however things are changing.  The KDE holiday region files now
   support any KDE calendar system, including Hebrew, so I will be adding
   new separate files for the Israeli civil holidays and Jewish religious
   holidays in both English and Hebrew.  We can even have separate files
 for
   Orthodox and Western holidays if needed.  I need to get moving with
 those
   files, any help would be appreciated :-)
  
   basically we need to decide how many different files to split them
   into (Civil/Religious, Western/Israeli, English/Hebrew, etc) so users
 can
   choose exactly what they want to display, select which holidays go into
   each file, define what the rules are for each holiday, then make sure
 the
   library can cope with the rules.
 
  So, first question: how many files are needed? I personally think that
  a Jewish file (for religious holidays) and an Israeli file (for
  national holidays) would be enough. As we are a small people, I would
  even accept an argument that they should both be in a single file.
  What say you?
 


 --
 Shlomo Solomon
 http://the-solomons.net
 Sent by KMail 1.12.4 (KDE 4.3.5) on LINUX Mandriva 2010.0


 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il




-- 
Tomer Cohen
http://tomercohen.com
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: KDE Jewish/Israeli holiday files: the dev needs our help!

2010-05-19 Thread geoffrey mendelson


On May 20, 2010, at 12:00 AM, Tomer Cohen wrote:

Some people may also want to see Parashat Ha'Shavuaa and Omer count,  
out of their calendars, so this might be added as an extra package.  
In case new maintenance efforts will be required, please make sure  
to reach not only kde-dev, as this topic may interest other calender  
developer teams as well.



Can't you get most, if not all of you want, in a standard calendar  
format from the Hebcal website?


Geoff.
--
geoffrey mendelson N3OWJ/4X1GM
Jerusalem Israel geoffreymendel...@gmail.com
New word I coined 12/13/09, Sub-Wikipedia adj, describing knowledge  
or understanding, as in he has a sub-wikipedia understanding of the  
situation. i.e possessing less facts or information than can be found  
in the Wikipedia.








___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: KDE Jewish/Israeli holiday files: the dev needs our help!

2010-05-19 Thread Stan Goodman
On Wednesday 19 May 2010 23:30:08 Shlomo Solomon wrote:
 Don't forget the differences out of the country - 2 days for most religious
 holidays (except for Yom Kippur and Purim and Chanuka). Also the 2 days of
 Simchat Torah out of the country are called Simchat Torah and Shmini
 Atzeret (here they're both the same day).

 On Wednesday 19 May 2010, Dotan Cohen wrote:
  From the Korganizer dev:
  
   For 4.5 however things are changing.  The KDE holiday region files now
   support any KDE calendar system, including Hebrew, so I will be adding
   new separate files for the Israeli civil holidays and Jewish religious
   holidays in both English and Hebrew.  We can even have separate files
   for Orthodox and Western holidays if needed.  I need to get moving with
   those files, any help would be appreciated :-)
  
   basically we need to decide how many different files to split them
   into (Civil/Religious, Western/Israeli, English/Hebrew, etc) so users
   can choose exactly what they want to display, select which holidays go
   into each file, define what the rules are for each holiday, then make
   sure the library can cope with the rules.
 
  So, first question: how many files are needed? I personally think that
  a Jewish file (for religious holidays) and an Israeli file (for
  national holidays) would be enough. As we are a small people, I would
  even accept an argument that they should both be in a single file.
  What say you?

If you visit the holidays page of the Jewish Genealogical Society 
http://www.jewishgen.org/jos/josfest.htm, you will see that they give the 
date for the first day of multi-day holidays. Once one knows the date of the 
first day of Pesah, for example, he can compute when the second seder is. For 
cases like Shmini Atzeret, if should not be difficult to provide a switch for 
Israel/Diaspora, though it ought to be enough to provide the first day of 
Sukkot, and rely on the user to figure it out. He knows whether he lives here 
or abroad. Look at the preferences window in the Firefox addon Hebrew 
Calendar (which even counts the Omer, calls out the Parasha (with an option 
for Israel or Diaspora).

If KDE wants expertise, they should contact the developer of Kaluach 
kaluach.net. They keep me posted by email about both Israeli and Jewish 
holidays. 

It's nice to know that KDE is now asking people's advice about new wrinkles. 
KDE4 might have turned out differently if they had thought of this earlier.

-- 
Stan Goodman
Qiryat Tiv'on
Israel

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: request for help regarding a bidi patch

2010-04-15 Thread ik
Thanks Omer,

They have now accepted the patch, after I proved that the oldstable (thanks
to Meir - MKSoft) also include the functions.

Now we have a little more support for BiDi in Lazarus making it more usable
in that area, and slowly we are making it to be a BiDi complete in Qt4,
GTK2 and Windows API (I and another person that add support for it do not
have access to any Mac machine for making sure there is also BiDi there), so
cross platform UI programming will have better BiDi support :)

Ido

On Thu, Apr 15, 2010 at 00:43, Omer Zak w...@zak.co.il wrote:

 In Debian Lenny, the libpango version (libpango1.0-0) is 1.20.5-5+lenny1
 In this version, /usr/include/pango-1.0/pango/pango-types.h declares the
 functions which you need.

 Outputs requested by you:
 $ objdump --dynamic-syms /usr/lib/libpango*.so  | grep base_dir
 00016500 gDF .text  0130  Base
 pango_itemize_with_base_dir
 00028a20 gDF .text  00a6  Basepango_find_base_dir
 00015060 gDF .text  0050  Basepango_context_set_base_dir
 00015000 gDF .text  0052  Basepango_context_get_base_dir

 $ objdump --dynamic-syms /usr/lib/libpango*.so  | grep unichar_direction
 000289e0 gDF .text  0034  Basepango_unichar_direction

 I have also a directory with files from RedHat 8.0, where the pango
 version is 1.1.1 (from August 2002).  In this version, the functions
 which you need don't exist.

 From modern pango changelog.gz:
 Overview of changes between 1.3.3 and 1.3.5
 ===
 * Add support for automatically determining the base direction for
  PangoLayout from the contained text [Dov Grobgeld]

 So the first supporting version is probably somewhere between 1.3.5 and
 1.20.5-4 (inclusive).

  --- Omer


 On Wed, 2010-04-14 at 23:31 +0300, ik wrote:
  Hello list,
 
  I have a small help to ask you, that I've wrote about it at:
  http://whatsup.org.il/forum/53484 (Hebrew).
 
  To make things short, I've created a patch to support BiDi on Lazarus
  implementation in GTK2.
  In order to apply the patch, they want to make sure that the two
  binding functions I've added supported in all current major Linux
  distro's.
 
  I wish to find out, what is the earliest version of libpango and the
  earliest distro version that have the support of the following
  functions:
  pango_unichar_direction
 
  pango_find_base_dir
 
  I will appreciate any help on this matter,

 --
 Every good master plan involves building a time machine.  Moshe Zadka
 My own blog is at http://www.zak.co.il/tddpirate/

 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


 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


request for help regarding a bidi patch

2010-04-14 Thread ik
Hello list,

I have a small help to ask you, that I've wrote about it at:
http://whatsup.org.il/forum/53484 (Hebrew).

To make things short, I've created a patch to support BiDi on Lazarus
implementation in GTK2.
In order to apply the patch, they want to make sure that the two binding
functions I've added supported in all current major Linux distro's.

I wish to find out, what is the earliest version of libpango and the
earliest distro version that have the support of the following functions:

pango_unichar_direction

pango_find_base_dir


I will appreciate any help on this matter,

Thanks,
Ido

http://ik.homelinux.org/
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: request for help regarding a bidi patch

2010-04-14 Thread Omer Zak
In Debian Lenny, the libpango version (libpango1.0-0) is 1.20.5-5+lenny1
In this version, /usr/include/pango-1.0/pango/pango-types.h declares the
functions which you need.

Outputs requested by you:
$ objdump --dynamic-syms /usr/lib/libpango*.so  | grep base_dir
00016500 gDF .text  0130  Base
pango_itemize_with_base_dir
00028a20 gDF .text  00a6  Basepango_find_base_dir
00015060 gDF .text  0050  Basepango_context_set_base_dir
00015000 gDF .text  0052  Basepango_context_get_base_dir

$ objdump --dynamic-syms /usr/lib/libpango*.so  | grep unichar_direction
000289e0 gDF .text  0034  Basepango_unichar_direction

I have also a directory with files from RedHat 8.0, where the pango
version is 1.1.1 (from August 2002).  In this version, the functions
which you need don't exist.

From modern pango changelog.gz:
Overview of changes between 1.3.3 and 1.3.5
===
* Add support for automatically determining the base direction for
  PangoLayout from the contained text [Dov Grobgeld]

So the first supporting version is probably somewhere between 1.3.5 and
1.20.5-4 (inclusive).

  --- Omer


On Wed, 2010-04-14 at 23:31 +0300, ik wrote:
 Hello list,
 
 I have a small help to ask you, that I've wrote about it at:
 http://whatsup.org.il/forum/53484 (Hebrew).
 
 To make things short, I've created a patch to support BiDi on Lazarus
 implementation in GTK2.
 In order to apply the patch, they want to make sure that the two
 binding functions I've added supported in all current major Linux
 distro's.
 
 I wish to find out, what is the earliest version of libpango and the
 earliest distro version that have the support of the following
 functions:
 pango_unichar_direction
 
 pango_find_base_dir
 
 I will appreciate any help on this matter,

-- 
Every good master plan involves building a time machine.  Moshe Zadka
My own blog is at http://www.zak.co.il/tddpirate/

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


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Request for help with mail spoofing

2010-02-17 Thread Nadav Har'El
On Wed, Feb 17, 2010, Geoff Shang wrote about Request for help with mail 
spoofing:
 Given that I have this script which I am willing to send on, my questions 
 are:
 1.  What exactly is being done?

You didn't attach the script, but basically forging mail on the Internet
is trivial.

The key point to understand is that SMTP, the simple mail transfer protocol,
has absolutely no authentication mechanism for the From address. If I send
mail from n...@math.technion.ac.il, my host simply writes the line
MAIL FROM: n...@math.technion.ac.il
as part of the SMTP session with the receiving mail server. It could have
just as easily wrote presid...@whitehouse.gov.

Traditionally, on Unix hosts, the mail program such as sendmail automatically
fills this address, and only root can override it (sendmail -f...). But this
is completely irrelevant protection, because somebody can use any other
software, or even manually doing direct SMTP connection (telnet host 25),
to send mail pretending to be from anyone. When I was in a Technion
freshman, circa 18 years ago, I used to amuse my fellow students by sending
them mail from presid...@whitehouse.gov :-)

Anyway, even though the From envelope and From: header can be easily
forged this way, something you can't avoid is the Received: trail - the
mail will contain a list of IP address which relayed this message, including
your host - the host that initiated that SMTP session and pretended to
be presid...@whitehouse.gov. As you saw, getting around this annoyance is
easy - all you need to do is find a host that will agree to take any crap
that you send it and spew it out to your choice of address. socks proxies,
tor, and so on, let you do exactly that - you can initiate a connection to
some mail server port 25, but the server will get the connection through
some intermediate server(s) which will hide who you are.

Trying to track down the origin of such connections is quite hopeless unless
this guy makes a big mistake. But filtering them is somewhat easier.
Perhaps the most reliable thing you can do is to blacklist email arriving
through any known socks proxies or similar open machines. Numerous blacklists
exist to this effect (e.g., http://www.us.sorbs.net/) and scripts to process
each mail and filter out the suspicious ones.

Nadav.

-- 
Nadav Har'El|  Wednesday, Feb 17 2010, 3 Adar 5770
n...@math.technion.ac.il |-
Phone +972-523-790466, ICQ 13349191 |Lottery: A tax on people who are bad at
http://nadav.harel.org.il   |math.

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Request for help with mail spoofing

2010-02-17 Thread Shachar Shemesh

Nadav Har'El wrote:

On Wed, Feb 17, 2010, Geoff Shang wrote about Request for help with mail 
spoofing:
  
Given that I have this script which I am willing to send on, my questions 
are:

1.  What exactly is being done?



You didn't attach the script, but basically forging mail on the Internet
is trivial.
  
Here it is. Open your mail agent (say, thunderbird), go to the account 
configuration, change the my name and my email settings, send the 
mail. No scripting necessary.

The key point to understand is that SMTP, the simple mail transfer protocol,
has absolutely no authentication mechanism for the From address. If I send
mail from n...@math.technion.ac.il, my host simply writes the line
MAIL FROM: n...@math.technion.ac.il
as part of the SMTP session with the receiving mail server. It could have
just as easily wrote presid...@whitehouse.gov.
  
Just to make things worse, what you just specified is the envelop 
sender - what the mail servers will use in order to bounce the message. 
Most servers will discard this information the moment the mail gets 
successfully delivered.


The sender's address and name, as appears in mail user agents, is 
actually taken from the message's BODY - even easier to spoof than that.


Shachar

--
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
http://www.lingnu.com

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: need help with PHP open source class

2010-01-03 Thread Uri Even-Chen
Hi,

Eventually they released a new version of PHPwhois, and I used it to
upgrade Speedy Whois and released a new version.  The bugs are fixed,
I checked many domain names and it works fine.

Thanks,
Uri Even-Chen
Mobile Phone: +972-50-9007559
E-mail: u...@speedy.net
Blog: http://www.speedy.net/uri/blog/




On Tue, Dec 29, 2009 at 3:45 AM, Uri Even-Chen u...@speedy.net wrote:
 Hi,

 I am using the PHPwhois class (
 https://sourceforge.net/projects/phpwhois/ ) on my Speedy Whois
 website ( http://www.speedywhois.net/ ).  My version of the class is 4
 years old.  I checked and there are many bugs, some of them I reported
 ( https://sourceforge.net/tracker/?func=browsegroup_id=31207atid=401654
 ), and they also didn't release PHPwhois for more than a year.  I am
 now looking for someone to help me fix the bugs and release the
 PHPwhois class, and add it to my Speedy Whois release on sourceforge (
 https://sourceforge.net/projects/speedywhois/ ).  The code has to be
 rewritten, for example to avoid notices and warnings when using
 undefined variables etc.  If one of you has some time, it would help
 if you can download the files from the CVS on PHPwhois (they don't
 release new tar.gz files), then check which bugs are not fixed and fix
 them.  Then release PHPwhois - if they don't accept the release we can
 fork the project.  And then release Speedy Whois with the bugs fixed.
 My estimate of the work is up to 3 days, maybe even one day of work if
 you're very good in programming.  I can help test and generate bugs,
 but I'm not that good in object oriented programming.  I also don't
 know how to download the files from CVS, if you let me know it can
 help (I use Windows XP).

 If you can help, please contact me.

 by the way, there is also a problem with domain names registered at
 godaddy - they don't return full whois results to my IP address.  Do
 you have an idea how to overcome this?

 Thanks,
 Uri Even-Chen
 Mobile Phone: +972-50-9007559
 E-mail: u...@speedy.net
 Blog: http://www.speedy.net/uri/blog/


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: need help with PHP open source class

2009-12-29 Thread Uri Even-Chen
On Tue, Dec 29, 2009 at 9:54 AM, Meir Kriheli m...@mksoft.co.il wrote:
 On 12/29/2009 03:45 AM, Uri Even-Chen wrote:

 Hi,

 I am using the PHPwhois class (
 https://sourceforge.net/projects/phpwhois/ ) on my Speedy Whois
 website ( http://www.speedywhois.net/ ).  My version of the class is 4
 years old.  I checked and there are many bugs, some of them I reported
 ( https://sourceforge.net/tracker/?func=browsegroup_id=31207atid=401654
 ), and they also didn't release PHPwhois for more than a year.  I am
 now looking for someone to help me fix the bugs and release the
 PHPwhois class, and add it to my Speedy Whois release on sourceforge (
 https://sourceforge.net/projects/speedywhois/ ).  The code has to be
 rewritten, for example to avoid notices and warnings when using
 undefined variables etc.  If one of you has some time, it would help
 if you can download the files from the CVS on PHPwhois (they don't
 release new tar.gz files), then check which bugs are not fixed and fix
 them.  Then release PHPwhois - if they don't accept the release we can
 fork the project.  And then release Speedy Whois with the bugs fixed.
 My estimate of the work is up to 3 days, maybe even one day of work if
 you're very good in programming.  I can help test and generate bugs,
 but I'm not that good in object oriented programming.  I also don't
 know how to download the files from CVS, if you let me know it can
 help (I use Windows XP).

 If you can help, please contact me.

 by the way, there is also a problem with domain names registered at
 godaddy - they don't return full whois results to my IP address.  Do
 you have an idea how to overcome this?

 IMO PHP developers should be aware of PEAR [1] and use it when possible. The
 repo includes a whois class called Net_Whois [2],  maintained - current
 stable released last month (feature request).

 [1] http://pear.php.net/
 [2] http://pear.php.net/package/Net_Whois

Sorry, I'm not using PEAR.  If you can implement the same
functionality using Net_Whois - I don't mind, but I don't want to
install it myself.  The PHPwhois class is good, and returns good
results for most domain names.

Uri.

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: need help with PHP open source class

2009-12-29 Thread Omer Zak
On Tue, 2009-12-29 at 10:42 +0200, Uri Even-Chen wrote:
 On Tue, Dec 29, 2009 at 9:54 AM, Meir Kriheli m...@mksoft.co.il wrote:
  
  IMO PHP developers should be aware of PEAR [1] and use it when possible. The
  repo includes a whois class called Net_Whois [2],  maintained - current
  stable released last month (feature request).
 
  [1] http://pear.php.net/
  [2] http://pear.php.net/package/Net_Whois
 
 Sorry, I'm not using PEAR.  If you can implement the same
 functionality using Net_Whois - I don't mind, but I don't want to
 install it myself.  The PHPwhois class is good, and returns good
 results for most domain names.

What are the reasons against using PEAR (besides, of course, having to
install additional packages in your development and deployment systems)?

 --- Omer



-- 
Kosher Cellphones (cellphones with blocked SMS, video and Internet)
are menace to the deaf.  They must be outlawed!
(See also: 
http://www.zak.co.il/tddpirate/2006/04/21/the-grave-danger-to-the-deaf-from-kosher-cellphones/
 and 
http://www.zak.co.il/tddpirate/2007/02/04/rabbi-eliashiv-declared-war-on-the-deaf/)
My own blog is at http://www.zak.co.il/tddpirate/

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


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: need help with PHP open source class

2009-12-29 Thread Uri Even-Chen
On Tue, Dec 29, 2009 at 11:16 AM, Omer Zak w...@zak.co.il wrote:
 On Tue, 2009-12-29 at 10:42 +0200, Uri Even-Chen wrote:
 On Tue, Dec 29, 2009 at 9:54 AM, Meir Kriheli m...@mksoft.co.il wrote:
  
  IMO PHP developers should be aware of PEAR [1] and use it when possible. 
  The
  repo includes a whois class called Net_Whois [2],  maintained - current
  stable released last month (feature request).
 
  [1] http://pear.php.net/
  [2] http://pear.php.net/package/Net_Whois

 Sorry, I'm not using PEAR.  If you can implement the same
 functionality using Net_Whois - I don't mind, but I don't want to
 install it myself.  The PHPwhois class is good, and returns good
 results for most domain names.

 What are the reasons against using PEAR (besides, of course, having to
 install additional packages in your development and deployment systems)?

It's too complicated, I'm not familar with PEAR.  As I said, if one of
you wants to do it, I don't mind using PEAR, but I don't want to do it
alone.  Also, my program uses the PHPwhois class already, so I might
have to change the program itself.  I prefer using PHPwhois and
improving it.

Uri.

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: need help with PHP open source class

2009-12-29 Thread Boaz Rymland
Not all PEAR classes require depending classes on the machine. For example,
Log class. I think that it all depends on your exact needs. Also, not all
classes were born equal, in terms of quality. Consider that as well.
I recommend you consult also on php-israel mailing list:
http://www.php-israel.org/

Boaz.

On Tue, 29 Dec 2009 11:37:20 +0200, Uri Even-Chen u...@speedy.net wrote:
 On Tue, Dec 29, 2009 at 11:16 AM, Omer Zak w...@zak.co.il wrote:
 On Tue, 2009-12-29 at 10:42 +0200, Uri Even-Chen wrote:
 On Tue, Dec 29, 2009 at 9:54 AM, Meir Kriheli m...@mksoft.co.il
wrote:
  
  IMO PHP developers should be aware of PEAR [1] and use it when
  possible. The
  repo includes a whois class called Net_Whois [2],  maintained -
  current
  stable released last month (feature request).
 
  [1] http://pear.php.net/
  [2] http://pear.php.net/package/Net_Whois

 Sorry, I'm not using PEAR.  If you can implement the same
 functionality using Net_Whois - I don't mind, but I don't want to
 install it myself.  The PHPwhois class is good, and returns good
 results for most domain names.

 What are the reasons against using PEAR (besides, of course, having to
 install additional packages in your development and deployment systems)?
 
 It's too complicated, I'm not familar with PEAR.  As I said, if one of
 you wants to do it, I don't mind using PEAR, but I don't want to do it
 alone.  Also, my program uses the PHPwhois class already, so I might
 have to change the program itself.  I prefer using PHPwhois and
 improving it.
 
 Uri.
 
 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


need help with PHP open source class

2009-12-28 Thread Uri Even-Chen
Hi,

I am using the PHPwhois class (
https://sourceforge.net/projects/phpwhois/ ) on my Speedy Whois
website ( http://www.speedywhois.net/ ).  My version of the class is 4
years old.  I checked and there are many bugs, some of them I reported
( https://sourceforge.net/tracker/?func=browsegroup_id=31207atid=401654
), and they also didn't release PHPwhois for more than a year.  I am
now looking for someone to help me fix the bugs and release the
PHPwhois class, and add it to my Speedy Whois release on sourceforge (
https://sourceforge.net/projects/speedywhois/ ).  The code has to be
rewritten, for example to avoid notices and warnings when using
undefined variables etc.  If one of you has some time, it would help
if you can download the files from the CVS on PHPwhois (they don't
release new tar.gz files), then check which bugs are not fixed and fix
them.  Then release PHPwhois - if they don't accept the release we can
fork the project.  And then release Speedy Whois with the bugs fixed.
My estimate of the work is up to 3 days, maybe even one day of work if
you're very good in programming.  I can help test and generate bugs,
but I'm not that good in object oriented programming.  I also don't
know how to download the files from CVS, if you let me know it can
help (I use Windows XP).

If you can help, please contact me.

by the way, there is also a problem with domain names registered at
godaddy - they don't return full whois results to my IP address.  Do
you have an idea how to overcome this?

Thanks,
Uri Even-Chen
Mobile Phone: +972-50-9007559
E-mail: u...@speedy.net
Blog: http://www.speedy.net/uri/blog/

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: need help with PHP open source class

2009-12-28 Thread Meir Kriheli

On 12/29/2009 03:45 AM, Uri Even-Chen wrote:

Hi,

I am using the PHPwhois class (
https://sourceforge.net/projects/phpwhois/ ) on my Speedy Whois
website ( http://www.speedywhois.net/ ).  My version of the class is 4
years old.  I checked and there are many bugs, some of them I reported
( https://sourceforge.net/tracker/?func=browsegroup_id=31207atid=401654
), and they also didn't release PHPwhois for more than a year.  I am
now looking for someone to help me fix the bugs and release the
PHPwhois class, and add it to my Speedy Whois release on sourceforge (
https://sourceforge.net/projects/speedywhois/ ).  The code has to be
rewritten, for example to avoid notices and warnings when using
undefined variables etc.  If one of you has some time, it would help
if you can download the files from the CVS on PHPwhois (they don't
release new tar.gz files), then check which bugs are not fixed and fix
them.  Then release PHPwhois - if they don't accept the release we can
fork the project.  And then release Speedy Whois with the bugs fixed.
My estimate of the work is up to 3 days, maybe even one day of work if
you're very good in programming.  I can help test and generate bugs,
but I'm not that good in object oriented programming.  I also don't
know how to download the files from CVS, if you let me know it can
help (I use Windows XP).

If you can help, please contact me.

by the way, there is also a problem with domain names registered at
godaddy - they don't return full whois results to my IP address.  Do
you have an idea how to overcome this?


IMO PHP developers should be aware of PEAR [1] and use it when possible. 
The repo includes a whois class called Net_Whois [2],  maintained - 
current stable released last month (feature request).


[1] http://pear.php.net/
[2] http://pear.php.net/package/Net_Whois

Cheers
--
Meir Kriheli

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


[OT] Urgent! AntiBiometric law campaign needs your help!

2009-07-29 Thread Ira Abramov
WE NEED A LAMP HACKER (can be perl, php, whatever).

After getting shouted at, I try to separate politics from FOSS, but
here's one where we really need the community.

The knesset has a page that shows which MKs are in and out of the
building:
http://www.knesset.gov.il/presence/heb/PresentList.aspx

we already extract that info, it's annoying but doable:
http://no2bio.n2b.org/

The campaign is also keeping a list of the MKs on a googledocs
spreadsheet that lists the MKs that are for or against the law. We need
someone who can take the two lists (Google will export as CSV or XLS, I
think) and make up a script that can cross the lists, tally and show if
the people currently in the building give a majority for or against the
law.

If you care to help us hack something together, please write me in
person and I'll make sure you have access to the info needed, and access
to a server to host the scripts.

Thanks in advance!
Ira, and the anti-biometric DB campaign.

-- 
One for the books
Ira Abramov
http://ira.abramov.org/email/

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Linux Mint substitute: I need help

2009-07-05 Thread sara fink
I don't know mint, but why don't you use slax? It's very modular and you can
put there whatever you want. http://www.slax.org/

On Fri, Jul 3, 2009 at 11:17 PM, Steve Litt sl...@troubleshooters.comwrote:

 Hi all,

 I'm trying to create a Linux Mint substitute in the easiest possible way,
 whatever that turns out to be. I see the benefits of Mint (to the great
 unwashed, not necessarily to Geeks) as the following:

 1) Installs on almost anything.
 2) Easy and quick install.
 3) Works out of the box
A) Including non free things
i) Codecs
ii) NDISwrapper
iii) Other common programs
 4) More intuitive and navigable user interface

 The problem with Linux Mint is they implemented a political litmus test for
 their contributors and presumably their community members:

 http://eclelef.blogspot.com/2009/05/palestine_03.html

 That post was originally posted on the official MINT blog and never
 retracted.

 I plan to create some sort of Mint substitute with Mint's advantages, but
 without the political baggage. It would be open to all political
 persuasions:
 Tamil or Sinhalese, North or South Korean, Kach or Hezbollah.

 Having neither the brains nor the time to create a forked version, my
 initial
 plan is the following:

 1) Study Mint to find its advantages and how it gains them.
 2) Using scripts and maybe a few apps, Tweak Ubuntu to gain those
 advantages
 3) In the long run, support a distro with Mint's advantages but without
 Mint's
 political baggage.

 Once again, Mint isn't a Geek distro, but if you're like me and have to
 support Linux users who just want a working computer, it has big
 advantages.
 If anyone wants to help me with this, please let me know.

 Thanks

 Steve Litt
 http://www.troubleshooters.com

 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


md device failure (help!)

2009-07-03 Thread Shachar Tal
Hi all,
my md array just crapped out on me! I'm partly responsible, since one of the
device in the RAID5 array died some time ago and I neglected to replace it,
but I don't think it's the whole problem now.

When I assemble the array I get the following:
r...@server:~# mdadm --assemble --verbose /dev/md0 /dev/sdb1 /dev/sdc1
/dev/sdd1
mdadm: looking for devices for /dev/md0
mdadm: /dev/sdb1 is identified as a member of /dev/md0, slot 1.
mdadm: /dev/sdc1 is identified as a member of /dev/md0, slot 2.
mdadm: /dev/sdd1 is identified as a member of /dev/md0, slot 3.
mdadm: no uptodate device for slot 0 of /dev/md0
mdadm: added /dev/sdb1 to /dev/md0 as 1
mdadm: added /dev/sdd1 to /dev/md0 as 3
mdadm: added /dev/sdc1 to /dev/md0 as 2
mdadm: /dev/md0 assembled from 2 drives - not enough to start the array.
mdadm: /dev/md0 assembled from 2 drives - not enough to start the array

(slot 0 is the long-dead drive)
the output of mdadm --examine for 2 of the drive (sdc  sdd) is similar
and looks like this:
...
State: Clean
Active Devices: 2
Working Devices: 2
Failed Devices: 1
Events: 1923796
...

while the output for sdb looks different:
...
State: active
Active Devices: 3
Working Devices: 3
Failed Devices: 0
Events: 1923787
...

Note the difference in the Events counter and the state. My guess is that
the drive is out of sync with the rest.
I tried mdadm --assemble --force --update=summaries to bring the stray
Events counter up to date per a recommendation I saw in a forum, but this
command segfaults.
I tried strace-ing it and it faults right after reading 4K of data from
/dev/sdb1.

To summarize: I'm not sure what to do next. I've read in forums that I
should try to re-create the array but I fear it will completely destroy the
data (not sure what creating an array from previously-array-ed disks does).

Any help will be appreciated. really!

Thanks,
-- 
-- Shachar
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Linux Mint substitute: I need help

2009-07-03 Thread Steve Litt
Hi all,

I'm trying to create a Linux Mint substitute in the easiest possible way, 
whatever that turns out to be. I see the benefits of Mint (to the great 
unwashed, not necessarily to Geeks) as the following:

1) Installs on almost anything.
2) Easy and quick install.
3) Works out of the box
A) Including non free things
i) Codecs
ii) NDISwrapper
iii) Other common programs
4) More intuitive and navigable user interface

The problem with Linux Mint is they implemented a political litmus test for 
their contributors and presumably their community members:

http://eclelef.blogspot.com/2009/05/palestine_03.html

That post was originally posted on the official MINT blog and never retracted.

I plan to create some sort of Mint substitute with Mint's advantages, but 
without the political baggage. It would be open to all political persuasions: 
Tamil or Sinhalese, North or South Korean, Kach or Hezbollah.

Having neither the brains nor the time to create a forked version, my initial 
plan is the following:

1) Study Mint to find its advantages and how it gains them.
2) Using scripts and maybe a few apps, Tweak Ubuntu to gain those advantages
3) In the long run, support a distro with Mint's advantages but without Mint's 
political baggage.

Once again, Mint isn't a Geek distro, but if you're like me and have to 
support Linux users who just want a working computer, it has big advantages. 
If anyone wants to help me with this, please let me know.

Thanks

Steve Litt
http://www.troubleshooters.com

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Help - can anyone explain this segfault?

2009-06-21 Thread Ehud Karni
On Fri, 19 Jun 2009 19:10:33 Shachar Shemesh wrote:

 Dotan Shavit wrote:
 
  From man vfork:
 
  behavior is undefined if the process created by vfork() returns from the
  function in which vfork() was called...
 
 Well done, you nailed it.

 Placing an explicit call to exit for the child process solves the segfault.

I hope you used _exit() and NOT exit(). The man page on my system for vfork
says (read carefully, at least 3 catch you):

vfork() differs from fork() in that the parent is suspended until the
child makes a call to execve(2) or _exit(2). The child shares all memory
with its parent, including the stack, until execve() is issued by the
child. The child must not return from the current function or call
exit(), but may call _exit().

Also note that vfork on GNU/Linux stops the parent until it exit by either
calling _exit() or executing execve(). Normally (in older systems) it was
used solely to execute another program.

BTW. On linux, If you do execute a program right away, vfork is not really
better than fork. On older systems (e.g. DG/UX) fork copied the whole
memory before continuing, and vfork changed the shared (read: parent)
memory. On linux fork use copy on write so it does not copy (almost)
any memory before doing its work.


Ehud.


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

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Help - can anyone explain this segfault?

2009-06-21 Thread Shachar Shemesh
I'm not normally in the habit of forwarding private emails to public 
forums, but I thought it might interest someone here why I was asking 
what I was asking, as well as what I found out while working on it.


Ehud Karni wrote:

On Sun, 21 Jun 2009 13:04:37 Ehud Karni wrote:
  

[snip]



You don't have to reply. I did see Shlomo email and your reply just
now because he changed the thread name. I understand your need for
vfork. Just be careful.

  
In point of fact, I do not need vfork at all. It can be eliminated from 
the system calls list altogether, as far as I'm concerned. 
Unfortunately, it is GNU make that uses vfork in order to start new 
processes.


The reason I care what make does is a project of mine called 
fakeroot-ng [1]. It attempts to achieve the same broad effect as 
fakeroot[2], except using the more thorough PTRACE technology, rather 
than LD_PRELOAD like fakeroot. As such, it hooks itself between the run 
time library and the kernel (as opposed to between the program and the 
runtime library, which is what fakeroot does). The problems there tend 
to be somewhat unique, due to glibc's close intimate relationship with 
the kernel.


In particular, I am trying to tackle the problem of how to remain 
attached as a debugger to a process that spawns a new child process 
(threads are a subject I have not even begun working on). Copying ideas 
liberally from strace (it's insane to try and copy code from there - 
the code there is a total mess), I tried turning calls to fork into 
calls to clone, adding the CLONE_TRACE and removing the CLONE_UNTRACE 
flags. This works for program that call clone or fork, but when the 
program calls vfork, it segfaults after it returns from the syscall.


Of course, in order to debug that properly, it is best to construct a 
sample program that does vfork and little else. Of course, if that 
program then crashes even without fakeroot-ng, then I've got a program. 
This is what the sample program I sent to the list was all about. Thank 
you all for your help.


All this is made worse when you consider that, since fakeroot-ng is 
already a debugger for the process that segfaults, gdb cannot connect to 
it. Anyways, I think I have a fairly good idea on what the source of the 
problem might be now, and I'm hoping to get this resolved soonish.

One comment - If the parent failed when you returned from call in the
child, It is proof that at least the stack memory was common to both.
  
sys_vfork calls do_fork with CLONE_VFORK|CLONE_VM. The first means 
return to parent only after child releases the VM (i.e. - calls exit 
or execve), while the second means to have the two share the same VM. As 
such, yeah, the stack is commune when calling vfork.


Of course, this means that the function vfork as implemented in glibc 
needs to do some magic in order to not trash the stack when it returns. 
I believe it is this magic that causes the segfault. Still looking into it.


Shachar

Ehud.


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



--
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
http://www.lingnu.com

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Help - can anyone explain this segfault?

2009-06-19 Thread Shachar Shemesh

Hi all,

Here is fork.c in its entirety:

#define _GNU_SOURCE
#include sys/types.h
#include unistd.h
#include sched.h
#include sys/syscall.h
#include signal.h

#include stdio.h

int main()
{
pid_t child;

printf(Started, pid=%d\n, getpid() );

//child=fork();
child=vfork();
//child=syscall(__NR_fork);
//child=syscall(__NR_vfork);
//child=syscall(__NR_clone, CLONE_VFORK|SIGCHLD, 0);

if( child0 ) {
perror(fork failed);

return 1;
}

if( child==0 ) {
printf(Child, pid=%d\n, getpid() );
} else {
printf(Parent, child=%d\n, child );

int status;
wait(status);
}

return 0;
}
I compile it with gcc 4.3.2 from Debian Lenny with the following command 
line:

gcc -O0 -g -o fork fork.c

When I run it, I get:

$ ./fork
Started, pid=13711
Child, pid=13712
Parent, child=13712
Segmentation fault


The core dump is of no use whats o' ever - it shows an rip of 0. If the 
program is run from within strace, there is no segmentation fault. Same 
goes if it is being run by gdb or valgrind. In fact, I'm having a 
somewhat difficult time deciding whether it is the parent or the child 
that dumps core! (adding a printf after the wait confirms that the 
child returned with status code 0, so it must be the parent that is seg 
faulting).


help?

Shachar

--
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
http://www.lingnu.com

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Help - can anyone explain this segfault?

2009-06-19 Thread Baruch Siach
Hi Shachar,

On Fri, Jun 19, 2009 at 05:53:07PM +0300, Shachar Shemesh wrote:
 Hi all,

 Here is fork.c in its entirety:
 #define _GNU_SOURCE
 #include sys/types.h
 #include unistd.h
 #include sched.h
 #include sys/syscall.h
 #include signal.h

 #include stdio.h

 int main()
 {
 pid_t child;

 printf(Started, pid=%d\n, getpid() );

 //child=fork();
 child=vfork();
 //child=syscall(__NR_fork);
 //child=syscall(__NR_vfork);
 //child=syscall(__NR_clone, CLONE_VFORK|SIGCHLD, 0);

 if( child0 ) {
 perror(fork failed);

 return 1;
 }

 if( child==0 ) {
 printf(Child, pid=%d\n, getpid() );
 } else {
 printf(Parent, child=%d\n, child );

 int status;
 wait(status);
 }

 return 0;
 }
 I compile it with gcc 4.3.2 from Debian Lenny with the following command  
 line:
 gcc -O0 -g -o fork fork.c

 When I run it, I get:
 $ ./fork
 Started, pid=13711
 Child, pid=13712
 Parent, child=13712
 Segmentation fault

 The core dump is of no use whats o' ever - it shows an rip of 0. If the  
 program is run from within strace, there is no segmentation fault. Same  
 goes if it is being run by gdb or valgrind. In fact, I'm having a  
 somewhat difficult time deciding whether it is the parent or the child  
 that dumps core! (adding a printf after the wait confirms that the  
 child returned with status code 0, so it must be the parent that is seg  
 faulting).

 help?

Compiling your program with -Wall emits the following warning on Debian 
Squeeze (amd64, gcc 4.3.3):

fork.c: In function ‘main’:
fork.c:34: warning: implicit declaration of function ‘wait’

This may indicate a headers mismatch in Debian.

Running the program gives the same result as yours.

Hope this helps.

baruch

-- 
 ~. .~   Tk Open Systems
=}ooO--U--Ooo{=
   - bar...@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Help - can anyone explain this segfault?

2009-06-19 Thread Dotan Shavit
On Friday 19 June 2009, Shachar Shemesh wrote:
 help?

From man vfork:

behavior is undefined if the process created by vfork() returns from the 
function in which vfork() was called...

#

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Help - can anyone explain this segfault?

2009-06-19 Thread Shlomi Fish
On Friday 19 June 2009 17:53:07 Shachar Shemesh wrote:
 Hi all,

 Here is fork.c in its entirety:
  #define _GNU_SOURCE
  #include sys/types.h
  #include unistd.h
  #include sched.h
  #include sys/syscall.h
  #include signal.h
 
  #include stdio.h
 
  int main()
  {
  pid_t child;
 
  printf(Started, pid=%d\n, getpid() );
 
  //child=fork();
  child=vfork();
  //child=syscall(__NR_fork);
  //child=syscall(__NR_vfork);
  //child=syscall(__NR_clone, CLONE_VFORK|SIGCHLD, 0);
 
  if( child0 ) {
  perror(fork failed);
 
  return 1;
  }
 
  if( child==0 ) {
  printf(Child, pid=%d\n, getpid() );
  } else {
  printf(Parent, child=%d\n, child );
 
  int status;
  wait(status);
  }
 
  return 0;
  }

 I compile it with gcc 4.3.2 from Debian Lenny with the following command
 line:
 gcc -O0 -g -o fork fork.c

 When I run it, I get:
  $ ./fork
  Started, pid=13711
  Child, pid=13712
  Parent, child=13712
  Segmentation fault


Works fine here (Mandriva Linux Cooker with gcc-4.4.0):

{{{
Started, pid=29262
Child, pid=29263
Parent, child=29263
Started, pid=29262
Child, pid=29264
Parent, child=29264
Started, pid=29262
Child, pid=29265
Parent, child=29265
Started, pid=29262
Child, pid=29266
Parent, child=29266
Started, pid=29262
Child, pid=29267
Parent, child=29267
Started, pid=29262
Child, pid=29268
Parent, child=29268
Started, pid=29262
Child, pid=29269
Parent, child=29269
Started, pid=29262
Child, pid=29270
Parent, child=29270
Started, pid=29262
Child, pid=29271
Parent, child=29271
Started, pid=29262
Child, pid=29272
Parent, child=29272
Started, pid=29262
Child, pid=29273
Parent, child=29273
Started, pid=29262
Child, pid=29274
Parent, child=29274
Started, pid=29262
Child, pid=29275
Parent, child=29275
Started, pid=29262
Child, pid=29276
Parent, child=29276
}}}

And so to infinity.

Perhaps you should try it in different Linux distributions and versions inside 
virtual machines.

Regards,

Shlomi Fish

 The core dump is of no use whats o' ever - it shows an rip of 0. If the
 program is run from within strace, there is no segmentation fault. Same
 goes if it is being run by gdb or valgrind. In fact, I'm having a
 somewhat difficult time deciding whether it is the parent or the child
 that dumps core! (adding a printf after the wait confirms that the
 child returned with status code 0, so it must be the parent that is seg
 faulting).

 help?

 Shachar

-- 
-
Shlomi Fish   http://www.shlomifish.org/
Understand what Open Source is - http://xrl.us/bjn82

God gave us two eyes and ten fingers so we will type five times as much as we
read.

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Help - can anyone explain this segfault?

2009-06-19 Thread Shachar Shemesh

Dotan Shavit wrote:

On Friday 19 June 2009, Shachar Shemesh wrote:
  

help?



From man vfork:

behavior is undefined if the process created by vfork() returns from the 
function in which vfork() was called...


#
  

Well done, you nailed it.

Placing an explicit call to exit for the child process solves the segfault.

Now I can try and find out why this doesn't work with fakeroot-ng :-)

Shachar

--
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
http://www.lingnu.com

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: OT: Help with simple Linux maintenance

2009-06-17 Thread Leonid Podolny

Dotan Cohen wrote:

All they did
was take my money, and when I could not connect for three days they
refused to help me. After three days I had to sign up with another ISP
just to get an internet connection, and Netvision refues to let me out
of my one-year contract with them. 


IANAL and such, but there is a law that says that you can cancel a 
service up to the point that they started actually giving you this service.
I experienced it at the very similar situation some years ago: I 
switched ISPs (012 to Actcom, I think) because the former one wouldn't 
give the DHCP connection. Some days after a representative from 012 
called me and promised that I will receive my DHCP connection and 
assured me that Actcom don't have grounds to keep me. So I called Actcom 
and cancelled the subscription.
In your case I would call their bluff, send them a fax or a snail-mail 
letter that you are not interested in their services and have the credit 
company stop paying them. Again, all the usual precautions apply, IANAL, 
IMMV, I'm not responsible for the damage, etc.


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: OT: Help with simple Linux maintenance

2009-06-17 Thread Dotan Cohen
 IANAL and such, but there is a law that says that you can cancel a service
 up to the point that they started actually giving you this service.
 I experienced it at the very similar situation some years ago: I switched
 ISPs (012 to Actcom, I think) because the former one wouldn't give the DHCP
 connection. Some days after a representative from 012 called me and promised
 that I will receive my DHCP connection and assured me that Actcom don't have
 grounds to keep me. So I called Actcom and cancelled the subscription.
 In your case I would call their bluff, send them a fax or a snail-mail
 letter that you are not interested in their services and have the credit
 company stop paying them. Again, all the usual precautions apply, IANAL,
 IMMV, I'm not responsible for the damage, etc.


They had given me a few weeks of service before the three-day outage.
And I did in fact cancel the automatic card payments.

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: OT: Help with simple Linux maintenance

2009-06-16 Thread geoffrey mendelson


On Jun 16, 2009, at 2:44 AM, Gal Goldschmidt wrote:


I guess I can buy a router, configure it and sent it to her, the  
problem is who will connect the right cables in the right place.



It should be pretty simple.  With one computer, it's 2 cables. If you  
go with the wireless option you can do it with only one and no work at  
all if the network is unprotected and depending upon which linux she  
is running, it may be relatively easy to use a protected one.


It took about 30 seconds to set up access to my WiFi network under  
Ubuntu before they went with network manager (pre-9.04) and with 9.04  
it took even less. All you need to know is the SSID of the network and  
the WPA/WEP key.


Some routers use color coded jacks, some don't. A little piece of  
colored tape would help if not.


If she speaks English, gets a TP-Link router from Ivory, and has a  
landline phone, I'd gladly call her and walk her through everything.


I'm also familar with EDIMAX routers and the BEZEQ Siemens one, but  
that's aDSL only.



Geoff.

--
geoffrey mendelson N3OWJ/4X1GM
Jerusalem Israel geoffreymendel...@gmail.com






___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: OT: Help with simple Linux maintenance

2009-06-16 Thread Ez-Aton
I have had to fake the entire add/remove software for Cellcom cellular 
modem with a tech support until I broke and just asked for the default 
init strings. This was funny. I was removing the drivers through the 
control panel and through 'add-remove software', rebooting and then 
reinstalling the drivers for my Sierra modem. Actually, I ejected the 
PCMCIA card and rmmod'ed the drivers, and then put the card back in. And 
they say Windows is more comfortable... :-/


Just needed init strings so I will not go through the WAP connection. 
Waste of money and capabilities.


Ez

Dotan Cohen wrote:

I'm not sure I agree with your claim about old Actcom's staff. I know most
of them (except one, I think) were not hired by Bezeq Int.




Really? They assured me that the staff stayed, and I have gotten
L-word help when I needed it. Netvision would not help me when I
couldn't tell the nice young idiot on the phone which version of
Windows Ubuntu is.

  
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: OT: Help with simple Linux maintenance

2009-06-16 Thread Dotan Cohen
 and Netvision are thieves who want our money, not our business. They
 deserve neither.

 That may be true, and certainly they (well, Barak) want our business
 because of the money we pay, can't fault that, can we?... FWIW,
 Netvision have always (since 1996 for me) provided decent Linux
 support (not that I used it heavily), including dial scripts that I
 was offered but never used, etc.


Back in 2001 Netvision was the only company that would deal with the
L-word. I was very happy with them. Some appartment moves and ISPs
later, I tried moving back to Netvision in January 2009. All they did
was take my money, and when I could not connect for three days they
refused to help me. After three days I had to sign up with another ISP
just to get an internet connection, and Netvision refues to let me out
of my one-year contract with them. They said that three days is not
enough to release me from the contract, even two weeks would not be
enough (their words, not mine). I told them that they already lost me
as a customer for the year (I had to sign up with another ISP), are
they trying to lose me as a customer for life? They said that they
don't care so long as I continue paying for the remainder of the
contract.

They are getting my money for the remainder of the year. They will
never get my business, and I will make it very clear to potential
Netvision customers exactly what the company has turned into.

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: OT: Help with simple Linux maintenance

2009-06-16 Thread Oleg Goldshmidt
Gal Goldschmidt g...@cs.haifa.ac.il writes:

 From time to time I get blocked, especially if I switch the hardware
 connected to the modem.

snip

 I guess I can buy a router, configure it and sent it to her, the
 problem is who will connect the right cables in the right place.

I don't experience this problem. It is true that I have a router
connected to the modem and never change it. But then, from your
description I suspect that your friend will connect a computer to the
modem and never change anything, isn't this right? No need for a
router. That's one cable to connect, once...

Anyway, that was just a suggestion.

-- 
Oleg Goldshmidt | p...@goldshmidt.org

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: OT: Help with simple Linux maintenance

2009-06-15 Thread Dotan Cohen
 I'm not sure I agree with your claim about old Actcom's staff. I know most
 of them (except one, I think) were not hired by Bezeq Int.


Really? They assured me that the staff stayed, and I have gotten
L-word help when I needed it. Netvision would not help me when I
couldn't tell the nice young idiot on the phone which version of
Windows Ubuntu is.

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: OT: Help with simple Linux maintenance

2009-06-15 Thread guy keren

Dotan Cohen wrote:

I'm not sure I agree with your claim about old Actcom's staff. I know most
of them (except one, I think) were not hired by Bezeq Int.



Really? They assured me that the staff stayed, and I have gotten
L-word help when I needed it. Netvision would not help me when I
couldn't tell the nice young idiot on the phone which version of
Windows Ubuntu is.



as far as i was told - none of actcom's employees were initially signed 
by bezeq. it _could_ be that later on they acquired some of them back (i 
didn't follow this afterwards).


i do know that the system people are certainly not actcom's people.

--guy

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: OT: Help with simple Linux maintenance

2009-06-15 Thread Oleg Goldshmidt

 She has a Linux laptop fully functional with Kbuntu 9.04.  It is
 connected via Ethernet to a cable modem.  The cable modem is
 working and the computer receives a cable IP .

 She has a Netvision account and the connect script was tested with
 a cable modem at my place and it worked.  The script also worked
 when every command is cut, paste and executed in a root shell.
 But, running the script with sudo yield nothing.

Gal, 

Maybe a much simpler solution for your friend will be to call the
provider and tell them she is not interested in dialing them and wants
a direct DHCP connection. No scripts, dialers, setup (well, DHCP), or
anything like that, at no extra cost? I don't think I have ever used a
dialer with broadband (i.e., from the moment I moved from dial-up to
ADSL and then to cable), and if my memory betrays me and I did in the
beginning, certainly not in many, many years. Frankly, I didn't even
think dialers existed any more as a mainstream feature...

IIRC, when I tried to re-hook with Netvision a couple of years ago
they were in the process of merging with Barak, and told me that since
they were merging the infrastructures if I wanted direct DHCP I had to
get a Barak account. Now the two are the same company, right?

 and Netvision are thieves who want our money, not our business. They
 deserve neither.

That may be true, and certainly they (well, Barak) want our business
because of the money we pay, can't fault that, can we?... FWIW,
Netvision have always (since 1996 for me) provided decent Linux
support (not that I used it heavily), including dial scripts that I
was offered but never used, etc.

The trick is to call them and tell them on the phone that you have
Linux, and you want to talk to someone knowledgeable. This always
worked for me in the past, i.e., I was called back by someone
reasonably proficient. Though I am still a Barak customer I don't call
tech support much (well, DHCP just works), so I don't know if that
changed after the merger.

-- 
Oleg Goldshmidt | p...@goldshmidt.org

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: OT: Help with simple Linux maintenance

2009-06-15 Thread Gal Goldschmidt
Hi Oleg,

We tried to get a direct connection without a dialer, when we 
opened the account for her.
Netvision although a few months after the merge with Barak, refused to give a 
Barak account with no dialer.
I have a Barak account, no dialer, but they are not giving it any more ( the 
last time I checked)
From time to time I get blocked, especially if I switch the hardware connected 
to the modem. Then I suppose to be automatically redirected  to some portal to 
give my user and password. The last time It happened, I did not get redirected 
and I had to call the support team to find out what is going on.
Only after we threaten to disconnect, we got a call form a Linux support guy, 
he gave me the portal direct URL.
To all Barak DHCP cable users, if you get a real IP and you can ping your 
gateway, but nothing else, use this URL:
https://212.150.75.203:38181/barakportal/

I guess I can buy a router, configure it and sent it to her, the problem is 
who will connect the right cables in the right place.

Gal 

On Tuesday 16 June 2009 00:40:47 Oleg Goldshmidt wrote:
  She has a Linux laptop fully functional with Kbuntu 9.04.  It is
  connected via Ethernet to a cable modem.  The cable modem is
  working and the computer receives a cable IP .
 
  She has a Netvision account and the connect script was tested with
  a cable modem at my place and it worked.  The script also worked
  when every command is cut, paste and executed in a root shell.
  But, running the script with sudo yield nothing.

 Gal,

 Maybe a much simpler solution for your friend will be to call the
 provider and tell them she is not interested in dialing them and wants
 a direct DHCP connection. No scripts, dialers, setup (well, DHCP), or
 anything like that, at no extra cost? I don't think I have ever used a
 dialer with broadband (i.e., from the moment I moved from dial-up to
 ADSL and then to cable), and if my memory betrays me and I did in the
 beginning, certainly not in many, many years. Frankly, I didn't even
 think dialers existed any more as a mainstream feature...

 IIRC, when I tried to re-hook with Netvision a couple of years ago
 they were in the process of merging with Barak, and told me that since
 they were merging the infrastructures if I wanted direct DHCP I had to
 get a Barak account. Now the two are the same company, right?

  and Netvision are thieves who want our money, not our business. They
  deserve neither.

 That may be true, and certainly they (well, Barak) want our business
 because of the money we pay, can't fault that, can we?... FWIW,
 Netvision have always (since 1996 for me) provided decent Linux
 support (not that I used it heavily), including dial scripts that I
 was offered but never used, etc.

 The trick is to call them and tell them on the phone that you have
 Linux, and you want to talk to someone knowledgeable. This always
 worked for me in the past, i.e., I was called back by someone
 reasonably proficient. Though I am still a Barak customer I don't call
 tech support much (well, DHCP just works), so I don't know if that
 changed after the merger.


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: OT: Help with simple Linux maintenance

2009-06-15 Thread Yuval Hager
On Tuesday 16 June 2009, Gal Goldschmidt wrote:
 Hi Oleg,

 We tried to get a direct connection without a dialer, when we
 opened the account for her.
 Netvision although a few months after the merge with Barak, refused to
 give a Barak account with no dialer.
 I have a Barak account, no dialer, but they are not giving it any more
 ( the last time I checked)

Usually they refuse at the beginning, but when I say the magic word Linux, 
they sigh and give me the non-dialer account. This worked for the past 7 
years or so.

-y


signature.asc
Description: This is a digitally signed message part.
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


OT: Help with simple Linux maintenance

2009-06-14 Thread Gal Goldschmidt
Hi,

A friend of mine is looking for basic Linux support at the Safed area.
It is hard for me to drive there for personal reasons.

She has a Linux laptop fully functional with Kbuntu 9.04.
It is connected via Ethernet to a cable modem.
The cable modem is working and the computer receives a cable IP .

She has a Netvision account and the connect script was tested with a cable  
modem at my place and it worked.
The script also worked when every command is cut, paste and executed in a root 
shell.
But, running the script with sudo yield nothing.

She is willing to pay for your time if you can get the script to work an be on 
call when events like this pop up.

Please answer to me directly and not to the mailing list.

Thank You,
Gal
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: OT: Help with simple Linux maintenance

2009-06-14 Thread Dotan Cohen
 A friend of mine is looking for basic Linux support at the Safed area.
 It is hard for me to drive there for personal reasons.

 She has a Linux laptop fully functional with Kbuntu 9.04.
 It is connected via Ethernet to a cable modem.
 The cable modem is working and the computer receives a cable IP .

 She has a Netvision account and the connect script was tested with a cable
 modem at my place and it worked.
 The script also worked when every command is cut, paste and executed in a
 root shell.
 But, running the script with sudo yield nothing.

 She is willing to pay for your time if you can get the script to work an be
 on call when events like this pop up.

 Please answer to me directly and not to the mailing list.

 Thank You,
 Gal

She shouldn't have to pay someone. Either a Netvision tech should help
her, or she should move to Bezeq Beinleumi. I know, I know, about both
companies' reputations, I have been a Netvision customer since 2001
and Bezeq Beinleumi was once considered terrible. Today, Bezeq
Beinleumi gives great Linux support (they have the old Actcom staff)
and Netvision are thieves who want our money, not our business. They
deserve neither.

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: OT: Help with simple Linux maintenance

2009-06-14 Thread Ez-Aton
I'm not sure I agree with your claim about old Actcom's staff. I know 
most of them (except one, I think) were not hired by Bezeq Int.



Gal - about your friend - you could try this. Might help you.


http://run.tournament.org.il/cables-connection-in-israel-for-linux/


Ez


Dotan Cohen wrote:


A friend of mine is looking for basic Linux support at the Safed area.
It is hard for me to drive there for personal reasons.

She has a Linux laptop fully functional with Kbuntu 9.04.
It is connected via Ethernet to a cable modem.
The cable modem is working and the computer receives a cable IP .

She has a Netvision account and the connect script was tested with a cable
modem at my place and it worked.
The script also worked when every command is cut, paste and executed in a
root shell.
But, running the script with sudo yield nothing.

She is willing to pay for your time if you can get the script to work an be
on call when events like this pop up.

Please answer to me directly and not to the mailing list.

Thank You,
Gal



She shouldn't have to pay someone. Either a Netvision tech should help
her, or she should move to Bezeq Beinleumi. I know, I know, about both
companies' reputations, I have been a Netvision customer since 2001
and Bezeq Beinleumi was once considered terrible. Today, Bezeq
Beinleumi gives great Linux support (they have the old Actcom staff)
and Netvision are thieves who want our money, not our business. They
deserve neither.

  
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: OT: Help with simple Linux maintenance

2009-06-14 Thread Shahar Dag
Hi

If it is working from the terminal command after command, it seems that the 
script is not waiting for the completion (meaning waiting till all the side 
effects are done) of one command before it starts the next.
It seems that the easy way to test it, is to put a large sleep between every 2 
commands
(I am sure that there is a more elegant way to solve this, but I don't know it)

Shahar
  - Original Message - 
  From: Dotan Cohen 
  To: Gal Goldschmidt 
  Cc: linux-il 
  Sent: Monday, June 15, 2009 12:30 AM
  Subject: Re: OT: Help with simple Linux maintenance


   A friend of mine is looking for basic Linux support at the Safed area.
   It is hard for me to drive there for personal reasons.
  
   She has a Linux laptop fully functional with Kbuntu 9.04.
   It is connected via Ethernet to a cable modem.
   The cable modem is working and the computer receives a cable IP .
  
   She has a Netvision account and the connect script was tested with a cable
   modem at my place and it worked.
   The script also worked when every command is cut, paste and executed in a
   root shell.
   But, running the script with sudo yield nothing.
  
   She is willing to pay for your time if you can get the script to work an be
   on call when events like this pop up.
  
   Please answer to me directly and not to the mailing list.
  
   Thank You,
   Gal

  She shouldn't have to pay someone. Either a Netvision tech should help
  her, or she should move to Bezeq Beinleumi. I know, I know, about both
  companies' reputations, I have been a Netvision customer since 2001
  and Bezeq Beinleumi was once considered terrible. Today, Bezeq
  Beinleumi gives great Linux support (they have the old Actcom staff)
  and Netvision are thieves who want our money, not our business. They
  deserve neither.

  -- 
  Dotan Cohen

  http://what-is-what.com
  http://gibberish.co.il

  ___
  Linux-il mailing list
  Linux-il@cs.huji.ac.il
  http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Help setting up xfce4 on ubuntu 8.04 - does not connect with Dbus -- Blank screen

2009-05-21 Thread Lev Olshvang



Hi All,

I have  stripped down  ubuntu 8.04no X windows (installed  with 
debootstrap)


Now I am adding XFCE desktop


XServer starts up normally (ps + Xorg.log) , but xfce gives strange 
errors and screen remains blank :


more .xsession-errors
Xsession: X session started for vbox at Thu May 21 20:41:42 UTC 2009


** (xfdesktop:6742): WARNING **: Unable to initialise D-Bus.  Some 
xfdesktop features may be unavailable.


** (xfdesktop:6742): WARNING **: Unable to initialise D-Bus.  Some 
xfdesktop features may be unavailable.


** (xfdesktop:6742): WARNING **: Unable to initialise D-Bus.  Some 
xfdesktop features may be unavailable.


** (xfdesktop:6742): WARNING **: Unable to initialise D-Bus.  Some 
xfdesktop features may be unavailable.


** (xfdesktop:6742): WARNING **: Unable to initialise D-Bus.  Some 
xfdesktop features may be unavailable.


(xfwm4:6733): libxfcegui4-WARNING **: ICE I/O Error

(xfwm4:6733): libxfcegui4-WARNING **: Disconnected from session manager.

(xfdesktop:6742): libxfcegui4-WARNING **: ICE I/O Error

(xfdesktop:6742): libxfcegui4-WARNING **: Disconnected from session manager.
xfce-mcs-manager: Fatal IO error 11 (Resource temporarily unavailable) 
on X server :0.0.

xfwm4: Fatal IO error 2 (No such file or directory) on X server :0.0.
** Message: Xfce Menu: screen changed: 0

** Message: No valid plug window.

(xfce4-panel:6735): Gtk-CRITICAL **: gtk_socket_get_id: assertion 
`GTK_WIDGET_ANCHORED (socket)' failed


** (xfce4-panel:6735): CRITICAL **: An item was unexpectedly removed: 
Xfce Menu.


(xfce4-panel:6735): libxfcegui4-WARNING **: ICE I/O Error

(xfce4-panel:6735): libxfcegui4-WARNING **: Disconnected from session 
manager.
xfce4-panel: Fatal IO error 11 (Resource temporarily unavailable) on X 
server :0.0.
xfdesktop: Fatal IO error 11 (Resource temporarily unavailable) on X 
server :0.0.


(xfce4-menu-plugin:6765): Gtk-WARNING **: cannot open display: :0.0
Xsession: X session started for vbox at Thu May 21 20:49:42 UTC 2009



r...@lev:~# ps -ef |grep dbus
105   2262 1  0 20:46 ?00:00:00 /usr/bin/dbus-daemon 
--system



___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


<    1   2   3   4   5   6   7   8   9   >