Re: problems upgrading an Ubuntu EC2 node

2016-02-22 Thread Amit Aronovitch
Posting the fix to list, in case someone searches the archives:

Turns out that there were some leftover upstart files in /etc/init/, which
apparently belonged to an old package (lxcguest) which had been uninstalled
but left configured (possibly a remainder from a previous upgrade).
Moving them away (by attaching and mounting the root volume onto another,
live, machine) made the upgraded-ubuntu-machine bootable.

The solution was taken from this link (which also details the diagnosis):

http://www.nicksherlock.com/2015/01/my-ec2-server-wouldnt-boot-after-apt-get-dist-upgrade-i-fixed-it/

Thanks Shimi for the quick response and for pointing out that link to me.

AA

p.s. I still have no idea why attaching this volume to a stopped machine
had made it unbootable (upstart cannot be affected by extra disks that are
not even automounted via fstab).
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: problems upgrading an Ubuntu EC2 node

2016-02-20 Thread Amit Aronovitch
whoops. Forgot to attach log:

Xen Minimal OS!
  start_info: 0xa01000(VA)
nr_pages: 0x26700
  shared_inf: 0x7ccbf000(MA)
 pt_base: 0xa04000(VA)
nr_pt_frames: 0x9
mfn_list: 0x967000(VA)
   mod_start: 0x0(VA)
 mod_len: 0
   flags: 0x0
cmd_line: root=/dev/sda1 ro 4
  stack:  0x946780-0x966780
MM: Init
  _text: 0x0(VA)
 _etext: 0x621f5(VA)
   _erodata: 0x76000(VA)
 _edata: 0x7b6d4(VA)
stack start: 0x946780(VA)
   _end: 0x966d34(VA)
  start_pfn: a10
max_pfn: 26700
Mapping memory range 0xc0 - 0x2670
setting 0x0-0x76000 readonly
skipped 0x1000
MM: Initialise page allocator for b3e000(b3e000)-0(2670)
MM: done
Demand map pfns at 26701000-36701000.
Heap resides at 36702000-76702000.
Initialising timer interface
Initialising console ... done.
gnttab_table mapped at 0x26701000.
Initialising scheduler
Thread "Idle": pointer: 0x36702008, stack: 0xbf
Initialising xenbus
Thread "xenstore": pointer: 0x36702478, stack: 0x2660
Dummy main: start_info=0x966880
Thread "main": pointer: 0x367028e8, stack: 0x2661
"main" "root=/dev/sda1" "ro" "4"
vbd 2049 is hd0
*** BLKFRONT for device/vbd/2049 **


backend at /local/domain/0/backend/vbd/7625/2049
Failed to read /local/domain/0/backend/vbd/7625/2049/feature-barrier.
Failed to read /local/domain/0/backend/vbd/7625/2049/feature-flush-cache.
16777216 sectors of 0 bytes
**
  Booting 'Ubuntu 14.04.3 LTS, kernel 3.13.0-77-generic'


root  (hd0)

 Filesystem type is ext2fs, using whole disk

kernel  /boot/vmlinuz-3.13.0-77-generic root=LABEL=cloudimg-rootfs ro
console=h

vc0

initrd  /boot/initrd.img-3.13.0-77-generic


close blk: backend at /local/domain/0/backend/vbd/7625/2049
[0.00] Reserving virtual address space above 0xf580
[0.00] Initializing cgroup subsys cpuset
[0.00] Initializing cgroup subsys cpu
[0.00] Initializing cgroup subsys cpuacct
[0.00] Linux version 3.13.0-77-generic (buildd@lcy01-35) (gcc
version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #121-Ubuntu SMP Wed Jan 20
10:50:59 UTC 2016 (Ubuntu 3.13.0-77.121-generic 3.13.11-ckt32)
[0.00] KERNEL supported cpus:
[0.00]   Intel GenuineIntel
[0.00]   AMD AuthenticAMD
[0.00]   NSC Geode by NSC
[0.00]   Cyrix CyrixInstead
[0.00]   Centaur CentaurHauls
[0.00]   Transmeta GenuineTMx86
[0.00]   Transmeta TransmetaCPU
[0.00]   UMC UMC UMC UMC
[0.00] ACPI in unprivileged domain disabled
[0.00] e820: BIOS-provided physical RAM map:
[0.00] Xen: [mem 0x-0x0009] usable
[0.00] Xen: [mem 0x000a-0x000f] reserved
[0.00] Xen: [mem 0x0010-0x26ef] usable
[0.00] NX (Execute Disable) protection: active
[0.00] DMI not present or invalid.
[0.00] e820: last_pfn = 0x26f00 max_arch_pfn = 0x100
[0.00] Scanning 1 areas for low memory corruption
[0.00] init_memory_mapping: [mem 0x-0x000f]
[0.00] init_memory_mapping: [mem 0x2640-0x265f]
[0.00] init_memory_mapping: [mem 0x2400-0x263f]
[0.00] init_memory_mapping: [mem 0x0010-0x23ff]
[0.00] init_memory_mapping: [mem 0x2660-0x26ef]
[0.00] RAMDISK: [mem 0x01df1000-0x02b56fff]
[0.00] 0MB HIGHMEM available.
[0.00] 623MB LOWMEM available.
[0.00]   mapped low ram: 0 - 26f0
[0.00]   low ram: 0 - 26f0
[0.00] Zone ranges:
[0.00]   DMA  [mem 0x1000-0x00ff]
[0.00]   Normal   [mem 0x0100-0x26ef]
[0.00]   HighMem  empty
[0.00] Movable zone start for each node
[0.00] Early memory node ranges
[0.00]   node   0: [mem 0x1000-0x0009]
[0.00]   node   0: [mem 0x0010-0x26ef]
[0.00] Using APIC driver default
[0.00] SFI: Simple Firmware Interface v0.81
http://simplefirmware.org
[0.00] smpboot: Allowing 1 CPUs, 0 hotplug CPUs
[0.00] Found and enabled local APIC!
[0.00] PM: Registered nosave memory: [mem 0x000a-0x000f]
[0.00] e820: [mem 0x26f0-0x] available for PCI devices
[0.00] Booting paravirtualized kernel on Xen
[0.00] Xen version: 3.4.3.amazon (preserve-AD)
[0.00] setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:1
nr_node_ids:1
[0.00] PERCPU: Embedded 14 pages/cpu @e66eb000 s35520 r0 d21824
u57344
[78632869.862863] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 158145
[78632869.862866] Kernel command line: root=LABEL=cloudimg-rootfs ro
console=hvc0
[78632869.864004] PID hash table entries: 4096 (order: 2, 16384 bytes)
[78632869.864104] Dentry cache hash table entries: 131072 (order: 7, 524288
bytes)
[78632869.864372] Inode-cache hash table entries: 

problems upgrading an Ubuntu EC2 node

2016-02-20 Thread Amit Aronovitch
Hi list,

I have an Ubuntu machine on EC2, which I have been trying to upgrade from
12.04 to 14.04 using the do-release-upgrade command.
This seemed to work well, but when it finally rebooted, it became
unreachable (shows 1/2 checks passed in the EC2 management console, does
not respond to ssh).
I repeated the process twice (restored from image, upgraded), with the same
results.
Also, when I try to attach the "upgraded" root disk image to a working node
as an extra disk, that node becomes unrestartable too (loses connectivity
if you try to restart it with this disk attached, but works OK if you
detach it).

Did anyone encounter such an issue before? Any idea how to solve this other
than installing a vanilla node from scratch and moving all the local
installations manually?

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


scientific computing meeting: Tomorrow, 11/6/2012 in TelAviv

2012-06-10 Thread Amit Aronovitch
Hebrew announcement will be followed by an English one

תזכורת אחרונה:

ביום שני 11/6/2012, בשעה 19:00, תתקיים פגישה בנושא כלים חופשיים לחישוב
מדעי, באתר הספריה, מגדל שלום, תל אביב.
(שם עברי לקבוצה החדשה אין לי עדיין - אז הצעות יתקבלו בברכה)

הפגישה פתוחה לכולם, אבל *יש לאשר הגעה מראש* (בטופס: http://alturl.com/dsj2y,
או עי מייל אלי), עבור אישור כניסה לבניין.

ההרצאה העיקרית הפעם תהיה מבוא לחישוב מדעי בפייתון, עי אורי ברקן, ואני
אוסיף הרצאה קצרה על Weave.
כנראה יינתן זמן להרצאות בזק, אז למי שיש משהו שיכול להכנס ב 5-10 דקות - נשמח
לשמוע (נא לפנות אלי).

פרטים נוספים באתר: http://alturl.com/turwv


Last reminder

Tomorrow, Monday 11/6/2012, we will hold a meeting featuring talks about
free scientific computing tools.
The event will take place in Tel Aviv (at The Library, Shalom tower, 9
Ehad Ha'am).

Entrance is free, but please *confirm your attendance in advance*, using
the web form: http://alturl.com/dsj2y, email, or phone (available on
website link below).
Main talk will be about Python vs. Matlab, by Uri Barkan.
Also, I will talk about Weave, and we will use the remaining time for
lightning talks (please contact me if you have something to talk about).

For further details, see website: http://alturl.com/turwv

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


new group: number-crunching with free tools

2012-04-19 Thread Amit Aronovitch
ברצוני לבשר על הקמת קבוצה חדשה, שתנהל מפגשים פעם בחודש, בנושאים
הקשורים לחישוב מדעי/נומרי בעזרת כלים חופשיים.
קהל היעד הוא כל מי שמשתמש או רוצה להשתמש בכלים הללו - פתוח לכל, עד כדי
מגבלת מקום.

בינתיים יש אתר[1], ומעכשיו גם רשימת דיוור[2]. בימים הקרובים נתחיל לדבר
על תאריך, מקום ותוכן.
אז כל מי שיש לו מה להגיד בעניין - קדימה להרשם - כל הקודם זוכה
(אין עדיין פרסים, אבל גם כבוד זה משהו (-: )

עא

English:
New group, monthly meetings,
website[1],
mailing list[2],
the rest: TBD in near future.
seeya around,

AA

[1] http://www.numberjacks.org/israel
[2] http://mail.numberjacks.org/cgi-bin/mailman/listinfo/numberjacks-il
 ( numberjacks-il AT mail.numberjacks.org )
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: FSF Campaign against Microsoft's Plan to Enforce Secure Boot

2011-10-25 Thread Amit Aronovitch
Setting aside the amusing political debates and going back to the original
topic - what's the actual status of the UEFI boot issue?

(Following up on the link from Tzafrir's
post:http://mjg59.dreamwidth.org/6503.html,
see my comments below )

On Mon, Oct 24, 2011 at 1:56 AM, Amos Shapira amos.shap...@gmail.comwrote:

 On 23 October 2011 22:06, geoffrey mendelson
 geoffreymendel...@gmail.com wrote:
 
  On Oct 23, 2011, at 12:28 PM, Shlomi Fish wrote:
 
  The Free Software Foundation started a campaign called “Stand up for
 your
  freedom to install free software!” about Microsoft's plan to enforce
  “Secure Boot” in the installations of Windows 8, which will prevent
 people
  from being able to boot into GNU/Linux, one of the BSD variants, or
 other
  operating systems. You can sign it here:
 
  http://www.fsf.org/campaigns/secure-boot-vs-restricted-boot/statement
 
 
  It's pure FUD.
  we are concerned that Microsoft and hardware manufacturers will
 implement
  these boot restrictions in a way that will prevent users from booting
  anything other than Windows.
 
  Not that they are, or saying they will, or even hinted they will.

 I didn't follow the detail but a few weeks ago this made a noise on
 Slashdot and as far as I'm aware Microsoft issued a statement which
 calmed down the activists and it became a none-issue. I didn't follow
 it closely so I might be wrong.


Can you help locating the MS statement that you describe?

Some relevant details, described in Mathew Garett's post (thanks Tzafrir for
the link), and some of the replies there:

1. Problems with the proposed UEFI boot standard boil down to the fact that
it lacks any means to allow the *owner of the hardware* to edit the list of
trusted keys (load new keys, delete old ones).

2. It seems to me that some aspects of this are in fact a security issue,
which should also be in the interest of Microsoft to solve (e.g. they would
probably want some means to recover in case one of their keys get stolen).

3. Some solution to the problem (a mechanism for loading keys from specially
formatted removable media) will be (is being) suggested by Garrett to UEFI
during this week's plugfest http://www.uefi.org/events/

4. Readers of this group should be interested to know that this solution
(whatever other advantages/disadvantages it might have) would allow you to
end up being able to boot kernels (or bootloaders) that you compiled
yourself and signed with your own private key.

Hence: if that MS statement contained some indication that Microsoft would
support such a solution, indeed I see no serious reason to worry.
Either way, we should follow closely for reports from the plugfest
conclusions next week.

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


Re: FSF Campaign against Microsoft's Plan to Enforce Secure Boot

2011-10-25 Thread Amit Aronovitch
On Tue, Oct 25, 2011 at 5:51 PM, geoffrey mendelson 
geoffreymendel...@gmail.com wrote:


 On Oct 25, 2011, at 5:37 PM, Amit Aronovitch wrote:

  Setting aside the amusing political debates and going back to the original
 topic - what's the actual status of the UEFI boot issue?



 1. Microsoft never said they would do what the FSF claims they would.

 2. Microsoft has said, but not in these words, we were not going to do
 this.

 If you want a somewhat relevant and entertaining experience watch the movie
 Minority Report.


My concern in that message was regarding standartization of BIOS boot
protocols, and whether or not future standards would allow you to boot your
own self-compiled/self-signed kernels.

Whatever or not the FSF announcement said. Microsoft is *not* the authority
responsible for that, merely one out of 11 companies (including Apple and
IBM) which are represented in the relevant forum.

The relevance of FSF in the matter is only due to the fact that they brought
this specific issue to the attention of this specific list.
Microsoft's opinion (and I mean their opinion on BIOS boot options, not on
Stallman or his visit to Israel^H^HPalestine) is relevant because I suppose
that they are strongly represented, and unlikely to be ignored (Redhat is
not listed on UEFI site, so I suppose Mathew Garrett's suggestions will get
less attention than ideas brought forward by Microsoft).
Hence my interest in the statement mentioned here.

Took a while, but while writing this reply I finally got your point about
Minority Report (been a while, and all I remembered from the film was Tom
Cruise waving his hands to operate that then-futuristic-looking GUI) :-)

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


Re: FSF Campaign against Microsoft's Plan to Enforce Secure Boot

2011-10-24 Thread Amit Aronovitch
On Mon, Oct 24, 2011 at 6:03 PM, Nadav Har'El n...@math.technion.ac.ilwrote:

 On Mon, Oct 24, 2011, Steve G. wrote about Re: FSF Campaign against
 Microsoft's Plan to Enforce Secure Boot:
  at least  MS are not openly anti-Israeli, anti-Semitic,
  or anti 'the bad Jews/Israeli'.

 Indeed. I still remember very vividly a meeting held 11 years ago in the
 ISOC-IL offices, about the sad state of Hebrew support on the Web.
 The conclusion was that, sadly but truely, Microsoft was the only one that
 bothered fixing its browser (IE 5, at the time) to support new standards
 that will help Israeli users - namely logical order Hebrew text
 (Unicode's
 bidi, see http://www.unicode.org/reports/tr9/tr9-1.html).

 Our knight in shiny armor, Netscape, did nothing to solve the our
 (Israelis')
 problems, and forced us to use the ridiculous visual order method.


Yeah, but Netscape was far from being a knight.
 Royalty free browser is fine, support over more than one OS even better,
but that's not free software.
Uncontrolled race of un-standardized/half-baked html extensions - as bad
as their competitor, if not worse.
It only donned armor on its deathbed (by freeing the code and forming
Mozilla).
מודה ועוזב ירוחם

Mozilla, the recently announced free spin-off from Netscape, also didn't
 help.


Takes time for new FOSS project to digest a large inherited codebase (and
weren't they busy with infrastructure work, such as XUL, at the time?)

IBM, that volunteered to solve this problem in Netscape, proposed a patch,
 but Netscape didn't even care enough about us Israelis to apply it.
 It would take several more years until Isralis finally had a free browser
 that
 supported logical-order (bidi) Hebrew.

 So despite all its other flaws, Microsoft does indeed care about Israel and
 Israelis.


People care. Corporations seek profit for investors. Some people would argue
that this is more a virtue than a flaw.
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: FSF Campaign against Microsoft's Plan to Enforce Secure Boot

2011-10-24 Thread Amit Aronovitch
On Mon, Oct 24, 2011 at 1:51 PM, geoffrey mendelson 
geoffreymendel...@gmail.com wrote:


 On Oct 24, 2011, at 1:56 AM, Amos Shapira wrote:


 I wrote:


 The FSF is struggling to regain some semblance of public support after
 RMS's
 disastrous FSF boycott of Israel and his comments about Steve Jobs. Do
 the
 world a favor and let the FSF die with dignity, instead of being
 remembered
 as a bunch of racist FUDslinging lunatics.



 Amos wrote:

 Were there echoes of this argument outside Israel?



 Yes, the hi-tech field is both heavily invested in Israel and populated by
 Jews. It spread like wildfire even making the BBC and other media. So while
 people who support the Palestinian cause, where cheering that he made a
 stand, everyone with investment in Israel, or a business dependent upon
 Israeli products, or Israeli developed technology was aghast.

 It's one thing to not have a Jew in your country club or marry your
 children, but it's completely different to have your stock portfolio become
 worthless paper.

 RMS's comments on Steve Jobs where much nicer than he was given credit for.
 However the press was looking for a way to get rid of him, and that was it.

 I am a US citizen, I vote in US elections, and I file US tax returns. There
 some things I leave to US residents and if I were a resident of
 Massachusetts I would have filed complaints to the Secretary of State and
 the IRS that RMS's boycott, as President of the FSF, of Israel was cause to
 dissolve the corporation and revoke their tax exempt status.

 The founders of the FSF tried to do a legal trick when they incorporated to
 get more ability to spread their message, but it also restricts them from
 such activity.

 I did not file those complaints, but I expect that other people also read
 their articles of incorporation (it's on their web site), spent 10 seconds
 with google looking up the law behind it, (wikipedia has a good article) and
 did file complaints.



Sorry for not following up on the legal issues (getting too tired right
now), but I thought that Israel was the country that tried to legislate a
non-boycott law :-)

If US law forbade boycotts, how comes Pepsi or McDonnald's were not
dissolved for participating in the Arab boycott? (and this was full boycott,
not merely a
single-visit-personal-compliance by the foundation's president).

I need to know that, because I'm considering boycotting emails from people
that boycott organizations whose presidents boycott countries that pass laws
against boycotting Israel.

If some of the people involved in this chain are US citizens (or Israeli, or
both), would I get into trouble?

   (yet another) AA

[Disclaimer: This message does not express a real intention, by the author
or other associated parties, to participate in any form of boycott. Just
mild confusion, some amusement, and moderate insomnia]
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


[Job Offer] Linux sysadmin (contractor/consultant) for TaKaDu

2011-03-12 Thread Amit Aronovitch

TaKaDu Ltd. is deploying new servers.
We are looking for an experienced *nix sysadmin, possibly
freelance/contractor/consultant, to help selecting/deploying/maintaining
the infrastructure and requirements of the company platform.
Extent of the job is around 40 hr/week for several months, until the new
deployment policy is stabilized, and from then on around 5-10 hr/week
support (not necessarily the same job).


Requirements:
-
Expertise in Unix-like systems, experience with major Gnu/Linux distros.
Experience with compilation of software packages from source tarballs.
Works in an organised manner, capable of setting up a maintainable and
scalable deployment policy.

Advantages:
---
Familiarity with Apache/Tomcat servers.
Familiarity with the Python packaging system (setuptools/distutils).
Experience in setup of optimized computation libraries.
Familiarity with installation of Java environment.

Links:
--
Company homepage: http://www.takadu.com/
Related jobs: http://www.takadu.com/category/Careers


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


Re: problems with syslogd [solved]

2010-06-10 Thread Amit Aronovitch
On Thu, Jun 10, 2010 at 8:54 AM, Oron Peled o...@actcom.co.il wrote:

 On Wednesday, 9 בJune 2010 15:14:44 Amit Aronovitch wrote:
  Recently I stopped getting any messages in /var/log/messages (and probably
  ...
  1) /etc/syslogd.conf is debian's standard, seems to support
  /var/log/messages (as ever):
 
  *.=info;*.=notice;*.=warn;\
      auth,authpriv.none;\
      cron,daemon.none;\
      mail,news.none        -/var/log/messages

 Maybe the filename is separated from the selector by spaces instead
 of tabs? It is important (at least in legacy syslogd), because
 spaces are allow withing the selector expression.


Thanks, that nailed it!
 Well, not exactly, but close enough to figure it out:
The separator was tab all right, but the problem was with the
continuation lines. They start with tab. When I delete the initial
tab, everything works fine. Seems like the escaped EOL does not skip
initial whitespace.

I'll report the config bug to Debian.
Also the manpage is definitely misleading: syslog.conf(5) says:
Every  rule  consists  of  two  fields,  a selector field and an action
   field.  These two fields are separated by one or more spaces  or  tabs.

Also credit to shimi for mentioning the -f flag of strace (saved me
some manpage searching time) - from the trace I saw that it opens the
files in the order they appear in the conf file, but it skips debug
and messages - which are exactly the ones that have a continuation
line.

   and thanks all the rest who responded. All tips were good ideas.

  Amit

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


Re: Hebrew e-mail - Mandriva 2010.0 - KDE4

2010-06-09 Thread Amit Aronovitch
On Mon, Jun 7, 2010 at 6:51 PM, Shlomo Solomon shlomo.solo...@gmail.comwrote:

 I tried that and it does work, but there's no way I'll get my wife to do
 that
 - there's got to be an easier way :-(

 Is the KDE team or the people who handle Hebrew support aware of this
 problem?
 Should it be reported as a bug?


I think they are, but voting for it and commenting/confirming should help
(e.g. ask them to add the ¶ and ¶ icons to the toolbar, at least as a
plugin) :

https://bugs.kde.org/show_bug.cgi?id=181311

Note that they say that RightCtl+Shift should do the trick (but you might
have to select the whole text before).

BTW, in thunderbird, the shortcut for changing directionality is
Ctrl+Shift+X (but I think you can set the default direction to RTL in the
options)

On Mon, Jun 7, 2010 at 6:51 PM, Shlomo Solomon shlomo.solo...@gmail.comwrote:

 I tried that and it does work, but there's no way I'll get my wife to do
 that
 - there's got to be an easier way :-(

 Is the KDE team or the people who handle Hebrew support aware of this
 problem?
 Should it be reported as a bug?


 On Monday 07 June 2010, Matitiahu Allouche wrote:
 Hello, Aharon!
 
  It will drive you nuts all the same, but you should insert an RLM (right
  to left Mark), not an RLE.
 
  Shalom (Regards),  Mati
 Bidi Architect
 Globalization Center Of Competency - Bidirectional Scripts
 IBM Israel
 Phone: +972 2 502Fax: +972 2 5870333Mobile: +972
 52
  2554160
 
 
 
 
  From:
  Aharon Schkolnik aschkol...@gmail.com
  To:
  linux-il@cs.huji.ac.il, shl...@the-solomons.net
  Date:
  07/06/2010 17:19
  Subject:
  Re: Hebrew e-mail - Mandriva 2010.0 - KDE4
  Sent by:
  linux-il-boun...@cs.huji.ac.il
 
 
 
  I can confirm this extremely annoying problem in KMAIL under Fedora.
 
  The only way I know to get punctuation at the end of a line in Hebrew is
  to right click and choose insert unicode character and choose RLE start
  right to left embedding. This drives me nuts when I need to send a lot of
  Hebrew emails !
 
  On Sunday, June 06, 2010, Shlomo Solomon wrote:
   On Sunday 06 June 2010, Shlomi Fish wrote:
What is you mailer?
   
If it's KMail, then you need to switch the direction of writing the
email using Ctrl+Shift. Also see that the Bidi functionality is
enabled in
   
 qtconfig.
  
   Yes, it's KMail.
  
   I ran qtconfig and enabled Bidi (it was not enabled) After seeing your
   mail, I found the following link explaining how to enable it:
   http://community.livejournal.com/shlomif_tech/40434.html.
  
   I then restarted X, but Ctrl-Shift doesn't do anything. As I wrote
   earlier, the fonts are OK (I use Alt-Shift as the keyboard layout
   toggle between English and Hebrew). The only problem is punctuation
   marks. I can manually align to the right using the icon on the
   toolbar, but the punctuation marks still come out wrong.
 


 --
 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


problems with syslogd

2010-06-09 Thread Amit Aronovitch
Hi,

Recently I stopped getting any messages in /var/log/messages (and probably
some other files as well). Basic tests I could think of all check out OK
(see below). Any ideas what I should check next?
Using sysklogd+klogd 1.5 on Debian (unstable).

1) /etc/syslogd.conf is debian's standard, seems to support
/var/log/messages (as ever):
(some comment lines truncated)
---
#
auth,authpriv.*/var/log/auth.log
*.*;auth,authpriv.none-/var/log/syslog
#cron.*/var/log/cron.log
daemon.*-/var/log/daemon.log
kern.*-/var/log/kern.log
lpr.*-/var/log/lpr.log
mail.*-/var/log/mail.log
user.*-/var/log/user.log
#
mail.info-/var/log/mail.info
mail.warn-/var/log/mail.warn
mail.err/var/log/mail.err
#
news.crit/var/log/news/news.crit
news.err/var/log/news/news.err
news.notice-/var/log/news/news.notice
#
*.=debug;\
auth,authpriv.none;\
news.none;mail.none-/var/log/debug
*.=info;*.=notice;*.=warn;\
auth,authpriv.none;\
cron,daemon.none;\
mail,news.none-/var/log/messages
#
*.emerg*
#
#daemon,mail.*;\
#news.=crit;news.=err;news.=notice;\
#*.=debug;*.=info;\
#*.=notice;*.=warn/dev/tty8
#
daemon.*;mail.*;\
news.err;\
*.=debug;*.=info;\
*.=notice;*.=warn|/dev/xconsole

--

2) syslogd is running, and has some log files open (but not
/var/log/messages and friends!)

~# ls -al /proc/`ps -C syslogd -o pid=`/fd
total 0
dr-x-- 2 root root  0 Jun  9 14:20 .
dr-xr-xr-x 7 root root  0 Jun  9 14:19 ..
lrwx-- 1 root root 64 Jun  9 14:20 0 - socket:[1007451]
l-wx-- 1 root root 64 Jun  9 14:20 1 - /var/log/auth.log
l-wx-- 1 root root 64 Jun  9 14:20 10 - /var/log/mail.err
l-wx-- 1 root root 64 Jun  9 14:20 11 - /var/log/news/news.crit
l-wx-- 1 root root 64 Jun  9 14:20 12 - /var/log/news/news.err
l-wx-- 1 root root 64 Jun  9 14:20 13 - /var/log/news/news.notice
l-wx-- 1 root root 64 Jun  9 14:20 2 - /var/log/syslog
l-wx-- 1 root root 64 Jun  9 14:20 3 - /var/log/daemon.log
l-wx-- 1 root root 64 Jun  9 14:20 4 - /var/log/kern.log
l-wx-- 1 root root 64 Jun  9 14:20 5 - /var/log/lpr.log
l-wx-- 1 root root 64 Jun  9 14:20 6 - /var/log/mail.log
l-wx-- 1 root root 64 Jun  9 14:20 7 - /var/log/user.log
l-wx-- 1 root root 64 Jun  9 14:20 8 - /var/log/mail.info
l-wx-- 1 root root 64 Jun  9 14:20 9 - /var/log/mail.warn


3) log files exist, and seem to have the same permissions as the working
ones:

~$ ls -alt `cat /etc/syslog.conf | awk '(substr($1,1,1)!=#  $2!=)
{sub(-,,$2); if ($2 ~ /^\/var/) print $2}'`
-rw-r- 1 root adm   8025 Jun  9 15:02 /var/log/syslog
-rw-r- 1 root adm  87932 Jun  9 15:02 /var/log/auth.log
-rw-r- 1 root adm 161406 Jun  9 14:19 /var/log/kern.log
-rw-r- 1 root adm  62494 Jun  9 14:00 /var/log/daemon.log
-rw-r- 1 root adm  23295 Jun  9 08:07 /var/log/user.log
-rw-r- 1 root adm  0 Jun  3 08:19 /var/log/debug
-rw-r- 1 root adm  0 Jun  3 08:19 /var/log/messages
-rw-r- 1 root adm  0 Apr 18 06:57 /var/log/mail.info
-rw-r- 1 root adm  0 Apr 18 06:57 /var/log/mail.log
-rw-r- 1 root adm  0 Apr 18 06:57 /var/log/mail.err
-rw-r- 1 root adm  0 Apr 18 06:57 /var/log/mail.warn
-rw-r- 1 root adm  0 Nov 25  2007 /var/log/lpr.log
-rw-r- 1 root adm  0 Feb 20  2005 /var/log/news/news.crit
-rw-r- 1 root adm  0 Feb 20  2005 /var/log/news/news.err
-rw-r- 1 root adm  0 Feb 20  2005 /var/log/news/news.notice

4) Removing and reinstalling the sysklogd package did not help.

5) Google found some similar problem reports, but they all turned out to be
either filesize overflow (have plenty of place on the /var/ partition btw),
or crashed daemon.

What next?

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


Re: problems with syslogd

2010-06-09 Thread Amit Aronovitch
On Wed, Jun 9, 2010 at 3:26 PM, Valery Reznic valery_rez...@yahoo.comwrote:

 Connect to syslogd with strace:

 strace -p syslogd_pid

 And then provoke message that should go to /var/log/messages
 strace will show you what syslogd do.
 May be it will reveal cause of the problem.


Does not help much. After the select, it just stats /etc/localtime, and
then writes the output to one of the open fd's
(see my prev mail - the process does not open messages at all). For
example:


select(1, [0], NULL, NULL, NULL)= 1 (in [0])
recvfrom(0, 150Jun  9 17:33:27 pppd[3998]:..., 1022, 0, NULL, NULL) = 79
rt_sigprocmask(SIG_BLOCK, [HUP ALRM], NULL, 8) = 0
stat(/etc/localtime, {st_mode=S_IFREG|0644, st_size=803, ...}) = 0
writev(2, [{Jun  9 17:33:27, 15}, { , 1}, {penguin, 7}, { , 1},
{pppd[3998]: Sent 29064396 bytes,..., 58}, {\n, 1}], 6) = 83
rt_sigprocmask(SIG_UNBLOCK, [HUP ALRM], NULL, 8) = 0
select(1, [0], NULL, NULL, NULL)= 1 (in [0])

Now, 150, according to syslog.h is local2.info, which should go to
messages because of the following line in /etc/syslog.conf:
*.=info;*.=notice;*.=warn;\
auth,authpriv.none;\
cron,daemon.none;\
mail,news.none  -/var/log/messages

Seems like I should trace it at daemon startup stage to see if it fails
opening the file...

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


Re: problems with syslogd

2010-06-09 Thread Amit Aronovitch
On Wed, Jun 9, 2010 at 3:27 PM, linux.il linux...@gmail.com wrote:

 
  5) Google found some similar problem reports, but they all turned out to be
  either filesize overflow (have plenty of place on the /var/ partition btw),
  or crashed daemon.
 
 may be your /var is out of inodes?

nope, I think:

penguin:~# df -i /var/
Filesystem    Inodes   IUsed   IFree IUse% Mounted on
/dev/sda7    6553600  565332 5988268    9% /

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


[OT] [Free association] Re: eTextBooks (for kids)

2009-09-08 Thread Amit Aronovitch
2009/9/8 Danny Lieberman dan...@software.co.il

 Yonatan, Dov,  et al

 1. I think an argument against competitive alternatives on the basis of an
 incumbent industry's economic interest is, to say the leastweak.


Right and true. Luckily, I believe that at some point the alternatives will
become viable enough, and the industry will adapt or be replaced by some
better way to live off creativity.
After all, if 15th century press-printing would have been held-off too long
by the engravers guild or something, there would be no modern academy or
science today. I would probably have to spend a lifetime as apprentice to
some established alchemist, then go seek a patron lord to fund me :-(

My own free-association to this argument was even further off than Dov's
(FOSS): those hate-spam we (at least I) got when the anti-spam law was
passed.
If I recall correctly, the main argument there was that there are people
making a living out of spam and they will lose their jobs (and recursively,
upon reading that, my thought was - there are also people making a living by
theft and robbery, they should be legal as well...).

The Israeli textbook industry is a racket.  This thread would not be
 happening if our children would be learning from standard paper textbooks.
 Virtually all of the K12 educational content from math to science to
 language was invented over 100 years ago - which means that there is no
 functional justification to recreate the content in different forms
 (workbooks, experimental programs etc...) every year and throw out the
 content just to generate more revenue for the folks who feed off the
 Ministry of Education pork barrels.

 Israel can save billions by using and recycling standard paper textbooks.
 I'm  talking about impact on family budget, if you factor in impact on the
 environment of throwing out 5-10 million workbooks every year-  then it
 looks really bad.  After we standardize, then we can talk about  a OKLP
 project (One Kindle per Little Person) project.

 2. To set the record straight: there are free digital content (i.e. music
 and video) business models.  All of the artists on MySpace music, Garageband
 and now the big studios provide free content as a way of promoting live
 performances, movie tickets and paid-for content - whether in a VOD
 subscription model, pay per track or pay per view.

 3. The Israeli Ministry of Education is teaching technology in the
 classroom instead of using technology to teach. The worst example I can
 think of is (and I kid you not) a program in first grade to teach children
 how to use Microsoft Windows Paint.


Well, in fact I did see a Computer lesson in my first-grader's brand new
schedule, but I assume this is one of the extra classes they get in our
school, beyond the standard MOE program. I did not receive the details yet,
but I think that as such (teaching technology *in addition* to teaching
other stuff), it is actually a good idea to teach basic computer skills.
Of course, just MSPaint would be a poor choice of contents (and besides,
Tuxpaint also makes those funny noises and much more fun :-) ).




 Danny




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


Re: Kingle/Reader on Linux in IL (WAS: Re: Linux / Computer Books in Israel)

2009-08-07 Thread Amit Aronovitch
On Wed, Aug 5, 2009 at 12:13 PM, Dotan Cohen dotanco...@gmail.com wrote:

  Hi all -
  I read a few reviews of the Kindle2 vs. Sony Reader -
  Anyone out there have either of those and use it with Linux? AFAIK, I'll
 see
  the storage as a USB device on either device - But what about purchasing
  books, etc?


 Download from Project Gutenberg only. Renting books from Amazon is not
 a good idea:

 http://yro.slashdot.org/story/09/07/17/2138213/Amazon-Pulls-Purchased-E-Book-Copies-of-1984-and-Animal-Farm?art_pos=3


What about the iRex iLiad (mentioned in the /. thread, runs linux 2.4 btw) -

anyone has this thing? Can you get it in Israel?

(For now, still waiting for the supposed pricedrops when these ereader
gadgets reach growth stage...)

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


Re: switch in gawk

2009-05-14 Thread Amit Aronovitch
On Sun, May 10, 2009 at 11:50 PM, Omer Zak w...@zak.co.il wrote:


 $ gawk 'END {switch(NR) {default: print NR}}' /dev/null
 gawk: END {switch(NR) {default: print NR}}
 gawk: ^ syntax error

 System:
 $ uname -a
 Linux c2 2.6.26-2-686 #1 SMP Thu Mar 26 01:08:11 UTC 2009 i686 GNU/Linux

 $ cat /etc/debian_version
 5.0.1
 (this is Debian Lenny)

 $ gawk --version
 GNU Awk 3.1.5
 Copyright (C) 1989, 1991-2005 Free Software Foundation.

 $ dpkg -l | egrep gawk
 ii  gawk1:3.1.5.dfsg-4.1


On Debian, this was actually reported as bug and fixed - in version 3.1.6...
My guess is that other distros will do the same sooner or later.

So - right now this is not very portable, but I expect its use to spread in
the future, as most new features do.

see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=307510

console dump (Debian sid)--
a...@penguin:~$ gawk 'END {switch(NR) {default: print NR}}' /dev/null
0
a...@penguin:~$ lsb_release -i -r
Distributor ID:Debian
Release:unstable
a...@penguin:~$ dpkg --list gawk
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name   VersionDescription
+++-==-==-
ii  gawk   1:3.1.6.dfsg-2 GNU awk, a pattern scanning and processing
l
---
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Emacs Hebrew

2009-02-21 Thread Amit Aronovitch
2009/2/20 Dov Grobgeld dov.grobg...@gmail.com

 There was a complex issue of emacs bidi that I tried to follow back in
 2002. The mailing list still up at:

 http://lists.gnu.org/archive/html/emacs-bidi/

 What I remember from the discussion was that fribidi and the Unicode Bidi
 algorithm were ruled out, because they were considered not to be
 sufficient for the emacs bidi needs. The discussion eventually reached
 such a technical complexity that I lost interest. In the end, appearently
 nothing came out of the effort and the bidi changes never made it into the
 trunk.

 It is probably a good idea to restart and try to copy the Gtk or the Qt
 behavior. Note that BiDi is a lot more than just the application of the
 algorithm. You also need to take into account things such as:

- Cursor movement.
- Internal splitting of the visual and the logical positions.
- Hit detection for mouse down.
- The fact that a continous logical selection may be one, two, or three
visual selections.
- How to deal with zero width characters. (Is there a view-control-code
mode in emacs?).

 I'd be willing to do the work, if someone else would fund it. I'm leaving
 my current employment in another few months, and I'm currently looking for
 large and small jobs.


I doubt that we can find serious funding for this issue - emacs is not very
fashionable these days and I don't know of any local organization that uses
it regularly as a major platform (although you can find Emacsers scattered
practically everywhere).
However, maybe we can try setting up a bounty, through Hamakor, or maybe
even through FSF.

Having said that, I am certainly interested in this issue. I use emacs for
daily work, but switch to gedit whenever there's Hebrew involved - not very
convenient (but managable since work is in English)...
If someone else starts working on this, I'll follow closely and maybe give a
hand (if I find time).

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


Re: OFFTOPIC: Re: Hebrew spam: what to do about it?

2009-02-09 Thread Amit Aronovitch
According to a couple of recent Hebrew spams that I got, there's a loophole
allowing ONE spam message per spammer per email address. They say that the
law allows sending one message if it is an offer for registration to a
publicity list (they can't send you more if you do not respond), so
basically if the message contains some link saying go here to get more such
offers, you'd have to collect at least two different spams from the same
publisher in order to sue.

I did not read the law so I do not know if this is true or not (I did read
the spams, because they had an angry/offended tone, which was amusing).

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


Re: what's a reliable, easy to use slide show presenter?

2009-01-22 Thread Amit Aronovitch
On Thu, Jan 22, 2009 at 7:53 AM, Oleg Goldshmidt p...@goldshmidt.org wrote:
 Oron Peled o...@actcom.co.il writes:

 at the very least, i want to point it at a directory of images, and
 cycle through them, pausing for a couple of seconds on each picture.

 If it's only images (no text slides), than you can simply point
 digikam at the directory and press the slide show button.

 Another option (images only, your computer, KDE app) is kuickshow.


For Gnome Desktop : gthumb
Its my favorite photo-browser, and F12 starts a slideshow.

Slideshow supports keyboard control, mouse-button control, and a
control panel that appears if you mouse over to the top of the screen.

Also, there's a fullscreen mode (toggle with the f key), which is
much like the slideshow - but without the auto-forward (I actually
prefer this for presentations - no need to pause the show if you want
to delay on some slide). A wireless mouse, which has 3 buttons or
wheel (mid-button is used for backwards) is very handy, as you can
move away from the computer.

Also, gthumb can auto-build pretty web photo albums, which you can use
if you dont have your own computer, but do have fast internet
connection...

  Amit

=
To unsubscribe, send mail to linux-il-requ...@cs.huji.ac.il with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail linux-il-requ...@cs.huji.ac.il



Re: site freezing - probably java related

2008-11-27 Thread Amit Aronovitch
Confirmed on Debian Iceweasel 3.0.3 .

On Wed, Nov 26, 2008 at 12:15 PM, David Ronkin [EMAIL PROTECTED] wrote:

 I use Flashblock Firefox plugin to prevent such flash issues - very
 recommended if sbdy still not using it.
 David


Installed this and checked - does not help.
However, some binary search testing with the plugins and extensions reveals
that the freeze occurs IFF the Java plugin is enabled.

file:  libjavaplugin_oji.so (Java 6 1.6.0.10)
comes from Debian package sun-java6-bin version 6-10-2

I disable this and site does not hang...

  Amit


Re: good python IDE for linux?

2008-11-04 Thread Amit Aronovitch
On Sun, Nov 2, 2008 at 12:56 PM, Dvir Volk [EMAIL PROTECTED] wrote:

 hi all
 i'm starting a python project, and need a good IDE with debugging and all
 (GUI based)
 eclipse pydev seems a bit too heavy for my taste and CPU, kdevelop doesn't
 have debugging (at least by default).
 any personal recommendations?


Here's Omer Zak's summary of a related thread in the python-il mailing list,
with links and all (use the thread link in the navigation line to find the
messages with the actual personal recommendations).

http://hamakor.org.il/pipermail/python-il/2008-April/42.html

 Good luck,
   Amit


Re: gcc thoughts

2008-01-26 Thread Amit Aronovitch
On Jan 26, 2008 10:16 AM, Omer Zak [EMAIL PROTECTED] wrote:

 From a brief glance at the gccxml Web site, the project looks to be
 relatively unmaintained (at least).  The most recent release was at
 2004.
   --- Omer

Well, I have not used it myself, but Py++/pygccxml, (
http://www.language-binding.net/ )
which does use it (last I heard at least), have updates to the SF svn
repo dated 30 minutes ago.

So I guess Roman Yakovenko should be able to give you a more uptodate
feedback if you seriously consider using it.

   AA

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



Re: gcc thoughts

2008-01-25 Thread Amit Aronovitch
Leonid Podolny wrote:

 Hi, list,
 This letter is probably better suited to hackers-il, but I need help
 from people that are better acquainted with a development process of gcc.
 This morning, while browsing through pages of frustratingly irrelevant
 cscope output, I got an idea. In every kosher *nix development
 environment, the cross-references (i.e. jump to definition of this
 struct/function) are built by some crippled 3rd party tool (such as
 ctags, cscope or home-brewed set of elisp scrips). On the other hand,
 the only tool that actually knows what is going on during compilation
 is gcc, so it's only logical that it should build cross-references
 along the way.
 It would be simply fantastic. The index would reflect the actual set
 of #ifdef's I currently work with. It would always point you to the
 header file that was actually #include-d. It would be immediately
 useful to almost everyone in FOSS world.
 I have a couple of ideas, how it might be tailored into gcc running
 sequence. However, I'm a humble gcc user  and I have almost no
 experience with its inner workings.
 The idea by itself is so obvious and on-the-surface that it everyone
 using gcc must come up with it sooner or later. There must be a very
 sound technical reason not to do so. What is it?

Sorry I did not read all the replys very thoroughly, but I did notice
that nobody mentioned gcc_xml
http://www.gccxml.org/

It does much more than what you need, but I'm sure that the information
you seek is in fact stored in the output (I believe a simple SAX
processor should be able to extract it fast enough to be integrated into
the dev environ). Besides - you could probably use more than just the
location of the defs.

Another possibility is to use the XML output of doxygen.

(both tools are successfuly used by automatic tools for auto-generating
python interface for C++ libraries).

  AA


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



Re: Virtualization software on Linux

2007-09-20 Thread Amit Aronovitch
On 9/18/07, Gilad Ben-Yossef [EMAIL PROTECTED] wrote:
 Amit Aronovitch wrote:
  Note that (some? most new ones?) of these laptops come with Home
  versions of windows Vista on a recovery partition.
  This is bundled (cannot be bought without), and cannot be upgraded to
  a different license.
 
  By EULA, *you are not allowed* to use this (or any other Home)
  version with virtualization technology, so you will have to buy
  Ultimate, Enterprise or the likes seperately (and that's a
  considerable addition to the price tag).

 I'm no lawyer nor I play one on TV but I have some serious doubts as to
 the legality of a deal to sell you hardware and bundled software which
 specifically prohibit you from using one of the outstanding features of
 the hardware you bought.

 It doesn't mean the EULA is not in force. But I'm guessing it means you
 can probably sue the laptop reseller based on consumer protection laws
 for a refund of that bundled software and might have a case.


Looks like soon enough thats gonna be just about ANY laptop reseller
that caters for the personal market (VT available on new mainstream
chips, Vista replacing XP in new recovery partitions, OEM practice not
allowing licensing options).

Although this might be useful for promoting the struggle for
refundability of the MS tax, I don't have the resources to join the
war just now.
And since it looks like this limitation is here to stay
http://www.eweek.com/article2/0,1759,2148526,00.asp  ,
I'll probably opt for reusing the non-OEM XP Home from my old broken
laptop, which would probably also give better performance.
(and I wouldn't say otherwise on a public list even if I had other plans :-) ).

  BTW, how does Vista work virtualized? Do you run it without the 3d
  effects, or is there some way to virtualize 3d acceleration?

 You can para-virtualize 3d acceleration but at this time this is more
 academic then useful, so yes, turning off the 3D (or any visual effects
 for that matter) produces a great performance boost.

 Of course, I'd claim the same to be true also on native hardware which
 IS 3D accelerated but that's a whole different point.

 Gilad


Thanks for the info.

Amit

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



Re: IGLU down?

2007-09-19 Thread Amit Aronovitch
How about the python.org.il (www and wiki) pages?

Sooner or later we'll have to start setting up the October meeting, so
reviving the wiki at least would be appreciated.
 I believe our generous donor Mr. Baratz would agree to set up the
appropriate DNS changes :-)

 Later, when we find the time, we'll probably want to discuss
possibilites for switching the site to different technologies...

 thanks,
  Amit

On 9/18/07, Shlomi Fish [EMAIL PROTECTED] wrote:
 On Sunday 16 September 2007, Shachar Shemesh wrote:
  Shlomo Solomon wrote:
   Is it just me, or is the site down?
  So, instead of asking for iglu to come back up, I think it would be more
  constructive to say what it was in iglu.org.il you were looking for,
  thus focusing our effort into stuff people actually use!
 
  Thanks,
  Shachar
 
  p.s.
  Hint - it took a week and a half for anyone to notice the web site at
  iglu.org.il was down.
 

 I should note that I noticed it was down right away, and moreover received an
 email about why it was down a day or two after it was.

me to (wanted to assign another coordinator for Sept. python-IL
meeting, but that did not go well at the end),
and I normally wait a day or two before nagging Shlomi


 So people feel its absence.

 Regards,

 Shlomi Fish

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



Re: Virtualization software on Linux

2007-09-18 Thread Amit Aronovitch
Note that (some? most new ones?) of these laptops come with Home
versions of windows Vista on a recovery partition.
This is bundled (cannot be bought without), and cannot be upgraded to
a different license.

By EULA, *you are not allowed* to use this (or any other Home)
version with virtualization technology, so you will have to buy
Ultimate, Enterprise or the likes seperately (and that's a
considerable addition to the price tag).

BTW, how does Vista work virtualized? Do you run it without the 3d
effects, or is there some way to virtualize 3d acceleration?

  Amit

On 7/11/07, Gilad Ben-Yossef [EMAIL PROTECTED] wrote:
 Eran Sandler wrote:

  I prefer Linux but if the performance is worse than what I will get with
  comparable hardware on Mac + Parallels I'll go with a Mac.

 Get a laptop with CoreDuo CPU with Intel VT-x and run Linux + kvm.

 XP/200 or Vista run fine (enough memory provided).

 Gilad


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



Re: NTP configuration

2007-09-01 Thread Amit Aronovitch
Geoff Shang wrote:

 Hi,

 Those of you who are paying attention will remember that I moved here
 from Australia 4 months ago.  Again, thanks to those who have answered
 questions for me in that time (don't worry, there will be more).

 I've finally decided that it's time to configure NTP.  but I'm having
 trouble finding servers that are nearby to use.  I looked at ntp.org
 at their server pool project, but the segment for Israel
 (http://www.pool.ntp.org/zone/il) currently lists 0 servers.

 I've done a bit of DNS work and found the following which may or may
 not yield actual working servers:

 * ntp.netvision.net.il (2 addresses)
 * ntp.012.net.il
 * time.inter.net.il
 * time.bezeqint.net

 Anyone know if any of these are working public servers?  Anyone with
 suggestions of other servers to use?

Been using the netvision server for a few years - don't recall any probs.

First priority you should try is your ISP (this info is not
available/not easy to find on their web pages - but seems you have
already found the big ones. Contacting support might also work).

Second is the default pool for your distro (nowadays, installations
typically default to their vendor zone
http://www.pool.ntp.org/vendors.html ).

If you want to use the global pool - try  europe.pool.ntp.org, which as
far as I recall usually gives you servers with much lower delay value
than if you use the global pool.
I also seem to recall that the debian pool (default setting on a fresh
install) gives a similiar result (delay comparable to european servers -
much better than US servers, but not as good as my own ISP's).

note that timings above might not be up to date (I did not check other
options for some time...)


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



[Python-IL] Meeting - this Thursday 19:00 at Egloo

2007-08-07 Thread Amit Aronovitch
תזכורת -

פגישת משתמשי פייתון תתקיים השבוע ביום חמישי 9/8/2007, במשרדי Egloo, רח'
הסדנאות 3 בהרצליה.


בתכנית:

* הרן פלפל יספר על שפת Lua

* לאחר מכן נמשיך בדיון הפתוח מהפעם הקודמת


פרטים נוספים באתר:


http://wiki.python.org.il/Upcoming_Meeting


והערה אחרונה - דרוש מחשב נייד להרצאה.

מי שמגיע ומתכוון להביא, מתבקש להודיע לי (כאשר אדע שנמצא מענה ואין יותר
צורך, אני אעדכן בויקי (קישור למעלה) -  לא אשלח מייל נוסף לרשימה בשביל זה).


תודה,

עמית




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



[Python-IL] next python meeting - Wednesday 11/7/07 18:30

2007-07-08 Thread Amit Aronovitch
פגישת משתמשי פייתון תתקיים ב- 11/7/07, בשעה 18:30 במשרדי
Egloo, רחוב הסדנאות 3 בהרצליה.

הנושאים להפעם:

* מאיר קריחלי על להק ו- Django
* דיון פתוח - שאלות לפורום. בין הנושאים שהוצעו: סביבות פיתוח, איסוף
אשפה ועוד.


פרטים ועדכונים באתר

http://wiki.python.org.il/Upcoming_Meeting

 בברכה,
 עמית




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



Re: [ATTN] [MOD] Deactivation of Linux-IL aliases at linux.org.il and iglu.org.il

2007-07-08 Thread Amit Aronovitch
Hi,


 Would appreciate if you post the reply for that on the list.


I failed to remember the thing about the alias change (probably because
of Shachar's post, I thought that decision might not be final, postponed
making the appropriate configuration changes in my MUA's), and my
messages were lost.


   regards,

 Amit


Shachar Shemesh wrote:

 Linux-IL Moderator wrote:
   
 Dear subscribers,
 First of all, I deeply apologize for bringing it up postfactum, but due to 
 large amount of spam traffic coming through and inability to deal with it 
 effectively we had to make an unpopular decision of deactivating linux-il 
 aliases on linux.org.il and iglu.org.il domains. If you were using them, 
 please rewrite your configuration to post to linux-il [at] cs.huji.ac.il 
 instead. We are well aware of the temporary inconvenience we're causing, and 
 made every possible effort not to resort to this, but unfortunately, it is 
 not up to us. Sorry.

   
 
 You lost me. What's the connection between allowing
 [EMAIL PROTECTED] to post to the list and allowing them to RECEIVE
 the email (i.e. - be listed as a recipient)? If your software cannot
 allow one without allowing the other, then maybe it's time for an upgrade.

 If there is a software configuration that needs to be done on the
 forwarding site, please let me know. My phone number is 054-4399089.

 Shachar

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

   


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



Re: [SUMMARY] Current status of Israeli ISPs

2007-06-20 Thread Amit Aronovitch
Oleg Goldshmidt wrote:

 Omer Zak [EMAIL PROTECTED] writes:

   
 Amit Aronovitch:
   - Uses Netvision.  Netvision seems to have a single Linux support
 person.  It is easier to re-create the problem using a MS-Windows
 laptop and report the error messages displayed by MS-Windows.
 

 Sorry for being late to the game. 

 I do not dispute the above, but I was a Netvision customer (privately,
 not as a business) from something like 1996 (don't remember exactly)
 until a few years ago. I was always able to get Linux support from
 them. The support people were not exactly gurus, but they were able to
 solve problems (not that I had many of them) and I don't recall anyone
 expressing real surprise when I said from the outset that I was using
 Linux, never did they say they did not support it, nor did they insist
 on verifying a problem on Windows (which I didn't have).

   
FTR, this is consistent with my report (sorry if it might seem otherwise
from the summary above).
I did not say that the Linux support was bad, just that there's a longer
wait
 (I don't know how many Linux support people they have, per shift or
otherwise, but it certainly took
some time until they called back, whereas for Windows the first person
to answer can handle the call).

I did say that from my personal, narrow perspective it is much more
efficient to recreate in Windows
and avoid mentioning Linux altogether.
It might be true that from a wider POV, we should ask for Linux support
anyways, so their statistics
become more realistic and they might decide to hire more supporters.



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



Re: Current status of Israeli ISPs

2007-06-18 Thread Amit Aronovitch
Omer Zak wrote:

 What is the current status of Linux support by Israeli ISPs?

   
I'm using Netvision. Following data might not be up to date, as I did
not have any serious problems lately.

Netvision seem to have support for Linux, but my policy still is -
recreate the problem using windows (usually a laptop) and avoid
mentioning Linux when talking to support.

Last time I tried, when they hear Linux, they tell you that their Linux
guy, which was probably quite busy, will call you back.
The person seemed knowledgable enough, but since the problem boils down
to checking the line and/or talking to Bezeq to check their side - this
would have been done much faster had I suffered patiently through the
windowsish checklist of the original supporter.


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



[Python-IL] next python meeting - Wednesday 28/3/07 18:30

2007-03-25 Thread Amit Aronovitch
פגישת משתמשי פייתון לחודש מרץ תתקיים ב- 28/3/07, בשעה 18:30 במשרדי
Egloo, רחוב הסדנאות 3 בהרצליה.

הנושאים להפעם:

בני צ'רניאבסקי על metaclasses
Simon Robins על SOAP בפייתון (קצר)

פרטים ועדכונים באתר
http://wiki.python.org.il/Upcoming_Meeting

 בברכה,
 עמית




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



Re: scan to PDF question

2007-03-21 Thread Amit Aronovitch

On 3/20/07, Geoffrey S. Mendelson [EMAIL PROTECTED] wrote:

On Tue, Mar 20, 2007 at 03:51:50PM +0200, Hetz Ben Hamo wrote:

 * can use Sane to scan a document
 * can save it to PDF
 * The PDF shouldn't be a dumb TIFF/JPG file page/collection, but a
 real PDF (so I can search/grep for words in the scanned doc)
 * Should have some basic hebrew OCR (optionally)

 Any suggestions?

Windows. Seriously, OCR is not a new technology, what makes programs
better than others is the large library of fonts that it knows how to
handle. Commercial programs include lots of code to handle many fonts
of both different types and sizes.



How about Tesseract?
http://code.google.com/p/tesseract-ocr/

It's English only, but it's been in the market for a long time (only
recently open sourced), so I would not expect it to have this kind of
problem.
Any war/sucess stories about it here?

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



Re: Why are GNOME applications (and applets) take so much [EMAIL PROTECTED] memory ?

2007-02-10 Thread Amit Aronovitch
Eli Marmor wrote:

 The programs were also friendlier, because all the options in the
 (limited) UI/menus/etc were textual, in simple English, and not
 graphical icons that you must be a genious to guess what the programmer
 meant. If icons were really friendlier than text, it could be useful in
 other fields of life; For example, instead of speaking to each other,
 we could use pantomime. Fortunately, nobody is so cruel to force the
 people to communicate in pictures (except for UI experts who force
 the programmers to over-use graphics).
   
Menus, like Icons, are just means to shorten the learning curve.
Keyboard shortcuts rule ;-)

While there's nothing wrong with short LC, it is orthogonal to program's
productivity/usefulness. The problem is just another manifestation of
consumption culture---nobody cares about long-term usefulness.
Add more eye-candy, make it really easy to learn how to do one or two
basic tasks (the stuff buyers normally think of when testing new
software), and you get more market. By the time they get to their more
complex needs, they'll have to buy a new version (and if they're already
locked in, you don't care about their needs anyway).
Nowadays, this has become an Ideology, well preached, e.g., by some of
Joel Spolsky's much quoted articles
(which are mostly true and clever advice---if you define good software
as software that makes lots of money, of course...)

 I have clear explanation for what has happened since then, but I don't
 want to enter flaming wars.
   
I doubt you'd get more flames here for such explanation than e.g. for
claiming to have one. But might be better to post somewhere else
anyways, e.g. [EMAIL PROTECTED] (or better yet, give a link to
a blog entry).


 Posted using a full-of-icons-and-eyecandy-outlook-lookalike
thunderbirdM-leftM-dicedove on a bloated-and-footprint-iconed Gnome
desktop. What can I say - they got me too :-)

AA


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



Re: skype under debian ?

2007-02-08 Thread Amit Aronovitch
Amos Shapira wrote:

 On 07/02/07, *Peter* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:


 Has anybody got the latest skype working under debian/testing ?
 Here it
 starts up and gets stuck when I try to call out (including echo)


 What version?  1.3.0.53 http://1.3.0.53 works OK on Debian Etch
 (testing). It can block the X display after running for a long while
 (and then it can release it after a few minutes) so I try to restart
 it once a day or so.
 I heard something about the sound card driver actually being at fault
 (an SB Live! card) but didn't have time to investigate further.

 I'd mostly suspect sound card/ALSA issues. Can you play and record
 using other programs?

Same version running OK here on Sid (unstable).
It runs with the ALSA driver, but does not cooperate with sound servers.
I must turn off esd (esdctl off) - otherwise it gets stuck when trying
to call out.
All problems I had in the past (and still have on a RHEL4 machine with
onboard intel card) were sound-card related.

Run it from a terminal and see if there's any messages on stderr. Also
try running under strace - might give a clue to which syscall gets you
stuck.

 Also - the Skype linux forum is a good place to get a sense about
 what's on with skype versions. It used to be that the many versions
 had to be avoided and you were better with older ones.
If it's really a sound problem, #alsa on IRC turned out to be useful too.

   AA


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



[Python-IL] next python meeting - Tuesday 30/1/07 18:30

2007-01-28 Thread Amit Aronovitch
פגישת משתמשי פייתון לחודש ינואר תתקיים באיגלו,
רחוב הסדנאות 3, קומה ג', הרצליה.

בתכנית להפעם:
18:30 : שחר יצחקי על Robin
19:45 : בני צ'רניאבסקי על Pygame, Numeric and Magic Fields

פרטים/עדכונים בויקי:
http://wiki.python.org.il/Upcoming_Meeting

בברכה,
עמית

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



Re: Linux on Windows

2007-01-15 Thread Amit Aronovitch
Oren Held wrote:

 A. VMware Server (formerly GSX) which is free for use.
 B. Dan Aloni's coLinux (Not full virtualization but very interesting
 and good for some purposes) - http://colinux.sf.net . However you need
 a windows X Server (i.e. Hummingbird Exceed or Cygwin Xorg) to get the
 GUI.
   For a free and lightweight standalone X-server on windows, you can
use Xming
( http://freedesktop.org/wiki/Xming ).

 If you use cygwin, chances are you'll be able to install the needed
unix apps directly in win32 (cygnus) env (cygwin has a decent package
base - from grep and gcc to Gnome and Apache...).
 
  btw, seems that there's an alpha version of QEMU for windows (don't
know about it's usability status).


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



Re: Convince me to switch to Digikam (Was: Exaile - a Gtk+-based Amarok Clone)

2007-01-15 Thread Amit Aronovitch
Amos Shapira wrote:

 On 16/01/07, *Dotan Cohen* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 Thanks, I did install libkipi0-dev and libexiv2-dev via apt-get.
 However, it still complains about exiv2:
 config.status: config.h is unchanged
 config.status: executing depfiles commands


 On Etch (testing) they have just downgraded from 0.9.x back to 0.8.x
 with a comment to the effect that required exiv upgrade isn't going
 to happen in Etch, to have 0.9 track 'experimental'. I didn't manage
 to pin Digikam alone to 'experimental' so for now I'm just careful not
 to downgrade my 0.9 on Etch. (if anyone knows how to achieve this
 while taking everything else from Etch I'd be grateful to hear).

with

Apt::Default-Release testing;

In your /etc/apt/apt.conf, you should be able to manually install
anything from any source in sources.list, without otherwise effecting
your distro. It should only use other sources when there's no
alternative in testing.
(for more fine tuned control, see
http://www.argon.org/~roderick/apt-pinning.html )

Note that there might be a reason for this downgrade - it's possible
that the exiv upgrade (which should be automatically pulled from
experimental - as it would not be available in testing) would force
other dependencies (kphotoalbum? gimp?) to be pushed over to
experimental too...

  AA


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



Python-IL Meeting: Wednesday, 27/12

2006-12-23 Thread Amit Aronovitch
פגישת הפייתונאים לחודש דצמבר תתקיים ביום ד' 27/12/06, בשעה 19:30.


הפגישה תערך במשרדי חברת Egloo, ברחוב הסדנאות 3 בהרצליה, קומה 3.


הנושאים להפעם:

* נדב סמט ידבר על TurboGears

* תומר פיליבה ידבר על pyconstruct


לפרטים נוספים, מומלץ להתעדכן בדף הפגישה:


http://wiki.python.org.il/Meeting_27_December_2006


  בברכה,

 עמית




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



Re: starting an X application from remote computer

2006-12-22 Thread Amit Aronovitch
Ilya Konstantinov wrote:

 On 12/21/06, *Ori Idan* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 I have two computers on internal network (both of them Debian
 unstable)
 I would like to login to a remote computer using gdm.


 That is, you want to start an entirely new GNOME/KDE session using a
 remote computer as the display. This is called XDMCP. For that to
 work, the remote computer's X server should connect to your gdm
 through the XDMCP port (UDP 177 -- make sure you have it open in your
 firewall!).

Very misleading terminology.

The relevant X server is always the one running on the computer you're
typing at (which most people refer to as *local* - it's physically
closer to them).
Hence the remote computer's X server is *always* irrelevant (unless
you want to start programs for someone else to control - e.g. run xroach
on his desktop, or spy on his keyboard typing).
 Often, on the remote computer, you'd run GDM or KDM as well and it'll
 have a GUI option for starting a remote session. Otherwise (e.g. if
 you're on Cygwin), you can start a remote session manually:

   X --query your-gdm-machine
To most people, this would only make sense if you reverse local and
remote...

When discussing X setup, we should try to explain things from the user's
POV instead of the applications' ;-)


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



Re: Novell and Microsoft

2006-11-13 Thread Amit Aronovitch
Ariel Biener wrote:

 Is it at all possible for people on this list to accept the following:

 1). We can only speculate at the motivations behind Microsoft+Novell
 agreement.
   
Right. But wild speculation is always fun (and sometimes might even be
fruitful)
 2). None of us has a definitive version of the real reasons, I personally
 believe that probably none of the opinions here really hit the marker.
 3). Even Novell+Microsoft themselves cannot foretell the outcome of
 their agreement in the years to come.
 4). The FOSS paranoid will always cry wolf at anything MS related.
   
But sometimes there's a big uproar, while other cases only cause scant
mutter.
I really can't see why the MS-Xen agreement went by so silently compared
to MS-Novell. I'll take this opportunity to try to divert the thread in
that direction...
 Or, you can continue to take your best shots at being a prophet
   
Well, this time at least, I'll stick with the wild speculations
(speculating about intentions is shaky enough even without trying to
guess their future outcome too)...

Seems reasonable to assume that the agreements MS are signing are part
of some strategy. I also tend to think that this
would be an initiative rather than a reaction/defence (as some of the
other FOSS speculators seem to think). So what would that strategy be?

The goal: dominance in server market (clear dominance - not merely being
the largest player).
The means: start by dominating a rising vital technology - server
slicing / virtualization.

  The XenSource agreement assures that Xen compliant OS'es (including
practically any FOSS OS) will run smoothly on MWS hypervisor, but *NOT*
that Windows will run on Xen or any other system (why did Xen sign this?
probably knifing VMware is a good enough cause).  Bare in mind that this
MS hypervisor would probably be bundled with Longhorn Server.

  Throw in the Novell agreement - now, they can also bundle a complete,
free, major Linux distro! (of course if you want Novell support you'll
have to pay extra, but that's peanuts for relevant organizations).
  Now, think it's 2008. Your'e some Unix-based organization (/movie
studio/research center). If you want a Windows server - for any reason -
you can install it ontop  of some other virtualizer, and still use a
Linux from RH or other as a major platform. But why bother? With
Longhorn (which you have to buy anyway) you automatically get a
virtualizer supporting any OS you might think of, *and* a bundled Suse
distro, which works close to native speed.

  Once you get everybody locked in, we all know the rest of the story.
Nobody can force MS to keep the Xen-interface of their virtualizer up to
date. For that matter, they don't even have to make it perform well
compared to other solutions - just make it reasonably comparable for a
while, until you hold 95% of the market (of course, always making sure
that *Windows* performs optimally under the MWS-H, but that's easy,
since it probably uses another interface, and that's exactly what it was
designed for)...

 How can the FOSS community (or anybody) counter that? The only way I
can think of right now is making sure that by Q1 2008 (I think MS
Hypervisor bundles 6 months after first Longhorn release, which is
somewhere in 2007), target organizations (probably using Windows
desktops), would have no need for an MS server whatsoever. That means
closing gaps on *all* fronts - HW drivers, Exchance server interface,
net, Wine, i18n (here: hebrew support!), media codecs, and Bill
almighty knows what else. Verges on the impossible IMHO.

 I'll be happier if you convince me that this is all completely wrong...

AA


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



[pythonil] - meeting, Wednesday 22/11/06, Herzeliya

2006-11-13 Thread Amit Aronovitch
Hi,


After a long break, we have a new host, and the meetings continue.

Date : 22 Nov 2006, 18:30

Location : Egloo Media http://wiki.python.org.il/EglooMedia,

HaSadnaot 3, Herzliya, 3rd floor.


Subjects:

18:30-19:30 : Beni Cherniavsky - What's new in Python2.5
19:30-21:00 Other topics are under discussion,

For updates and more details, see the wiki:
http://wiki.python.org.il/Upcoming_Meeting

Regards,
Amit Aronovitch

---

שלומות,

לאחר הפסקה ארוכה, יש לנו מארח חדש, והפגישות מתחדשות.

תאריך:יום ד', 22 בנובמבר 2006, 18:30

מקום: איגלו/ לוגיה,
הסדנאות 3, הרצליה, קומה שלישית.

18:30-19:30 : בני צ'רניאבסקי - מה חדש בפייתון 2.5
19:30-21:00 נושאים נוספים - לא הוחלט סופית (ראה באתר)

אתר הפגישה בויקי:
http://wiki.python.org.il/Upcoming_Meeting

בברכה,
עמית אהרונוביץ'



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



Re: Tab Completion in GRUB on Fedora on x86_64 machines - does it work??

2006-11-01 Thread Amit Aronovitch

Debian x86_64 GNU GRUB 0.97:

The 64 bit shell tool does not autocomplete.

However:

1) Actual boot loader does complete (I'm not sure which version it was
when I installed it. I think /boot/grub/stage2 just stayed there ever
since).
I think it was installed from the 64bit debian package - but I can't
tell since the stage2 does not seem to be a recognizable executable
format (I wouldn't expect it to be, after all it's not run by an OS).
Does your version's real bootloader autocomplete?

2) If I run the 32bit binary (from a chroot 32 bit env. - same
version) - it does complete.

On 10/31/06, Dan Shimshoni [EMAIL PROTECTED] wrote:

Hello,

I have an x86_64 machine with grub-0.95-13 and Fedora Core 4
and an x86_64 machine with Fedora Core 6 with the
default grub rpm.
TAB completion does not work for me in both.
What I do is , run grub from bash/tcsh terminal, enter the
grub prompt (GRUB) and then press TAB.
In fedora core i386 this lists GRUB commands, thus:
Possible commands are: blocklist boot cat chainloader...
; here I see nothing,TAB completion simply does not
work. Also in x86_64 Feodra , grub root (hd0,0)/ TAB does
not work whereas in i386 it does.


When the grub start, its banner declares that it DOES support
code completion, thus, for example, on FC4:

GNU GRUB  version 0.95  (640K lower / 3072K upper memory)

 [ Minimal BASH-like line editing is supported.  For the first word, TAB
   lists possible command completions.  Anywhere else TAB lists the possible
   completions of a device/filename.]

Did anyone tried it on x86_64 machine (preferably running Fedora),
or is willing to take half a minute to
try and tell wheter he has GRUB  TAB completion
on x86_64 machine ?

(It could be that something in the machine is wrongly configured)

Best,
  DAN



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



Re: force umount

2006-11-01 Thread Amit Aronovitch
Erez D wrote:

 found another very nice solution for smb/cifs (at least for my case)
 it is very usful for other things too

 it is called SHFS
 you can mount whatever you can make ssh connection to

 RTFM: http://shfs.sourceforge.net/

 erez.
Hmm...
How about FUSE over smbclient? Should not be too hard to write an smb
backend.
In fact, just googled this one up: 
http://www.ricardis.tudelft.nl/~vincent/fusesmb/

It might have better performance than shfs as no encryption needs to be
done.
DId anyone try that?


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



Re: 2 ssh servers on 1 ip

2006-10-18 Thread Amit Aronovitch

ssh -p 501 -o HostKeyAlias=host1.home.net [EMAIL PROTECTED]
ssh -p 502 -o HostKeyAlias=host2.home.net [EMAIL PROTECTED]

man ssh_config for more details :-)


On 10/18/06, Erez D [EMAIL PROTECTED] wrote:

hi

i have one ip on the internet, but two ssh servers.

so i did port forwarding: port 501 - host1:22, port 502 - host2:22

the problem is that my local ssh client (openssh/linux) assumes they are the
same computer
and is not happy with them having different certificates (so i am blocked
from one of them unless i delete the line from ~/.ssh/... )


is there a way around this ?


erez.



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



Re: קוד פתוח אלק

2006-09-25 Thread Amit Aronovitch

Re: linux.org.il
Let's be more constructive - write in action-items format, and use the
contact links on the site instead of posting here.

See comments below

On 9/25/06, Amos Shapira [EMAIL PROTECTED] wrote:


  Slick graphic
 excution does not have any added value for this site.

There are two levels in which I disagree with this statement:

1. The current page at linux.org.il doesn't help first-comers to
navigate between the other sites it points to - why would a
non-technical home user looking to understand what's all this Firefox
all about decide to click on a web site described as a site of some
kids with a scar the shape of a penguin? Or why would an owner of
some comercial site trying to understand why someone asks him more
money to make a web site standard compliant might be worth it decide
to click on linux.israel.net's icon? Or how would a lawyer thinking
about switching his office to use Linux servers and OpenOffice.org
bring himself to listen what the people on Linmagazine have to say? If
I were them I'd turn around and run!


Translation:
the captions under those banners are not good enough.
Anyone with better suggestions - please use the feedback form
http://www.linux.org.il/contact



2. Addressing (1) would be a big advantage over the current site but
having a less spartan look (and it shouldn't take much - just copy CSS
of some other good looking site or some FOSS CMS template) will help
keep people in.



Not that there's anything wrong with current design (except maybe the
links in the right sidebar, which IMHO should not be left-aligned),
but there *are* shared FOSS designs out there publicly available for
us to pick
See e.g.:

http://www.oswd.org/designs/browse/

A specific choice (recommend use this and that stylesheet) would
probably be more constructive than just get better design.


At the end of the day, I think that we all share the goal of helping
as many people as possible to understand and start using FOSS. The
current web site can do a better job in doing this.

I already have a mental image of what a document describing my
proposal and what the layout should look like but haven't got around
to sit down and write it. Hopefully tonight I'll have some time to put
down a proposal in writing and offer this to the community.


Oh, good. But for people with short comments etc. - why not use the
feedback form on the page instead of writing here?



 Getting iglu.org.il back online does.

What's so special about iglu.org.il?



That it's currently offline, for one thing.
That makes the prominent link at the top of linux.org.il main page
broken (broken links-bad user experience-...)

btw, the get page needs some work. Specificly, Mandrake, Yellow Dog,
Kazit and Kineret don't have any info (probably went outdated), and
some others are not just there - seems that we need people to post
some contents.

Other possibility: maybe just point to some other site's distros page?

http://www.whatsup.org.il/modules.php?pagename=%E1%E7%E9%F8%FA%20%E4%F4%F6%E4op=modloadname=phpWikifile=index

http://www.penguin.org.il/doku.php?id=%D7%9E%D7%93%D7%A8%D7%99%D7%9B%D7%99%D7%9D:%D7%A2%D7%9D+%D7%90%D7%99%D7%96%D7%95+%D7%94%D7%A4%D7%A6%D7%94+%D7%9C%D7%94%D7%AA%D7%97%D7%99%D7%9C

(hmm... maybe we need a hebrew DistroWatch?)



Just to stress one thing - I do not intend to attack anyone of the
people who run any of these sites, on top of all Ilya who's
description of his goal pretty much fall in line with my idea of the
proper function of linux.org.il and who I see as done more to the
community than I - after all he shells out the expenses to put this
site in the first place.


Always good to state that explicitly :-)

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



Re: Problems with iglu.org.il and how we can attempt to resolve them

2006-09-15 Thread Amit Aronovitch

On 9/15/06, Amos Shapira [EMAIL PROTECTED] wrote:

I see from this link that there is a lot behind the scenes beyond the
current thread, so I better just shut up because I don't know the
entire story here.


Actually, I for one, would be happy to hear the solution of this
mystery (maybe some kernel guru on this list can read the log messages
from the thread and come up with the right patch/LWN article) - just
search for ekimo+memory in the archive:

http://www.mail-archive.com/search/?list=iglu-web%40iglu.org.ilquery=eskimo+memory

(kernel version is 2.6.8 (debian 2.6.8-16sarge4))

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



Re: Problems with iglu.org.il and how we can attempt to resolve them

2006-09-14 Thread Amit Aronovitch

On 9/15/06, Amos Shapira [EMAIL PROTECTED] wrote:

On 15/09/06, Shlomi Fish [EMAIL PROTECTED] wrote:



  As a last-resort fall-back line before system crash - maybe consider using
  dynamic swap space allocators like swapd or swapspace:
 
  http://packages.debian.org/unstable/admin/swapd
  http://packages.debian.org/unstable/admin/swapspace
 

 If we have 3 GB or so of memory, then I don't suppose we'll need more swap.

1. I got the impression from your ogirinal post that the root cause
for the reboot was running out of memory. Isn't it so?
2. I suggested this as an extra precaution to be used when the only
other option is for the system to give up and start killing processes
or generally go south.



Actually, AFAIK the problem is that for some obscure reason, the
oom-killer goes into a killing spree (mumbling something along the
lines of oom verry angry... wannttt mre HighMemmm... ;-) ) when
physical memory becomes full, without even starting to fill the swap.

See e.g.

http://www.mail-archive.com/iglu-web@iglu.org.il/msg01527.html

Maybe what we need is upgrades to the kernel or related packages,
rather than the swapd thingies.

Previous suggestions (originally by Tzafrir, I think) to increase the
swap on eskimo caused objections on the Iglu-web list.
I even got (what was probably intended as) a flame-ish reply from Guy
for merely asking  clarifications about his previous swap-related
comment.
(p.s. Guy: I take your suggestion to go read the memory management
kernel sources as a serious recommendation - but, unfortunately, I
still haven't got around to do it)

 AA

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



Re: Windows PowerShell

2006-08-29 Thread Amit Aronovitch
Nadav Har'El wrote:

 From these, I think that psh is far from what I'm looking for. I am not
 looking for a shell with a different syntax (in this case, Perl's syntax),
 but rather a shell whose pipelines passes not unstructured text (in a unix
 pipe) but rather structured objects.
 Such a shell would not be a more convenient way to run existing unix commands
 (I think the existing shells are already more than convenient enough),
 but rather a new way to build commands and combine them into pipeline

If you provide new structured pipes, you'll have to make your commands
support it, right?

So either you rewrite all of the basic building blocks and end up with
a completely new shell/language
( You say you want to still be able to use the old commands? Well,
there's a 'system'-like command in most scripting languages, and you can
easily parse it's output).

 Or, if you want to implement this by writing a set of cooperating new
commands for an existing shell - there's nothing stopping you right now
- regular pipes carry streams of characters - which you can use to pass
any type of data you want. One way is to use some XML language on
stdin/stdout.

  In fact, there's a (non-XML) language intended for doing that (among
other things):
see http://xparam.sourceforge.net/ -  there's builtin support for basic
types, and you can write registration code for any C++ class.
   The most commonly-known usage is to parse structured commandline
arguments, but  Paramsets can be just as well read from stdin and
written to stdout (or dumped to files as a form of serialization -
there's also support for more space-efficient non-human-readable
RawBytes mode). Very easy to form chains of commands if they all use
this lib.
  In the past, I had used it to pass structured data between python and
C++ programs (p.s. - I think the python interface is only in-house, but
if there's a need, it could be made free :-) ).

   AA


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



Re: Outlook Web Access - Hebrew

2006-07-08 Thread Amit Aronovitch

One thing I noticed, some time ago, was that the outlook web interface
presented in IE was much better than in other browsers (completely
different organization of the main portal, different navigation
panels, some buttons don't appear at all, etc.).
Playing with the browser-id revealed that this actually depends on
the OS part of the id (i.e. when you impersonated running IE on a mac,
you got the lame interface).

However, this couldn't be overcome by impersonating IE on win-XP,
becuse the better interface did not work on my browser (mozilla,
don't recall which version - but I think OWA pages were using some
ie/windows specific extensions anyway, so not much chance).

I wonder if things are any different these days...

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



Re: Recommendations for XP under Linux

2006-07-08 Thread Amit Aronovitch

One option that was not mentioned here, which might be easier under
some circumstances, is using rdesktop to connect to some windows
machine you have a login on.
The company might have a dedicated server for such use, or you might
have a co-worker running windows 2003 server that wouldn't mind your
logging in to read your mail.
(windows XP with SP2 have the support for concurrent sessions
disabled, so it wouldn't work if  someone else is using the machine,
but I think there are patches to overcome that).

This is probably not as good as running your mailclient locally,
however it is sometimes easier to achieve (e.g. if they don't give you
root to your linux machine or don't want you to install emulation
software).

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



[pythonil] Python-IL Meeting: Monday, 26/6, new location

2006-06-24 Thread Amit Aronovitch
פגישת הפייתונאים לחודש יוני תתקיים הפעם בחברת Kashya.


שימו לב למיקום החדש:

רחוב אבא הלל 7, 
רמת גן (ליד צומת עלית), 
בית סילבר, קומה 8.

תודה לאנשי Aduva/Sun שארחו אותנו עד היום, ובמיוחד לליאור.


על סדר היום:
18:30 - רוני מאור על SQLAlchemy
20:00 - קצרים - לפי הצע וביקוש

פרטים באתר

http://www.python.org.il/mediawiki/index.php/Upcoming_Meeting



  בברכה,
  עמית


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



cups locale wierdness

2006-06-23 Thread Amit Aronovitch
Hi,


 As you probably know, the CUPS daemon handles print jobs by running a
chain of filters in separate processes, piping data between them.

  The weird thing I noticed on my system (debian unstable, cups 1.2.1,
locales 2.3.6) is the behaviour of the filter process' locale settings.

  After some experimenting (I replaced my printer driver binary with my
own script that prints environment settings into a file) I got to the
following conclusion:


 The process' locale depends only the locale settings of the user
submitting the job (regardless of the 'DefaultLanguage' settings in
cupsd.conf):


*  If the user that sent the job uses system defaults (i.e. has no LANG
defined, so the locale becomes POSIX), the process gets LANG=en_US.


*  If the user had any value at all in LANG (legal or illegal locale),
the friver process gets LANG=en (which was not a legal setting on my
system).


(the filter runs as user lp, which has no home directory, thus no
special login scripts or locale settings).


 I could not find any reference to explain this, nor any reference to
locale in my cups config files and man pages.


The problem: I could not print as a normal user, only from root. I found
out that this is caused because the printer driver (a filter started by
cups to to convert raster to printer input) dies whenever it has an
illegal locale setting.

I fixed this by adding en   en_US.ISO-8859-1 to locale.aliases and
reconfiguring locales.


 My question: How do you control which locale CUPS assigns to it's
filter processes?

(I want to set it to something other than en, so I can get rid of this
alias).


p.s. -  there's some more gory details which I avoided to make this
post shorter. These come about because I'm actually running a 32bit
binary driver using dchroot from a 64bit cupsd (but it should have no
effect, because I also ran my debugging script on the 64bit side).


Thanks,

Amit



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



Re: 32-bit chroot environement for amd64

2006-06-21 Thread Amit Aronovitch
Avraham Rosenberg wrote:

 2-Another possibility which does not take much more disk space
 (and with nowadays' big disks, who cares anyway ?), is to install
 a separate unstable distribution, just for that. I tried to do
 it, but, during the bootstrap of the 32-bit chroot system, I
 received a cannot download the base configuration package
 message. I retried a couple of days later with the same result.
 Did you have a similar experience? I used the same mirror 
 (http://debian.inode.at/debian-amd64/debianat) which allowed me
 to build the first 64-bit system.
   
How do you bootstrap exactly? debootstrap? which version?
 Been a while since I last used it, but I don't recall such error.

However:
 *  The man page of debootstrap (in unstable) says that
 the old version that's in 'stable' can't be used to bootstrap a 'sid'
system
 (I don't know if this comment is uptodate or if it is relevant to
testing too).

 *  Also, I don't know if we should keep using the dedicated amd64
mirrors now that it's an official arch
(I think I noticed some problems just before I switched back from alioth
to the normal mirrors).
I currently use the normal
http://mirror.hamakor.org.il/pub/mirrors/debian (plus some european ones
for backup).
 3-I did not know about the possibility of tweaking the apt.conf 
 that you mentioned. Where can I read about that ? I only know
 about pinning (I was never able to guess what numbers should I
 write to get the desired result) and the way I mentioned before.
 Cheers, Avraham
   

That specific tip appears in the howto
http://www.debian.org/doc/manuals/apt-howto/ch-apt-get.en.html#s-default-version

more resources: man apt.conf,  /usr/share/doc/apt/examples/ (contains a
sample file with listing of all recognized options), the apt-doc package
(short html manuals) plus several guides on the net (I seem to recall
some detailed html one but can't find it).


   Best,
  Amit


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



Re: amd64-bit/32-bit woes

2006-06-21 Thread Amit Aronovitch
Hi Avraham,


 I see your'e suffering from dchroot aches (as I said in previous post -
the common source of trouble in deb-amd64...)

 One small comfort is that this is only a temporary situation, because

  a) Debian plan to go multiarch . The chroot thing is merely a
temporary workaround.

  b) unstable is already moving from dchroot to schroot, which is
supposed to be a little better.


See my comments inline below.


Generally what I'd try to do next is get some more debug info on what's
happening on the ia32 side of your xv invocation.

replace your ia32 xv executable with some script that prints it's cwd,
it's PATH and it's commandline

parameters (either to terminal or to some file).


 Run it with the working launcher and with the broken one, compare the
results.


Avraham Rosenberg wrote:

 Hi Guy,
 Thanks for the answer.
 Most of your remarks are answered by the sentence you quoted
 immediately after. In case this was not clear enough, I shall try
 to do better now.
 On Wed, Jun 21, 2006 at 12:57:22AM +0300, guy keren wrote:
   
 so dchroot is not found under /usr/bin/dchroot.

 did you try to first run which dchroot from the shell, to see where
 dchroot is located?
 
 Certainly, and the answer was: /usr/bin/dchroot.
   
 The only way it worked was:
 #!/bin/sh
 if [ -f /usr/bin/dchroot ]; then dchroot -c ia32 -d -q xv $*; fi
   
 worked = executed properly? or worked = did not emit any error?
 
 Worked allright. Got the expected output 
   
I really can't figure out  how comes the if clause makes any difference.
You sure you ran the version without the if from the same current
directory? same PATH? didn't do any changes to the ia32 chroot system
between the runs? Maybe some other unrelated change which caused a
different 'xv' command to be found?
 add an 'else' clause to the above if, to see that the 'if' part actually
 took place.
 
 I don't understand that...
   
He probably means something like

if [ -f /usr/bin/dchroot ]; then dchroot -c ia32 -d /usr/bin/xv $*; else echo 
hmmph I got false...;fi

Just more debugging.
and always drop the -q while we're trying out stuff.
Oh, I see you did (don't put it back until we figure out what's happnin')...


 I tried then to combine the conditional with the original
 do_dchroot:
 #!/bin/sh
 ARGS=
 for i in $@ ; do
   ARGS=$ARGS '$i'
 done

 #exec dchroot -c ia32 -d -q `basename $0` $ARGS
 if [ -f /usr/bin/dchroot ]; then exec dchroot -c ia32 -d -q `basename $0` 
 $ARGS; fi

 This time there were no error messages, but no output either.
   
 perhaps the system is playing some tricks on you? perhaps when it invokes
 this shell script, its environment gets screwed in some way?
 
 The same script had worked corectly before. I'd rather think that
 the many testing packages I added in the meantime, in an attempt
 to build octave2.9, have brought the system to an unstable state.
 If I can't guess what specifically does the harm, the only
 options left are to remove the testing from sources and
 preferences and make a dist-upgrade, or a fresh install.
   
I thought you were running testing. Did you mean unstable (sid)
packages, or are you using the sarge backport?
Anyways, I don't think there's much chance this would make a difference.
testing and unstable are not very different, and the problems in hybrid
flavors usually manifest as dependencies spaghetti, not mysterious
environment switching (that sounds more like dchroot's kind of
troublemaking).
 to debug this, why don't you add 'echo' before the above 'exec', and see
 what it going on (or run this scrip tusing 'sh -x .')?
 
 avraham5:~$ sh -x xv /store/qtmp/qtmp/Prokudin-Gorsky/buchara.tiff
 + ARGS=
 + ARGS= '/store/qtmp/qtmp/Prokudin-Gorsky/buchara.tiff'
 + '[' -f /usr/bin/dchroot ']'
 ++ basename xv
 + exec dchroot -c ia32 -d -q xv ' 
 '\''/store/qtmp/qtmp/Prokudin-Gorsky/buchara.tiff'\'''

 after suppressing the -q from the script, I got the additional
 line:
 (ia32) xv  '/store/qtmp/Prokudin-Gorsky/buchara.tiff'
   
As far as I recall, this was the script that showed no error, but did
not produce any output. Did it work now?
 which works perfectly from the command line as
 avraham5:~/scripts$ sh -x xv32 '/store/qtmp/Prokudin-Gorsky/buchara.tiff'
 + '[' -f /usr/bin/dchroot ']'
 + dchroot -c ia32 -d -q /usr/bin/xv /store/qtmp/Prokudin-Gorsky/buchara.tiff
 (/store is bind-mounted in ia32 in my /etc/fstab)
   
Did this one actually work?

note that this time you don't run xv, but /usr/bin/xv (a good idea,
btw. this way we know exactly which 'xv' we're running).

Do you have several xv commands on the ia32 chroot?
Maybe you have something on /usr/local/bin/
Maybe the chrooted shell sees the 'xv' launcher script itself (the
modified do_dchroot, which you used in previous code sample).
 I'll be damned!
   
 until you start adding debug messages to your script. then you'll be
 puzzled - and that's a much better state of being ;
 
 In my experience, these two states 

Re: 32-bit chroot environement for amd64

2006-06-19 Thread Amit Aronovitch
Avraham Rosenberg wrote:

 packages only. Anyway, I went immediately for it and for transfig.
 I was less lucky with octave2.9:
 Package octave2.9 is not available, but is referred to by another package.
 This may mean that the package is missing, has been obsoleted, or
 is only available from another source
 E: Package octave2.9 has no installation candidate
   
Hmm... Seems that the amd64 version is only available for unstable
(which is the flavor I use)...

http://packages.debian.org/cgi-bin/search_packages.pl?keywords=octave2.9searchon=namessubword=1version=allrelease=all

If you really need it, you could add unstable to your sources.list
(just make sure to put
Apt::Default-Release testing;
in your apt.conf if you wish to avoid a wholesale upgrade to sid).
 The 64-bit octave2.1 does work with the 32-bit xv without problems. I
 still intend to try and build the 64-bit xv version, but this is not
 urgent matter.
 As for submitting it to debian, I am affraid that xv's licence is not
 politically corect enough for them. I prefer it, nevertheless, to
   
Indeed - seems that it's a personal use only license (distributing
binaries is illegal, even if you buy the site license), so even in
non-free it would be illegal.
  However, I'm sure an automatic installer in contrib (like the ones
for Java or MS truetype fonts) would be appreciated.
But, of course, let's not put the cart before the horse - we must have a
working compilation first...

   Amit


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



Re: 32-bit chroot environement for amd64

2006-06-18 Thread Amit Aronovitch
Avraham Rosenberg wrote:

 On Fri, Jun 09, 2006 at 04:50:59PM +0300, Amit Aronovitch wrote:
   
 To avoid trouble, I try to run everything in the pure 64 environment,
 with minimal stuff on the 32bit chroot.
  Can you give the specific reasons why you need these apps to be 32bit?

  ImageJ: Can't it run on a 64bit Java (isn't Sun's Java available for 64
 bit Linux?, can ImageJ run on gcc's gij)?

 
 Sure. After reading your letter I downloaded and installed Sun's
 64-bit Java. Works fine. Thanks. The problem with the 32-bit
 version of java was that I could not start Imagej from within the
 64-bit environement, probably because it is started by a script.
   
  xv: AFAIK this comes with sources. Did not try compiling it myself but
 I guess it should have no trouble compiling for 64bit. (I'm almost
 certain I've used xv on a 64bit IRIX machine some years ago).

 
 Sometime in the past, I tried to build xv and had some problem. I
 was therefore very happy to find this unoficial deb. As I intend
 to use it with octave -which is available in 64-bit version- I'll
 probably overcome my lazyness and try again. For the moment it
 works well in the chroot environement.
   
If you do, let us know. People might wish to create deb/rpm of it (for
debian, it could probably be provided officially in the non-free section).
  Opera: I don't know the browser, but I do use 32bit firefox (for the
 proprietary binary plugins...). I guess similiar reasoning apply to Opera.

 
 I started using opera because, on my old system, mozilla took a
 looong time to start. But, besides that, (please corect me if I am unfair
 to mozilla) it has good automatic recognition of the Hebrew UTF8 character
 set. Israeli sites, especially bezeqint's my-mail.co.il look cleaner on 
 opera than in mozilla.
   
 Other stuff I have on the 32bit chroot:
 OpenOffice (I'm not sure of the reasons, but it seems that the 64bit
 debian packages are not ready yet), and all of it's dependencies.
 Acrobat Reader, printer driver for my old Lexmark, and mplayer (again,
 for the proprietary win32 codecs).
 
 I do not use Open Office and Acrobat Reader (I have xpdf in
 64-bit version). My old Panasonic-XP1123 dot-matrix printer works
 happily with 64-bit cups.
   
xpdf: evince  ggv also work fine, usually, but each has it's own
problems (unrelated to bitness).
Some have problems with math fonts or antialiasing, some are not
searchable, some had probs with displaying slides correctly.
A quick check shows that recent xpdf behaves quite well, but I see no
option to jump between fullscreen and window mode, and no visual page
thumbnail navigation, so acroread is probably still better for
presentations...

OpenOffice: currently the best way to read all those MS-Office files
that people insist on sending me for some reason...

Good to hear your'e doing better in the printer department :-)

  (use /usr/sbin/update-alternatives --list java in the two environments)
 
 I think this can work only with stuff installed through the
 debian pkg system. Is java available as a debian package?

   
Some implementation of it...
apt-cache search java-runtime shows: gij, kaffe, and sablevm
So far the (little) I used worked fine with gij.

For Sun's Java: there's the java-package package, which should help
you build your own deb automatically from Sun's binaries.
I suppose if it does the packaging right it should provide the
java-runtime virtual package and the proper alternatives configuration.
 Apart those, the only important files I saw in the chroot
 package, which were not available on the a-64 system were some
 facilities for deiting graphics and converting graphic file 
 formats. The only ones of immediate interest were xfig and 
 transfig. At least xfig can be operated from within the 64-bit 
 environement. I did not try transfig yet.

   
xfig is available in the amd64 distros (both testing and unstable), and
works fine for me in 64 bit (Just don't try to draw circular arcs using
the new center-point method - it crashes, don't know if this bug
exists also in the 32bit version).

transfig is also installed 64 bit here, but I never tried it too (export
option from the xfig GUI works fine for me).

For converting image formats, ImageMagick's convert and Gimp's save
as do a very good job. I also use gthumb for browsing and converting
large photo collections (all work very well in amd64 mode).

Regards,
Amit


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



Re: 32-bit chroot environement for amd64

2006-06-09 Thread Amit Aronovitch
Avraham Rosenberg wrote:

 Hi,
 Still struggling with my new amd64 system and with its 32-bit
 chroot environement.
   
Here it works mostly fine. Sometimes it needs some tweaks, mainly
related to changing behaviour of the dchroot utility (between new
releases of the package).
 I installed it according to the HOWTO, and installed a couple of
 programs (most notably xv, opera and ImageJ).
   
To avoid trouble, I try to run everything in the pure 64 environment,
with minimal stuff on the 32bit chroot.
 Can you give the specific reasons why you need these apps to be 32bit?

 ImageJ: Can't it run on a 64bit Java (isn't Sun's Java available for 64
bit Linux?, can ImageJ run on gcc's gij)?

 xv: AFAIK this comes with sources. Did not try compiling it myself but
I guess it should have no trouble compiling for 64bit. (I'm almost
certain I've used xv on a 64bit IRIX machine some years ago).

 Opera: I don't know the browser, but I do use 32bit firefox (for the
proprietary binary plugins...). I guess similiar reasoning apply to Opera.


Other stuff I have on the 32bit chroot:
OpenOffice (I'm not sure of the reasons, but it seems that the 64bit
debian packages are not ready yet), and all of it's dependencies.
Acrobat Reader, printer driver for my old Lexmark, and mplayer (again,
for the proprietary win32 codecs).

 While xv seems to work flawlessly, opera is only partly
 functional and ImageJ accepts to work only if started from within
 the chroot.
   
What do you mean exactly:

  a) What jvm you are using? (sun? gij? blackdown?)
 (use /usr/sbin/update-alternatives --list java in the two environments)

  b) Do you mean you have both 64bit jvm and  a 32bit one, but only the
32bit installation is able to run the jar?
or

  c) You want to run the 32bit java from the 64bit commandline (or
desktop launcher, etc.) using dchroot-based script.
 In this case, then the most common scenario is that dchroot is
configured to only allow running binaries or only scripts (this changes
once in a while - seems like the package maintainers can't make up their
mind...)

 * If it only allows binaries, you should give dchroot the java
executable as command, specifying the path to your class/jar as
commandline parameter (read the source of your launcher script to find
that info)
 * If it only allows scripts, just create a launcher script yourself
(on the 32bit chroot /usr/local/bin) and give this script as the command
name for dchroot.
 * Another possible source of trouble - bash quoting mess: you have
a launcher script containing the dchroot command on the 64bit side, plus
the original launcher script on the 32bit chroot, so launching the app
causes the parameters to be passed around through two shells plus the
dchroot command, which might cause havoc if you have special chars in
them (especially tricky to debug if these parameters are auto-generated
by cups. My lesson for today: never rely on proprietary 32bit printer
drivers  :-( )

 I would be very grateful for any hint to explain what is the root
 of the difference in behaviour between the three.
 That may have to do with the fact that ImageJ is written in Java.
 (As I do not know a thing about java, I tend to accuse it of any
 misbehaviour of the system! Most probably that my next trouble
 will have a different cause...).
   


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



[Python-IL] reminder - 29/5/06 יום שני

2006-05-22 Thread Amit Aronovitch




‫שלום,

ברצוני להזכיר שפגישת הפייתונאים הבאה תתקיים ביום שני הקרוב, 29/5/06
במשרדי אדובה ברמת גן.

http://www.python.org.il/mediawiki/index.php/Upcoming_Meeting

על  הפרק:

* 18:30-19:30 - אלי גולובינסקי על wxPython
‫* 20:00-21:00 - רוני מאור על Twill או על SQLAlchemy‬

פרטים, עדכונים, קשר - בויקי (קישור לעיל), או לפנות אלי (מייל/טלפון).

 בברכה,
עמית א.






Re: charge per usage (a bit off topic)

2006-04-23 Thread Amit Aronovitch
Stanislav Malyshev wrote:

GD Switching ISP might not solve the problem... It's just a matter of time
GD till all other ISPs follow suite.

That might depend on how many users would leave Netvision and tell them 
the reason they left is the bandwidth limitations. If there's enough the 
idea might seem less appealing to other ISPs.

  

There was some thread on similiar topic (regarding Actcom) some time
ago, I don't recall the details...

Just a thought - maybe, if approached by the right people, they could be
persuaded not to count specific IP's
(e.g. Hamakor mirrors) for this fine?

After all, open-source distros and package updates are not such a big
chunk of traffic (surely when compared to P2P networks) - they might
think it's worth it for a little PR.

  Amit


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



[Python-IL] reminder - 24/4/06 יום שני

2006-04-22 Thread Amit Aronovitch
‫שלום,

ברצוני להזכיר שפגישת הפייתונאים הבאה תתקיים ביום שני הקרוב, 24/4/06
במשרדי אדובה ברמת גן.

http://www.python.org.il/mediawiki/index.php/Upcoming_Meeting

על  הפרק:

* 18:30-19:30 - Michael Bernstein על Zope
‫* 20:00-21:00 - נעם רפאל על GUI בעזרת Glade ו- PyGTK‬

פרטים, עדכונים, קשר - בויקי (קישור לעיל), או לפנות אלי (מייל/טלפון).

 בברכה,
עמית א.


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



[Python-IL] reminder - 21/3/06 יום שלישי

2006-03-19 Thread Amit Aronovitch

‫שלום,

ברצוני להזכיר שפגישת הפייתונאים הבאה תתקיים ביום שלישי הקרוב, 21/3/06
במשרדי אדובה ברמת גן.

http://www.python.org.il/mediawiki/index.php/Upcoming_Meeting

על  הפרק:
* 18:30-20:00 - מערכות ניהול גרסאות (subversion, gnu arch, bazaar-ng, 
ואולי עוד).

* 20:00-21:00 - הדגמה של Robin , עי מישה סלצר.

פרטים, עדכונים, קשר - בויקי (קישור לעיל), או לפנות אלי (מייל/טלפון).

 בברכה,
עמית א.


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



Re: Trying to play *.wmv files in Linux (Debian Sarge) using totem

2006-03-11 Thread Amit Aronovitch
I don't think that's got anything to do with the freeness of mplayer.The dll's are not packed in the mplayer package - your'e supposed to download them from mplayer site or whatever yourself (you can actually
watch many types of videos with free codecs only, and whichever extra codecs you choose to install is not the concern of Debian).The same codecs can be used with xine which is available from themain archives without trouble.
Also AFAIK nobody at Debian has any problems with GPL, nor withBSD or many other OSI approved licenses which the FSF might considerborderline (e.g. non-copyleft). GFDL is another matter entirely. 
This just goes to show that freeness is not just a one-dimensional scale ;-)On 3/8/06, Oded Arbel 
[EMAIL PROTECTED] wrote:I was under the impression that debian was all like only completely
free software (and we think GPL is borderlined) and such - where doesthis w32codecs package come from and how does it sit with the debianguidelines, if you'd care to enlighten us ?Thanks.



Re: Trying to play *.wmv files in Linux (Debian Sarge) using totem

2006-03-07 Thread Amit Aronovitch
Re: mplayer deb-packageI think I recall some ugly flamewars between mplayer upstream dev and debian maintainers (in debian mailing lists), so there might be some personal issues in this.I was not able to google them up, but I found this link 
http://people.debian.org/~mjr/legal/mplayer.html which seems to suggest that there were some legal issues, now resolved. I did not have time to read it fully.
Anyways: two possible solutions1) Christian Marillat's debian repository deb http://cyberspace.ucla.edu/marillat/ unstable main I've been using it for some time, contained packaged mplayer plus dependencies plus other stuff - I believe it's still available and might contain recent versions.
2) The upstream mplayer source contains a debian/rules makefile which can be used to compile your own debmake sure to fulfill the build-deps (I think there's some tool that does that automaticly, but the readme's provide some
extra tips, and it might be useful to follow manually).Here's some notes I took last time I made my mplayer deb (seems to be from December, might be wrong/outdated, and I can't fully understand what they mean now - so no warranty etc.):
dependencies:libc6-devx-window-system-dev (maybe just x-dev??)libpng-devlibgtk1.2-dev - libgtk2.0-dev (seems like README is wrong)from ffmpeg: libavcodec-dev libavutil -- not in debian -- from ffmpeg?
 libavformat-dev (extra?) (I installed the deb packages (to be sure the deps are fulfilled), but copied the cvs resources as the mplayer README suggests)more (for optional support, etc.): libfreetype6-dev
 libfribidi-dev libsdl1.2-dev


Re: Crossover office - Writing hebrew in IE

2006-03-06 Thread Amit Aronovitch
Daniel Feiglin wrote:

 Version 2 of Crossover Office seemed to work OK, and then it broke on
 version 3+.

 Solution:
 Using Samba, network and old Pentium II just to run MS IE, Office c.

Interesting idea.
Will a PII work faster than QEMU on an Athlon? (How about VMWare?)

Note that to make the machine work with modern versions of
Windows/Office, you probably need more disk and memory than what was
standard at the time.
 On a PI-mmx, I had to flash the BIOS to make it work with a 20G hd, and
I could not make it use more than 128M ram consistently. A PII might be
just good enough though.


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



Re: RESEND: Trouble with Gnome 2.12 after upgrade to current Debian Testing packages

2006-02-25 Thread Amit Aronovitch
In Desktop-Preferences-Keyboard-Layout Optionsthere's the Group Shift/Lock behaviour droplist with all the normal key combinations to choose from.At least it's there on my machine - I have version 
2.12.3-2 of gnome-control-center (that's the current default for unstable).btw,
if your'e messing with the xorg configuration, you might wish to try
the lyx or sil variants of the il layout (they support nikud and
unicode bidi marks) - both available to choose in the Add option of
the Layouts tab.



Re: More Data (was: Re: Trouble with Gnome 2.12 after upgrade to current Debian Testing packages)

2006-02-25 Thread Amit Aronovitch
he_IL is for locale.AFAIK the correct xorg layout name is il. At least that's what's in my (working) config...


Re: outofthis mess soundadvice

2005-12-02 Thread Amit Aronovitch
for backup:

I think the best way would be on HD. 
Do you have an empty partition big enough to contain your whole current distro?
Maybe a new hard-disk?

When I moved to amd64 distro I kept my old harddisk connected in a removable drawer.
I can still boot to it on emergency, but the best thing is I
don't have to! I can just chroot into it and run the old apps anytime -
they see the whole old system intact (I can even apt-get new stuff into
it without ever interfering with my working new environment).
This way you can make a fresh install (or dist-upgrade), then
copy missing configs from the old system as needed (or even dpkg -i
directly from your old apt cache)

About demudi: From here: http://demudi.agnula.org/wiki/DocumentsConcept
I see that it's a merge of sid, etch and ubuntu hoary. When you said
they advised stop using testing - what did they suggest instead: stable
or unstable?
I can tell you that the current version of aptitude on sid has a built
in *interactive* dependency problem resolver (you can page through a
list of it's suggested operations, view and choose them). It also seems
like the resolver algorithm improved much lately. 
So maybe, just maybe, next time you run into dependency hell, you'll have an easier way out.

 good luck



continuing multisession cd with xcdroast: cdda2wav -J problem

2005-11-25 Thread Amit Aronovitch
For some time now, I've been using a strange hack to backup my data on
CD's: I chroot into my old harddisk and run xcdroast from there.
 This is because xcdroast started misbehaving after some major
distribution upgrade I had to do - I could not make it continue any
multisession CD's, because it insists on identifying ALL existing tracks
on all CD's as audio tracks (so would not allow to continue a session).
 Today I tracked down this problem using strace. Now I have an override,
but it still does not seem the right thing to do.

xcdroast uses cdda2wav -J to identify the inserted CD.
Now, it seems that cdda2wav, when given -D /dev/hdd as parameter,
insists on identifying everything as audio. This happens on both
environments, however on the old one, if you give it -D ATAPI:0,1,0 it
works fine (note: I am using 2.6.14 kernel - there's *no* ide-scsi
emulation driver at all).
On the new environment this did not work, because it could not find the
device - it turns out (strace'ing cdda2wav) that it scans
/dev/cdroms/cdrom0, /dev/hda, /dev/hdb and then stops, whereas on the
old env (probably older version of cdda2wav or some library) the scan
goes on and finally finds /dev/hdd (the correct cdrw device).
 Now, my override is to make /dev/cdroms/cdrom0 a symlink pointing to
/dev/hdd (I could probably do that automaticly using udev or alike), and
configure xcdroast to use ATAPI:0,1,0 as device (it works fine if I type
it in manually).

 So, I don't need the chroot anymore, but I'm a little puzzled:

1) Are we really supposed to keep using scsi numbering with 2.6 kernel?
Why does cdda2wav misbehave with -D /dev/hdd : a bug? some remnant of
the old Joerg vs Linus ide-scsi war?  ( for those who missed - look here:
http://programming.linux.com/article.pl?sid=03/12/09/1341236mode=threadtid=40tid=91
)

2) Why does the newer version of cdda2wav stop the scan at hdb (when
given the ATAPI parameter)?

3) Is it only on my system (debian pure64 unstable)? Do other people
have trouble continuing multisessions with newer versions of cdrw tools?
(Maybe more modern burning progs don't use cdda2wav at all)

 Regards
   Amit


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



python-IL : meeting 15/11 18:00

2005-11-11 Thread Amit Aronovitch
The Hebrew announcement will be followed by an English one...

פגישת הפייתונאים לחודש נובמבר תפתח גם הפעם בשיעור למתחילים מאת נעם רפאל.

הפגישה תתקיים ביום ג', 15/11/05 בשעה 18:00, במשרדי חברת אדובה, רחוב
בצלאל 33 רמת גן (מגדלי פז), קומה 13.
שעור המתחילים דורש ידע בסיסי כלשהו בתכנות. זהו השעור השני בסדרה - למי
שלא היה בשעור הראשון מומלץ לקרוא מעט קודם לכן - במיוחד על הטיפוסים
הבסיסיים בפייתון - מילון, רשימה וכו.
קישורים למתחילים ראה כאן:
http://www.python.org.il/mediawiki/index.php/%D7%97%D7%95%D7%9E%D7%A8_%D7%9C%D7%9E%D7%AA%D7%97%D7%99%D7%9C%D7%99%D7%9D

בשעה 20:00 תתקיים הרצאתו של בני צ'רניאבסקי על תהליך הפיתוח של פייתון
והקהילה.

:פרטים נוספים באתר הפגישה
http://www.python.org.il/mediawiki/index.php/Meeting_15_November_2005

-

The meeting will take place at Tuesday, 15 November 2005 at Aduva in
Ramat Gan.
(Paz Towers, 13th floor, Betzalel 33).

18:00: Beginner's lesson (part 2), by Noam Raphael. This is the secont
lesson, so if you did not attend, you are advised to read - especially
about basic types in python (dict, list, tuple etc.):
http://www.python.org.il/mediawiki/index.php/%D7%97%D7%95%D7%9E%D7%A8_%D7%9C%D7%9E%D7%AA%D7%97%D7%99%D7%9C%D7%99%D7%9D

20:00: The Python development cycle and the community, by Beni Cherniavsky.

for details, check
http://www.python.org.il/mediawiki/index.php/Meeting_15_November_2005


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



Re: help my bash is gone

2005-10-31 Thread Amit Aronovitch
Amos Shapira wrote:

On 10/31/05, Aaron [EMAIL PROTECTED] wrote:
  

Hi all,

I have this strange behaviour that when I open a new term session or
even in an existing term sesstion I will execute a common command such
as ls or cd and the shell returns command not found. usually I can close



cd command not found?? cd is an internal shell command (doesn't make
sense to run it in a separate process). Are you sure that's what happened?
  


What's the exact error message? It should be something like
-bash: exact commandname: command not found

 Any other format might mean you are not really running bash, or that
bash is not really seeing the command you typed (e.g. bad aliases, bad
readline library, problems with keyboard/X/tty driver, etc.)

 And what's a term session? Do you mean an X terminal, ssh/telnet from
other machine, or a VC (text mode)?


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



Re: help my bash is gone

2005-10-31 Thread Amit Aronovitch
The problem with this issue, is that there is a wide range of possible
causes to this problem, spanning a large 'diagnosis tree'. This makes it
hard to diagnose by iterative mail questions.
I'll try to ask enough questions to cover the more reasonable? causes.

Aaron wrote:

cd command not found?? cd is an internal shell command (doesn't make
sense to run it in a separate process). Are you sure that's what happened?
 

  

seperate process?
  

I think what Amos means is that for cd it's a different matter than e.g.
for ls.
When you type ls, bash searches for the command on your path, and if
found runs it in a subprocess. If your path, or the disk containing the
executable (normally /bin/ls) is broken, you get the message you got below.
  However since cd is an internal command, bash should run it directly
(there is no 'cd' executable, it's the bash executable that does the
job), so we'd be very surprised if you see similiar message for the 'cd'
command too. Were you just giving an example or did you actually see a
'-bash: cd: command not found'? I can hardly imagine how this could
happen - unless the bash executable itself is broken.

What's the exact error message? It should be something like
-bash: exact commandname: command not found



-bash: ls:command not found

  

OK, so we know it's bash, and we know it knows you typed ls (unless
there are some mysterious unprintables hidden over there), rules out a
few exotic possibilities.
What about if you try explicit path: /bin/ls ? Can you access /bin at
all? I would have said try ls'ing it, but since you don't have ls...
what happens if you type /bitab? does it complete? if yes, try another
tab to see what's there...

If there is a working /bin/ls, then it's your PATH. Were the echo
$PATH results you mentioned before done from a working terminal? If
yes, try from a non-working one (echo, like cd, is an internal command -
if it does not work, either you have a bad alias or your bash executable
is bad).

If you see no /bin or no /bin/ls, indeed the most probable cause would
be a bad disk/ bad file-system. When this happens, try switching to
another (working) shell, and see if you can access /bin/ls from there.
If you can run /bin/df, try /bin/df / and /bin/df /bin.
It might also be related to user permissions (maybe these shells are
opened under some special user, that does not have read or exec perms to
the file) - try running /usr/bin/id ... oops - this would probably not
be available too - so try locating this shell by carefully examining the
output of ps -ef from another terminal - note the user id. One more
general diagnosis tool - if you do locate the shell's process from
another terminal, you can use 'strace -p process number', then go back
to the bad term and type /bin/ls -ld /bin/ls to see the syscalls bash
does when looking for ls.
Yet another possibility, is that for some reason the shell or the
terminal is run chroot(8)'ed to some other place - I guess this one is
too far fetched for now

was from ctrl alt F2

but the same thing on term windows

I us konsole if it matters

  

This would have helped to further diagnose had you given a different
answer to my other question (the exact error message). As it stands it
probably does not matter.

It happens randomly and often after time when I open a new term.
Aaron
  

after time - does that mean that it works ok for a while, then the
same shell stops recognizing commands? Or do you simply mean that you
open a new shell after some time, and the *new* shell is the one that
does not work? Or - is it that they both stop working, but this does not
happen unless you open a new terminal.

One more useful technique you can try, especially if you suspect PATH is
being corruped, is adding debug printings in initialization scripts -
e.g. /etc/profile /etc/bash.bashrc,  ~/.bash_profile and ~/.bashrc
(sometimes it's the initializations scripts that fail, corrupting your
PATH on the way). But do make sure you remember to remove them once
your'e done experimenting...


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



Re: debian-amd64 mirror (fwd)

2005-10-27 Thread Amit Aronovitch
Orna Agmon wrote:

Hi all,

If anybody is using an Opteron and can help checking the Debian mirror, it
will be highly appreciated.

  

Is Athlon64 ok too? (same binaries AFAIK)

I did notice the disappearance of hamakor amd64 mirror, and have been
syncing with alioth and european mirrors ever since.
Now that I read this mail, I pointed my apt to iglu.

here's my sources.list lines:

deb http://mirror.iglu.org.il/pub/debian-amd64/debian unstable main contrib
deb-src http://mirror.iglu.org.il/pub/debian-amd64/debian unstable main
contrib

Update seems to get the package-lists smoothly.
Since my distro is up to date now, I don't know about installs.
I'll do tommorow's installs from the new mirror and let you know if any
trouble.

Amit


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



Re: Israeli Linux Logo

2005-10-22 Thread Amit Aronovitch
On 10/21/05, Shoshannah Forbes [EMAIL PROTECTED] wrote:
Putting the other comments aside for a moment, it seems to me thatthe text has a grammatical error in it. Shouldn't it be מערכתההפעלה הכי כשרה- and not מערכת הפעלה (noticethe extra heh)?

Yeah, and while we're at it - note the position of the gershaim - should be בסד
(always before the last letter).

On 10/20/05, Man Gregory [EMAIL PROTECTED] wrote:
Ok, now another BIG question:Does community ready to make a donation to promotion?Not to designer, but to show banners in popular web resources, etc.Or Linux promotion in Israel it`s just beautiful words?


If you have a specific plan for a campaign in mind, you should try
posting in hamakor list discussions@hamakor.org.il . Who knows - they
might decide it's worth spending some of our membership- fee sheqels on.



Reminder: Python-IL Meeting Today

2005-10-18 Thread Amit Aronovitch
This is a reminder that today, 19/10/05 the Python-IL meeting will take
place.

The Place: Aduva, Betzal'el 33, Ramat Gan (a walk away from the Tel Aviv
Arlozerov Train Station.)

The Schedule:


Attendance is free, but ~10 NIS to pay for the refreshments would be
welcome.

More information can be found at this Python-IL Wiki page:

http://www.python.org.il/mediawiki/index.php?Meeting_19_October_2005

Regards,

Amit Aronovitch





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



Re: Reminder: Python-IL Meeting Today

2005-10-18 Thread Amit Aronovitch
Sorry for messing up the link  :-(
here it goes again:
 http://www.python.org.il/mediawiki/index.php/Meeting_19_October_2005

 Regards,
Amit




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



Re: Wireless card (zd1211)

2005-10-17 Thread Amit Aronovitch
If you do use zd1211 - few things to note:

1) Last time I checked, the released tar.gz on sourceforge did not work. Use the cvs version.

2) There's also another development branch on subversion:
 http://zd1211.ath.cx/
 That IS the same project, but the two branches are not fully
merged yet, some patches are cvs only, others svn only
(e.g. - WPA support :-( )

3) The zd1211_ng driver available on sourceforge is supposed to be a
rewrite. It's currently just a skeleton, and currently seems to be
abandoned.



Re: rdesktop tip: If you use Alt-Shfit to switch languages...

2005-10-02 Thread Amit Aronovitch
Thanks Ilya, this seems very interesting.

We've been having a different kind of problem:

   The linux machines use the right-windows-key for language-switch,
thus avoiding the problem you described.
However, the trouble is that very frequently windows gets into a sticky
alt state (as if rdesktop forgot to send the 'release' event for some
ALT keypress - the way to get back to normal is press the ALT in Linux,
then release it while in Windows).
  Some time ago our sysadmin fixed this by some X keyboard remapping (I
think he fixed some sort of mixup between ALT and META), but recently
the problem came back (with extra malice - now there's also sticky CTRL
and sticky left-ALT).

  This thing was driving me crazy lately, so I was anxious to try out
your tip.
When I run rdesktop with '-k none' the 'sticky' nightmare seems to be
gone, BUT - now some important keys (the normal arrows,
insert/end/home/del) are completely ignored ...
 
 Any idea what's going on?

Amit

Ilya Konstantinov wrote:

Hi,

Something useful I just found out:

If you use rdesktop to connect to a Windows machine and you use
Alt-Shift as the keyboard language switching combo both on your Linux
and the Windows desktops, you've probably noticed how Alt-Shift switches
the language on both Windows and Linux at the same time.

And this creates a mess. For example: you press the 'Q' key = Linux
translates it to '/' (Hebrew keyboard) = Windows translates it to
'.' (Hebrew keyboard).

You can inhibit this by running 'rdesktop -k none' to disable rdesktop's
keyboard mapping feature. That'll make rdesktop only send the physical
key (scancode) you've pressed and Windows will interpret it however it
likes to.

(I'll ask the rdesktop authors to include this in their documentation.)

  



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



Re: python script for scribus

2005-10-01 Thread Amit Aronovitch
Hi Aaron,

 I don't think I understand what you are trying to do.
Can you explain more clearly, maybe with some examples?
(I'm not familiar with scribus, so example of how the numbers should be
formatted would help).

If you sent the script itself as attachment - it does not appear on the
list. Please resend (maybe as plaintext inside your mail).

p.s. - for help with python scripting, you can try posting to the
python-IL list ( http://www.iglu.org.il/mailing-lists/python-il.html ),
or I can forward it for you if you don't wish to subscribe.

Aaron wrote:

Hi all,

I am writing a book of songs and each song has a title and two numbers,
a hebrew and an english (arabic) one.

each number is enclosed in the same graphic frame.

I was making the numbers manually but ouch each time I added a new song
or moved a page.

I wrote the scribus list and someone started a script for me but he had
no way of making the script work for hebrew letters as numbers.

I also can't tell if his script is robust enough to permit the moving of
numbers and still have the autoupdate.

my guess that there needs a better way of creating the number template.

I am enclosing his script is there a python person who can take help
with this?
  



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



Reminder: Python-IL Meeting Tomorrow

2005-09-19 Thread Amit Aronovitch
This is a reminder that tomorrow (Tuesday 20/9/05) the Python-IL meeting will 
take place.

The Place: Aduva, Betzal'el 33, Ramat Gan (a walk away from the Tel Aviv 
Arlozerov Train Station.)

The Schedule:

* 18:00 - 19:00 - Python for Beginners, by Noam Raphael
* 19:00 - 20:00 - Gathering, food, and talk.
* 20:00 - 21:00 - Using matplotlib, by Amit Aronovitch

Attendance is free.
~10 NIS as pay for the refreshments would be welcome.

More information can be found at this Python-IL Wiki page:

http://www.python.org.il/mediawiki/index.php/Meeting_20_September_2005

Regards,

Amit Aronovitch



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



Re: errors when starting X

2005-08-10 Thread Amit Aronovitch
Avraham Rosenberg wrote:
 to pay attention to every error message. Nevertheless when starting
 X (I still prefer to boot in console mode), I get some error messages
 I quote:
 (II) LoadModule: GLcore
 (II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
 Skipping /usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_clip.o:  No 
 symbols found
 Skipping /usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_norm.o:  No 
 symbols found
 Skipping /usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_xform.o:  No 
 symbols found
 Skipping /usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_vertex.o:  
 No symbols found
 (II) Module GLcore: vendor=The XFree86 Project
   compiled for 4.3.0.1, module version = 1.0.0
 --
 (II) LoadModule: speedo
 (II) Loading /usr/X11R6/lib/modules/fonts/libspeedo.a
 Skipping /usr/X11R6/lib/modules/fonts/libspeedo.a:spencode.o:  No symbols 
 found
 (II) Module speedo: vendor=The XFree86 Project
   compiled for 4.3.0.1, module version = 1.0.1
 
 Question: What are the reasons for these. And are these of any consequence ?

The reason:
 X links in modules at runtime.
 The modules in questions (which are in 'ar' format (.a), merely a
simple archive of .o files), contain some .o files with no exported names.
 To see, use: 'nm usr/X11R6/lib/modules/fonts/libspeedo.a' , and look
for spencode.o.

 This means that the linker have no use for them, and they are just
dropped. This is reported as a warning, because it might be an
indication of some bug (or maybe just to remind the programmers to
remove unneeded sources from their makefile).

consequences:

 Specificly, I can tell you that the GLCore thing does not have any
effect (OpenGL acceleration works fine for me) - the dropped .o's  seem
to be some debugging thingy (prbly all their funcs were #ifdef'ed out).
 I don't use speedo fonts, but I'm guessing the libspeedo thing is
similiarly harmless (some unused encode funcs?).

 The issue was marked as a minor bug against xserver-xfree86:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=178210%3A

 However, unstable only recently switched to x.org (6.8.2 now - but I'm
still holding it back to xfree86) - so until the smoke settles down I
don't believe anyone would have a look at it anytime soon (if at all).

  Amit

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



Re: [Possible off-topic] Decent x86_64 book

2005-08-07 Thread Amit Aronovitch
Leonid Podolny wrote:

 Hi,
 Apparently, I will be in charge of porting our (kernel-space)
 application from ia-32 to x86_64 (aka EM64T) which I have very little
 experience with. So I think I will need a good book. The Linux kernel
 context would be a HUGE advantage, but it is not mandatory in any way.
 Can someone point me to something specific or am I being too naive?

You probably know that already, but it needs to be said:
AMD have detailed specifications available online (PDF format)

http://www.amd.com/us-en/Processors/TechnicalResources/0,,30_182_739_7044,00.html

Volume 2 of the Architecture Programmer's Manual probably contains
most of the info you need (but, of course, you'll have to do some
intensive searching...)

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



Re: Apache2 on Sarge doesn't list large files

2005-07-29 Thread Amit Aronovitch
Ira Abramov wrote:

 
 
 check this out:
 
 [Fri Jul 29 09:30:58 2005] [error] [client 192.115.133.133] (75)Value too 
 large for defined data type: access to 
 /centos/CentOS-4.1-x86_64-binDVD1/CentOS-4.1-x86_64-binDVD1.iso failed
 
 looks like it's been open in Debian for quite some time. I'm surprised
 and disappointed...
 
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=241223
 

Seems that the fix for this was committed in upstream apache for next
release (2.1).

http://issues.apache.org/bugzilla/show_bug.cgi?id=28898

2.1 is now in alpha, so I guess even sid apache2 shouldn't have this fix
yet.

 I suspect you'd have hard time getting the patch backported to sarge,
unless you can show this problem could be a security hole (might
actually be true!).

 I wonder how other distros are handling this.

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



Re: system clock loops

2005-07-25 Thread Amit Aronovitch
Ehud Karni wrote:

You can use ntp.ilan.net.il (aka ntp.net.il) - startum 1 (using lab
atomic clocks - not GPS - I think it is more accurate).

Stratum 2 Israeli ntp servers: timeserver.iix.net.il , openu.ilan.net.il .

BTW. Why do you need startum 1 (which telescope do you operate ?).
  

I'm quite happy with ntp.netvision.net.il (also europe.pool.ntp.org -
get reasonable delay + still spreads the load).
Geoffrey had suggested strat-1 ntp (or GPS) as a measure for avoiding
the system-clock bug discussed here, I think.

btw, the netvision server shows ntp.ilan.net.il as refid most of the time.


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



Re: system clock loops

2005-07-24 Thread Amit Aronovitch
Geoffrey S. Mendelson wrote:

 I am a Nevtvision customer, they use a GPS unit to give them a stratum
 one server. I would avoid the overloaded server at HUJI if at all possible.

Netvision here too - but I see them as stratum 2.
I sync to ntp.netvision.net.il (+ 2/3 times europe.pool.ntp.org for backup).
Do they have another address for the GPS machine?

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



Re: trapping recursive rm

2005-07-21 Thread Amit Aronovitch
Thanks for the ideas, people.

I'll start with a simple sticky subdir containing files owned by most
probable users (tks, Oron  Guy). With some luck, that might narrow down
the 'who did it' and perhaps the 'from where' too (of course, it might
never happen again so I'll never know).

now, for some replys:

guy keren wrote:

you said most of the content. not all of the content. did you try to
analyze what WSN'T erased and see if it teaches you anything?


 Right. I did, but did not gain any significant insight. I suspect that
the subdirs left were the most recently updated ones, but I could not
verify that (all the rest was deleted...), and it did not make much
sense anyway.

guy keren wrote:

 regarding this tracing - if it's a new enough system and has selinux, you
 might be able to put a file there, and tell selinux that it cannot be
 deleted. ofcourse, this requires root access, and selinux rules are not
Oron Peled wrote:

 Well, if it's open source you can certainly patch this functionality
 into it...

 No root on server. Can't risk disturbing it's operation. OS is probably
solaris.
 For client side tweaking, you'd need to effect ALL machines, so I'd be
disturbing operation again.

Ehud Karni wrote:
 I think it is more likely to be rm -rf ${envar}* with empty `$envar',

This reminds me of a funny variant that actually happened to me long
time ago (was certainly NOT
funny for me at the time).

I was trying to access the new powerful unix machine from a mainframe
terminal (a real one), using some kind
of (vt100 emulation?) program (you have to understand this prog was a
wonder - 3270 terminals work in
a completely different way - e.g. handle all typing themselves and only
talk to the host when you
press enter).
 I was using the terminal to compile and run progs which I had put on my
homedir via FTP, then had a strange idea -
why not try using emacs? It did not work very well, so I went back to
good-old ISPF + FTP, to fix my failed attempts.

 However, when I went back to the shell, I found a few new files with
names ending with ~ (emacs backup files).
 Well, we can't have all that nonesense on my homepage right?  rm *~
should clean this up, no? Sure, but...

 What I did not know, was that although the terminal had a full EBCDIC
charset, with the ~s clearly visible,
some piece of software on the way did not. It completely ignored
unhandled characters and did not send
any replacement to the unix side.
 byebye homedir...  :-O

(and keep in mind that, being a MF person, I did not have much notion of
*subdirectories* at the time. I've got a whole dataset (library) to
myself - why not put everything there...)

 (may be a misspelled env var name).
 AFAIK rm -rf ./ does NOT work at all.

 Right, of course - that would be sawing off the branch your'e sitting
on :-)
Anyway this was just an example. It might be python or even a compiled
binary.


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



trapping recursive rm

2005-07-20 Thread Amit Aronovitch
Situation:
--
* I have a shared directory tree, world writable, shared by NFS server
(I'm not sure of server's OS - probably solaris, maybe linux) to many
client machines (whole network has common users/authentication scheme).

* Recently I found that most of the contents of this dir had been wiped
out completely. This happened twice.
(and no, we're not close to filling the storage quota on the server).

* The world writability of this dir is a desired feature, and worked
flawlessly for a long time. Having it all wiped out does not cause much
damage, but is annoying (you may think of it as some kind of large cache).

* I have no reason to believe that the network is compromised, or that
this is caused by malicious hacking. Most likely someone is running a
buggy script (that does something like rm -rf ./ ).

The problem:

 Next time it happens, I want to find out which machine/user/process is
doing it, so we can understand the problem and figure out a way to avoid
it reoccurring, without sacrificing the flexibility offered by the
world-writability (I can, of course, limit the permissions, but I can't
be sure that the offending user would notice the errors or report them
to me).

 For example, I suppose I can put a bait file into that dir, and have
it monitored every minute or so by a cron job on one of the clients.
When it finds the bait have been deleted, I can hope that the offending
job is still running and try to locate it. There's just too many client
machines to hope to search them all, so we'll have to do something on
the server - possibly some sort of query to the nfs-server.

 Complication: I don't have root on the server. I can ask the friendly
sysadmin for help if it's a simple log-viewing or nfs-server related
commands, but we can't compromise the server's operation or run any
wierd root processes from my cron-jobs.

 Any ideas of a simple way to do that? Is there a way to tell nfs-serv
to issue a log message if this and that file is touched?

 regards,
   AA

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



Re: my new Palm Zire 72

2005-07-08 Thread Amit Aronovitch
Yedidyah Bar-David wrote:

 
 There is no point in doing Ctrl-Z. If you want to shoot - shoot, don't
 talk. Ctrl-C.

and if this does not work, you can also try Crtl-\ (backslash)
(sometimes progs stop responding to SIGINT, but they still respond to
this - it sends SIGQUIT)

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



Re: Grayscale charts

2005-07-08 Thread Amit Aronovitch
Eran Tromer wrote:
 Hi,
 
 I'm looking for free software to render a 2D dataset as grayscale chart,
 i.e., as a matrix whose cell colors are determined by the corresponding
 dataset elements. It should include the usual aids (tickmarks, scale
 legend, axis titles etc.), and preferably should output vectorized
 PostScript.
 
 Any suggestions?
 
http://matplotlib.sourceforge.net/
matplotlib has the imshow() function, which can produce very nice 2d charts.

In the screenshots area - look for the example titled pcolor_demo.py -
seems close enough to what you want to get you started.

http://matplotlib.sourceforge.net/screenshots.html

Also have a look at the Axes() and Figure() classes (type help(Axes) at
the python prompt), to get more fine-grained control over the axes and
legend.

to get PostScript, just type savefig(my_plot.ps), instead of show()

And - this is a python package - so you can easily import data from
almost any format you like.

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



keyboard problems following kernel upgrade

2005-06-10 Thread Amit Aronovitch

Hi,


Lately, ever since I upgraded my kernel (both old and new are stock 
debian-pure64 version 2.6.11) I've been experiencing keyboard problems.



The keyboard always works fine in the bootloader menu (grub), and also 
no problems when I boot another kernel (e.g. 2.6.8 amd64).


However when you boot the new kernel, many times the keyboard stops 
responding very early in the boot process (I can see that the NumLock 
led does not work when you press Num-Lock, and also crtl-S does not 
work), and never wakes up again (I can ssh from another machine, but 
could not find a way to fix that other than rebooting and hoping for the 
best).



Further information follows. If anyone has some idea how to further 
diagnose this, I'll be grateful.



--


Kernel versions:  Debian amd64 package: 
kernel-image-2.6.11-9-amd64-k8, the upgrade was from previous version 
to current one, which is has debian-version of 2.6.11-3.


If I understand the debian kernel build scripts correctly, it seems that 
the major change in this update is upgrading from upstream 2.6.11.6 to 
2.6.11.7.


keyboard driver is compiled into kernel, psmouse as a module.


dmesg output:

-

The one I got after a bad boot (using ssh from other maching):

  http://www.tau.ac.il/~kineret/amit/dmesg_bad.out

For comparison here's one after a good:

  http://www.tau.ac.il/~kinetet/amit/dmesg.out


Notice the first difference is psmouse failing to load (just after the 
rtc check):


psmouse.c: Failed to enable mouse on isa0060/serio1

also it seems that there are some USB problems later.


input/serio related outputs (same in both cases):

--

/proc/bus/input/devices:


I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name=AT Translated Set 2 keyboard
P: Phys=isa0060/serio0/input0
H: Handlers=kbd event0
B: EV=120013
B: KEY=40200 3802078f840d001 f2dfffef fffe
B: MSC=10
B: LED=7

I: Bus=0011 Vendor=0002 Product=0005 Version=
N: Name=ImPS/2 Generic Wheel Mouse
P: Phys=isa0060/serio1/input0
H: Handlers=mouse0 ts0 event1
B: EV=7
B: KEY=7 0 0 0 0
B: REL=103


/proc/bus/input/nadlers:


N: Number=0 Name=kbd
N: Number=1 Name=mousedev Minor=32
N: Number=2 Name=tsdev Minor=128
N: Number=3 Name=evdev Minor=64


Some IRQ/IO-mem info (only difference seems to be related to the usb 
driver not loading):





bad boot:

--

/proc/interrupts:


  CPU0  
 0:1064291IO-APIC-edge  timer

 1: 12IO-APIC-edge  i8042
 8:  0IO-APIC-edge  rtc
 9:  0   IO-APIC-level  acpi
12:104IO-APIC-edge  i8042
14: 38IO-APIC-edge  ide0
15:   9186IO-APIC-edge  ide1
18:  3   IO-APIC-level  ohci1394
20:  2   IO-APIC-level  ehci_hcd
22:  0   IO-APIC-level  libata, NVidia CK804
23: 110161   IO-APIC-level  libata, eth0
NMI: 28
LOC:1064060
ERR:  0
MIS:  0


/proc/iomem:


same as good boot, only without the ohci_hcd line


good boot:

--

/proc/interrupts:


  CPU0  
 0:4992506IO-APIC-edge  timer

 1:   1452IO-APIC-edge  i8042
 8:  0IO-APIC-edge  rtc
 9:  0   IO-APIC-level  acpi
12:  11235IO-APIC-edge  i8042
14: 38IO-APIC-edge  ide0
15:  44520IO-APIC-edge  ide1
18:  3   IO-APIC-level  ohci1394
20:  2   IO-APIC-level  ehci_hcd
21:242   IO-APIC-level  ohci_hcd
22:187   IO-APIC-level  libata, NVidia CK804
23: 521687   IO-APIC-level  libata, eth0
NMI:888
LOC:4991823
ERR:  0
MIS:  0

/proc/iomem:


-0009f7ff : System RAM

0009f800-0009 : reserved
000a-000b : Video RAM area
000c-000ccfff : Video ROM
000d4000-000d57ff : Adapter ROM
000f-000f : System ROM
0010-3ffe : System RAM
 0010-002b46ec : Kernel code
 002b46ed-003a1bc7 : Kernel data
3fff-3fff2fff : ACPI Non-volatile Storage
3fff3000-3fff : ACPI Tables
d000-dfff : reserved
e000-e7ff : PCI Bus #05
 e000-e7ff : :05:00.0
e800-e9ff : PCI Bus #05
 e900-e900 : :05:00.0
 e901-e901 : :05:00.1
ea00-ea003fff : :01:0a.0
ea004000-ea0047ff : :01:0a.0
 ea004000-ea0047ff : ohci1394
ea101000-ea101fff : :00:07.0
 ea101000-ea101fff : sata_nv
ea102000-ea102fff : :00:08.0
 ea102000-ea102fff : sata_nv
ea103000-ea103fff : :00:02.0
ea104000-ea104fff : :00:0a.0
 ea104000-ea104fff : forcedeth
ea105000-ea1050ff : :00:02.1
 ea105000-ea1050ff : ehci_hcd
ea106000-ea106fff : :00:04.0
 ea106000-ea106fff : NVidia CK804
fec0-fec00fff : reserved
fee0-fee00fff : reserved
- : reserved
-0009f7ff : System RAM
0009f800-0009 : reserved
000a-000b : Video RAM area
000c-000ccfff : Video ROM

typo...

2005-06-10 Thread Amit Aronovitch

Amit Aronovitch wrote:


dmesg output:

-

The one I got after a bad boot (using ssh from other maching):

  http://www.tau.ac.il/~kineret/amit/dmesg_bad.out

For comparison here's one after a good:

  http://www.tau.ac.il/~kinetet/amit/dmesg.out


last one should be:

http://www.tau.ac.il/~kineret/amit/dmesg.out

 sorry about that ...


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



Re: Accessing eci b-focus 312+ ADSL Router/Modem

2005-06-04 Thread Amit Aronovitch

Matan Ziv-Av wrote:

- don't use the modules! Suse, Red Hat and others regularly ship with 
such modules in the distribution. Some graphics card drivers (like 
nvidia) are notorious for this. Most 802.11g drivers available run 
the original (win32) driver in an emulation because they are closed 
source.


And to top it all, you do not own the router, it is rented. So you are a
'user' and have no rights on the hardware or software in it, nor has 
anyone



So I can create copies of CDs I buy in the store, and rent them to 
other people? ECI do not have a right to rent Linux kernel or 
Busybox, except if they follow the GPL, which they do not.


Well, it is perfectly legal to lend (or even rent) your physical 
original CD to other people. And you did get ECI's original box - not a 
copy made by Bezeq (and you do rent it from bezeq, not eci, right?)


Now, I don't want to be blamed for keeping this thread alive, so please 
don't post any IP-law related replys to the list.
It's just that I've been wondering:  do they (bezeq) offer you the 
option to BUY the 312 box?
I know I bought my Alcatel from them at the time (this option was 
available, it's just that not many people chose to take it).


p.s. is there a list that would welcome these threads? Maybe we should 
open e.g. iplaw-il/holyflamewars-il (this is semi-serious, but I might 
actually consider subscribing)



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



Re: hebrew in vim's commands+unprintable chars

2005-05-24 Thread Amit Aronovitch

avraham wrote:


You are really fast with your reactions and with your fingers.
Re your question: Can you give me a reliable criterium to recognize
automatically the paragraph structure of the initial document ?
 


That really depends on the style of the text.
Many times if you look for lines having fullstop ('.') as their last 
non-whitespace, you'll get a good enough approximation for where to 
insert the end of paragraphs.
In other texts you can be a bit more restrictive,  e.g. demand that the 
following line is empty, or starts with whitespace.


Another note: if your'e preserving line structure, normally you'd also 
want to preserve spaces and maybe even make it fixed font (because 
sometimes plaintext files contain tables, ascii graphics and other stuff 
which depends on char positions)  in these cases you normally just 
enclose the whole text with \begin{verbatim}  \end{verbatim}



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



Re: Lilo boots slow...

2005-05-23 Thread Amit Aronovitch

Ira Abramov wrote:


just have to is not good enough. not documented enough, and what's
with having to learn yet another commandline with non-standard disk
enumeration and partition numbering? this MAY be excellent for someone
who uses it daily maybe but I need it only once every few weeks or
 


Disk/partition numbering: wouldn't say non-standard, just non-Linux.
It's the standard naming for the OS this bootloader was originally 
developed for - GNU/Hurd.


True, this means a little more man^b^b^b info-reading for us linuxers, 
but I find it's raw power to make it well

worth it (at least for emergency-disks).
If you don't use it often/forget the syntax - there's tab completion and 
the help command.



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



Re: mandrake su curiousity

2005-05-23 Thread Amit Aronovitch

Tzafrir Cohen wrote:


On Fri, May 20, 2005 at 02:57:40AM +0300, Amit Aronovitch wrote:
 

Discovering this raised my curiousity. Since the new login does not 
have access to the old one's xauth info, this can't be done by the login 
scripts (I actually grepped them for such stuff). So it must be su doing 
it. But 'man su' does not mention any X stuff at all (in fact it looks 
like the standrad GNU su manual - complete with Stallman's rant about 
the 'wheel' groupl).
Doing 'strings /bin/su' confirmed my suspicion - the string XAUTHORITY 
does appear there.
   



This is done by a pam module called pam_xauth that is not avilable in
 


Seems right, and even the man page is installed. Thanks for the tip.

Only question remains - why does the string XAUTHORITY appear inside
the /bin/su binary?
(And I did check again to see that I'm not hallucinating...)

I see no reason why su would need to know about this env var...


Debian.  If you really want that functionality:

 apt-get install sux

and use 'sux -' instead -f 'su -'
 


Tks, but here there's not much need.
I use either gksu (and that's mainly for running xcdroast), or plain 
manual su (when no X needed).



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



Re: mandrake su curiousity

2005-05-22 Thread Amit Aronovitch


Tzafrir Cohen wrote:


On Fri, May 20, 2005 at 02:57:40AM +0300, Amit Aronovitch wrote:


Discovering this raised my curiousity. Since the new login does not 
have access to the old one's xauth info, this can't be done by the 
login scripts (I actually grepped them for such stuff). So it must be 
su doing it. But 'man su' does not mention any X stuff at all (in 
fact it looks like the standrad GNU su manual - complete with 
Stallman's rant about the 'wheel' groupl).
Doing 'strings /bin/su' confirmed my suspicion - the string 
XAUTHORITY does appear there.




This is done by a pam module called pam_xauth that is not avilable in



Seems right, and even the man page is installed. Thanks for the tip.

Only question remains - why does the string XAUTHORITY appear inside
the /bin/su binary?
(And I did check again to see that I'm not hallucinating...)

I see no reason why su would need to know about this env var...


Debian. If you really want that functionality:

apt-get install sux

and use 'sux -' instead -f 'su -'



Tks, but here there's not much need.
I use either gksu (and that's mainly for running xcdroast), or plain 
manual su (when no X needed).




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



Re: ANN: Python in Israel Homepage - http://python.hackers.org.il/

2005-05-22 Thread Amit Aronovitch

Orna Agmon wrote:


On Sun, 22 May 2005, Shlomi Fish wrote:

 


Is Wednesday OK as a day for Python meetings? The thing is:

1. Sunday is Telux.
2. Monday is Haifux.
3. Thursday is Perl-IL.
4. I think the Tapuz Linux forum meets up on Tuesdays.
   



Wednesday is JLC day, and they meet pretty often. But perl-IL only meet
 

Last event on the web-page was 9/2004, and recent events mentioned in 
the forums are not on Wednesday.

(I'm probably missing something).

Anyway, if anyone considers coming and wants to change date - please 
say so on the wiki page of the event: 
http://python.hackers.org.il/mediawiki/index.php/Events

discussion page:
http://python.hackers.org.il/mediawiki/index.php?title=Talk:Eventsaction=edit

Shlomi: I suspect I'm having trouble with the [EMAIL PROTECTED] list.
I got nothing from the list except the confirmation message. Am I doing 
something wrong or is it a global problem?


From now on, to reduce OT in linux-IL (see Tzafrir's comment in 
previous py-il thread), I'll use this wiki, at least until I see some 
correspondense in the python list.


  Amit



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



  1   2   >