Re: Good presentation tool

2022-05-22 Thread Meir Kriheli
I'm using  reveal js

https://revealjs.com/

Cheers

On Sun, May 22, 2022 at 5:33 PM Shachar Shemesh  wrote:

> Hi all,
>
>
> I need a recommendation for a presentation tool. What do you use?
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>


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


Re: English Hebrew dictionary.

2018-11-12 Thread Meir Kriheli
On Sun, Nov 11, 2018 at 2:19 PM Boruch Baum  wrote:

>
> On 2018-11-11 13:25, vordoo wrote:
> >Hi,
> >Looking for an English Hebrew technical-computer dictionary. Best if
> it
> >is a web site or file, with words like: mount, volume, partition,
> >sector, block, etc...
> >Any pointers appreciated,
> >Thanks!
>
> Hmm, can't find my favorite word-list site among my zillion bookmarks,
> but...
>
> 1) For individual word, I just now found: http://tlterm.com/hebrew/
> which seems reasonable.
>
> 2) The Hebrew Academy of language is the Israeli official organization
> for standardizing modern Hebrew:
> http://hanut.hebrew-academy.org.il/en/product-category/dictionaries/
> They have mailing list on which you could pose your question. If you do,
> please let me know what happened!
>
>
> --
> hkp://keys.gnupg.net
> CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>

We also had Carmel:
http://carmel.whatsup.org.il/he/

See "about" page for more info:
http://carmel.whatsup.org.il/he/about/

Cheers
-- 
Meir Kriheli
http://meirkriheli.com
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Memory consumption on a per user basis

2018-11-11 Thread Meir Kriheli
On Sun, Nov 11, 2018 at 5:48 PM Boruch Baum  wrote:

> On 2018-11-11 17:26, Constantine Shulyupin wrote:
> > I am using this bash functions for years:
> > https://gitlab.com/makelinux/lib/blob/master/snippets/load-watch.md
>
> AAARGH! OH NO! It's gitlab!
>
> I have a quasi- pet-peeve against gitlab because of its needless
> javascript and XHR requirements. Just in order to simply _view_ your
> script, I needed to to use a GUI browser (instead of a text browser),
> and to allow nine separate javascript elements from two separate source
> to do whatever mysterious things they want to try doing. Even then,
> all that wasn't enough - I needed to further allow two more XML
> requests.
>
> I encourage anyone open to listening to avoid using gitlab and other
> sites / packages that have similar attitudes to javascript.
>
> end rant; I feel better now.
>

Use the "raw" url:

curl 'https://gitlab.com/makelinux/lib/raw/master/snippets/load-watch.md'




> --
> hkp://keys.gnupg.net
> CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>


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


Re: Hebrew Translation of Computer Terminology

2018-01-15 Thread Meir Kriheli
On Mon, Jan 15, 2018 at 5:01 PM, Amichai Rotman <amic...@iglu.org.il> wrote:

> Hi all,
>
> Is there an up-to date list of the Hebrew translation for computer related
> terms?
>
> I am referring to a standard list of terms for computer components in
> Hebrew, i.e. CPU, RAM, Hard Drive etc.
>
> If such a list exists, where do I find it?
>
> Thank you,
>
> Amichai Rotman
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
>
Carmel might help:
http://carmel.whatsup.org.il/he/

Cheers
-- 
Meir Kriheli
http://meirkriheli.com
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Looking for a lawyer

2017-12-08 Thread Meir Kriheli
A small correction:

Haim Ravia is also located in Tel-Aviv, They moved  ~month ago,
https://www.pearlcohen.com/contact-us/tel-aviv/

On Fri, Dec 8, 2017 at 9:51 AM, Lior Kaplan <kaplanl...@gmail.com> wrote:

> http://www.shibolet.com/attorneys/ido-shomrony/
>
> https://www.jonathanklinger.com/
>
> https://www.pearlcohen.com/professionals/haim_ravia/
>
> All three of them know the GPL well. About US - you'll have to ask them.
> First two have Offices in Tel Aviv.
>
> Kaplan
>
> On Fri, Dec 8, 2017 at 2:02 AM, Julian Daich <julia...@gmail.com> wrote:
>
>> Hi,
>>
>> I am looking for a lawyer Who understands GPL, licencing and trademarks
>> for the US. Preferably from the Tel Aviv área.
>>
>> Best,
>>
>> Julian
>>
>> ___
>> 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
>
>


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


Re: חניכה בקוד פתוח

2016-04-20 Thread Meir Kriheli
לסדנא לידע ציבורי הייתה/יש כבר פעילות בירושלים:

http://wiki.hasadna.org.il/wiki/%D7%9E%D7%A4%D7%92%D7%A9%D7%99_%D7%A4%D7%99%D7%AA%D7%95%D7%97

2016-04-19 23:29 GMT+03:00 Shay Gover <govers...@gmail.com>:

> שלום לכולם,
>
> לא מזמן פנה אלי סטודנט לא מצטיין ממוסד לא מוכר (איזו מכללה בירושלים) ומכאן
> התחיל להתגלגל הרעיון.
>
> אני רוצה לספק, במסגרת פעילות העמותה, איזו מסגרת שתקשר בין אנשים שרוצים
> לתרום לקוד פתוח לבין מי שיכול להדריך אותם.
>
> קהל היעד הוא:
> - סטודנטים/בוגרים לא מצטיינים חסרי ניסיון
> - מפתחים
> - אנשי תשתיות
> - בודקי תוכנה
> (וכמובן כל מי שירצה)
>
> מה שמשותף לכולם הוא שאין להם ניסיון בקוד פתוח והם לא יודעים למי לפנות וזו
> מטרת המסגרת.
>
> מה שאני צריך מכם זה:
> - מתנדבים שיהיו מוכנים לעזור לקהל היעד בתחילת דרכו
> - פיתוח: פרויקטים שקל להתחיל בהם (לא LibreOffice - הבנתי ששם נדרש שבוע רק
> כדי להבין מי נגד מי).
> - פיתוח: פרויקטים מורכבים כמו LibreOffice למי ששרד את הפרויקטים הקטנים
> ומעוניין להמשיך למשהו מאתגר יותר
> - פרויקטים שחסר בהם תיעוד למי שרוצה לכתוב תיעוד
> - פרויקטים שחסרים בהם אנשי בדיקות
> - פרויקטים שצריכים אנשי תשתיות (לא דווקא DevOps).
> - רשימת טכנולוגיות/ספרים/נושאים שכל תורם חייב לדעת. הן לפי נושא (נניח
> רשימת נושאים שחובה להכיר לפני כניסה לפרויקט שמפותח ב- Angular) והן דברים
> כללים.
> * עדיף פרויקטים בצירוף איש קשר, בעיקר עבור הפשוטים (כדי לתת תמיכה
> בתחילת הדרך) **
>
> המטרה הנוכחית היא לארגן מפגש של מתעניינים ביולי.
>
> זה הדף בויקי:
>
> http://wiki.hamakor.org.il/index.php/%D7%9E%D7%93%D7%A8%D7%99%D7%9A_%D7%9C%D7%A1%D7%98%D7%95%D7%93%D7%A0%D7%98
>
> הערות יתקבלו בברכה
>
> שי גובר
>
> ___
> Discussions mailing list
> discussi...@hamakor.org.il
> http://hamakor.org.il/cgi-bin/mailman/listinfo/discussions
>



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


Re: twisted and python3

2014-05-22 Thread Meir Kriheli
It's seems they still have some way to go:
http://twistedmatrix.com/trac/milestone/Python-3.x

Which kind of services your server should provide ? This may affect the
choice of framework.

Note that in python 3.4 asyncio (a.k.a Tulip) got integrated into the
standard library, it's available for 3.3 as a separate module. Libraries
for asyncio are growing, see here if there's something that might fit your
needs:

http://asyncio.org/

Still far from Twisted's multitude of available protocols though.

Cheers


On Thu, May 22, 2014 at 1:11 PM, Oleg Goldshmidt p...@goldshmidt.org wrote:


 ​Hi,

 Can anyone out there comment on the state of twisted on python3?

 We use python3, and we are considering twisted as a candidate platform to
 develop a server framework. We have not tried anything yet, just mulling
 possibilities at this point. While researching the topic multiple tidbits ​
 ​of concern came up, such as

 ​
 http://twisted.readthedocs.org/en/latest/projects/core/howto/python3.html

 http://twistedmatrix.com/trac/browser/tags/releases/twisted-14.0.0/twisted/python/dist3.py

 ​etc.

 If twisted in its current state is not well-supported on python3​
 ​ we would prefer to drop it as a candidate early and concentrate on other
 options. If problems are few and far between ​
 ​we will be willing to invest time in researching how much it will affect
 our development. Twisted is a big anaconda, and we are not likely to use
 more than some parts of it. This means that we'd like to​
 ​ learn of really disqualifying issues ASAP.

 Thanks a lot for any input,​


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

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




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


Re: Making alt-tab shift applications

2013-04-02 Thread Meir Kriheli
ubuntu-desktop is not GNOME, it's actually Unity.

See for a possible answer here:
http://askubuntu.com/a/68171

Cheers


On Tue, Apr 2, 2013 at 3:40 PM, Steve G. word...@gmail.com wrote:

 I had a computer that I considered for use as a server, and thus installed
 ubuntu server edition on it. I proceeded to install gnome desktop with - if
 I remember correctly - the command: sudo apt-get install ubuntu-desktop

 It gave me a perfectly satisfactory desktop, except for one thing - I
 can't switch between applications using the alt-tab shortcut, which always
 worked for me.

 I tried installing the compizconfig-settings-manager, but it does not have
 this option (to switch windows). System Settings - hardware - keyboard does
 not seem to do it either. I can add a custom shortcut, but it does not work

 Any advice? I'd best like to know which line to add to a configuration
 file, instead of messing with GUIs that are supposed to work but don't.

 THX,

 Z.

 uname -a :

 3.5.0-26-generic #42-Ubuntu SMP Fri Mar 8 23:18:20 UTC 2013 x86_64 x86_64
 x86_64 GNU/Linux


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




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


Re: Looking for a File Manager with an automatically-updated Preview Pane and Delete-to-Recycle-Bin Functionality

2012-06-19 Thread Meir Kriheli
Hi,

On Tue, Jun 19, 2012 at 10:08 AM, Shlomi Fish shlo...@shlomifish.orgwrote:

 Hi Anton,

 On Tue, 19 Jun 2012 09:25:30 +0300
 Anton Amirian extue...@gmail.com wrote:

  Dolphin has a preview panel, and it updates automatically. You just need
 to
  enable it.
 
  I'm not near a Linux box right now so I can't check but I think the
 option
  is under View - Panels on the menu bar.

 thanks for the recommendation. However, Dolphin’s idea of a preview for
 text
 files ending in .log or .txt is to display a large icon of a paper sheet
 with
 the extension of the file in large letters. The preview works fine for
 image
 files, but I am interested in organising .log or .txt files as well.


It's not by enabled by default for text files IIRC. To enable it:*

Settings  Configure Dolphin  **General  Preview***

Cheers
-- 
Meir Kriheli
http://meirkriheli.com
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Python question - first call is slower?

2012-06-19 Thread Meir Kriheli
Hi.

On Wed, Jun 20, 2012 at 12:27 AM, Nadav Har'El n...@math.technion.ac.ilwrote:

 Hi, I have run across a puzzling issue in Python, and I wonder if anyone
 on the list can explain it.

 I have a python function which takes some input and produces some
 output - it doesn't keep permanent state, and presumably running it
 twice would do exactly the same thing twice, and take exactly the same
 time.

 But strangely, it doesn't - the first call takes 14 milliseconds, while
 the second and all subsequent calls take only 2 milliseconds each.
 Does anybody have any idea why this can happen?

 I considered, and discredited, the following attempted explanations:

 1. The extra 12 milliseconds is the time it takes to read and/or compile
   the function's code. This explanation isn't true, because the code is
   read and/or compiled already when I import the module, before I
   measure the first call to the function. Moreover, if I measure parts of
   this function's code, I see it becomes uniformly slow - e.g., half of
   its code gets done in 6 milliseconds; It's not a 12 millisecond pause
   and then the rest of the function finishes in 2ms.


Yeah, compiles to bytecode.



 2. The code is slower the first time it runs, because only then does it
   get compiled and/or optimized. As far as I know, Python doesn't do
   JIT so this isn't a correct explanation...


Nitpick: CPython doesn't (the one you're referring to as Python), other
implementations may and will (PyPy, Jython, etc)


 3. If class A imports B which imports C which imports D, some of these
   classes are only read when the code is actually used for the first
   time. Again, I couldn't find any evidence that this is true in Python
   (unlike, e.g., Java). An import would read the whole class hierarchy
 into
   memory. Right?


A module is loaded only once (see also: sys.modules)


 Any ideas?

 Thanks,
 Nadav.


Can you post some code ? Without it this may be tough. Some shots in the
dark:

Do you have imports inside the function ?
Do you access and affect globals ?
Is it a generator ?
Do you have default parameters ? Are they mutable ? Do they require some
computation ?
Is there a difference in the dataset between the runs (python caches small
ints).
Does it manipulate files (will be cached by the OS),

Cheers
-- 
Meir Kriheli
http://meirkriheli.com
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Fedora upgrade, got unbootable system

2012-04-18 Thread Meir Kriheli
Hi,

2012/4/18 Dov Grobgeld dov.grobg...@gmail.com

 Thanks for the help last time. In the end I reinstalled Fedora 16 on a new
 partition. Though I have solved most issues I still have the problem that
 when I log in I get the following strange interaction:

 prompt ssh dov@localhost
 Last login: Wed Apr 18 17:16:28 2012 from localhost.localdomain
 Could not chdir to home directory /home/dov: Permission denied
 prompt cd
 prompt pwd
 /home/dov

 I.e. I initially get a permission denied, but when cd'ing it doesn't
 affect me. Could it be a SELinux issue?

 Thanks!
 Dov


We recently had a similar discussion at whatsup (sharing home partition
between Fedora and Ubuntu), which might be relevant to your case.

So:

1. Ensure the user id is the same (i.e: matches the user id who's the owner
of the directory).
2. You might need to relabel the files under the home partition (or they
may have the wrong security context with SELinux).

See:
http://whatsup.org.il/index.php?name=PNphpBB2file=viewtopicp=384300#384300




 On Thu, Apr 12, 2012 at 01:50, Oron Peled o...@actcom.co.il wrote:

 On Wednesday, 11 בApril 2012 21:46:57 Dov Grobgeld wrote:
  modprobe[133]: FATAL: Could not load
  /lib/modules/3.3.1-3.fc16.i686/modules.dep: No such file or directory
  mount[95]: mount: unknown filesystem type 'binfmt_misc'
 
  Checking /lib/modules/3.3* shows that it indeed does not contain any
  modules.dep file. Should it? Is there perhaps a change to Linux 3.3 so
 it
  no longer uses that file?

 Use 'depmod' to re-generate it:
  depmod -a

 Then reboot, and see what other failures you have.

 --
 Oron Peled Voice: +972-4-8228492
 o...@actcom.co.il  http://users.actcom.co.il/~oron
 Simplicity is prerequisite for reliability.
-- Edsger Wybe Dijkstra



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




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


Re: Unicode in C

2012-03-13 Thread Meir Kriheli
Hi,

2012/3/13 Elazar Leibovich elaz...@gmail.com

 2012/3/13 kobi zamir kobi.za...@gmail.com



 So I guess that you're also in the UTF-8 camp.


 yes, but my opinion about utf-8 is just my opinion. i like python and
 python defaults to utf-8.


 Python's internal representation is not UTF-8, but UTF-16, or UTF-32,
 depends on build parameters. Thus python doesn't really support code points
 above the BMP.
 Of course, you cannot know the internal representation, since python
 (cleverly) does not allow you to cast a unicode string to a sequence of
 bytes without specifying the result encoding.

 http://docs.python.org/c-api/unicode.html

 (see also this very good 
 presentationhttp://98.245.80.27/tcpc/OSCON2011/gbu.htmlon internal unicode 
 representations in various languages).


Nitpick: It's actually ucs2/ucs4 (which preceded the above but are
compatible).

Actually one can know the internal representation by checking
sys.maxunicode [1]. I'm using it in python-bidi to manually handle
surrogate pairs if needed [2].

[1] http://docs.python.org/dev/library/sys.html#sys.maxunicode
[2]
https://github.com/MeirKriheli/python-bidi/blob/master/src/bidi/algorithm.py#L46

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


Re: Israeli website on Linux: beer-sheva.muni.il

2012-01-25 Thread Meir Kriheli
Him

On Wed, Jan 25, 2012 at 9:23 AM, Dotan Cohen dotanco...@gmail.com wrote:

 Thanks, all. On Kubuntu (Firefox and Chrome) cannot reach the site
 with www.* or without. I am certain that the Windows machine was not
 using a cache as I was able to register the kids for kindergarten.

 I note that the Linux machine is connecting with Bezeq Beinleumi and
 the Windows machine with Hot (neighbour's wifi, with permission).
 Those who can connect, which ISP (not infrastructure) are you using?
 Those who cannot connect, which ISP are you using?


Can't connect with BezeqBL as well. Connecting over 3G network works.

 Cheers
-- 
Meir Kriheli
http://meirkriheli.com
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: pdf hebrew chars are GIBRISH

2011-09-12 Thread Meir Kriheli
On Mon, Sep 12, 2011 at 11:32 AM, Kfir Lavi lavi.k...@gmail.com wrote:
 Hi,
 The CPA of our company gave me the salary in pdf.
 It is done with SHIKLULIT LE HALONOT (שיקלולית לחלונות).
 The header font is showing ok, but the font inside the form,
 shows in GIBRISH.
 It seems like a mismatch of font?!
 I'm using evince.
 I have culmus fonts installed.

 output of pdffonts:
 kfir@goofy /tmp $ pdffonts 2011.08.pdf
 name type  emb sub uni object ID
  - --- --- --- -
 Arial    CID TrueType  no  no  yes  6  0
 Arial,Bold   CID TrueType  no  no  yes 10  0
 Miriam   CID TrueType  no  no  yes 13  0
 David    CID TrueType  no  no  yes 16  0
 David,Bold   CID TrueType  no  no  yes 19  0
 MiriamFixed,Bold CID TrueType  no  no  yes 22  0

 kfir@goofy /tmp $ pdfinfo !$
 pdfinfo 2011.08.pdf
 Creator:        pdfsam-console (Ver. 2.4.0e)
 Producer:       iText 2.1.7 by 1T3XT
 CreationDate:   Sun Sep 11 20:12:03 2011
 ModDate:        Sun Sep 11 20:12:03 2011
 Tagged:         no
 Pages:          1
 Encrypted:      no
 Page size:      595.274 x 841.888 pts (A4)
 File size:      25669 bytes
 Optimized:      no
 PDF version:    1.4

 Thanks,
 Kfir

Try checking the results of fc-match for each of fonts in the above
output of pdffonts

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


Re: Cell phone to send SMSs?

2011-05-17 Thread Meir Kriheli
Hi,

On Tue, May 17, 2011 at 11:12 PM, geoffrey mendelson
geoffreymendel...@gmail.com wrote:

 Does anyone know the cheapest (or just a cheap one) GSM phone with a USB 
 interface that is supported by a Linux program to send SMSs?

 In other words, I want to write a program to monitor various conditions and 
 then send me an SMS if they out of the proper range. I'm looking to spend as 
 little money as possible.

 I was thinking of a cheap GSM phone with a USB interface connected to a Linux 
 system. I no longer have a modem for pager emulation, and since one of the 
 conditions is a down internet connection, I don't want to use the internet to 
 do it (if I could).

 The question is which phone and what software drives it? I want the SMSs to 
 arrive at an Orange phone, but I have both Cell-Com and Orange SIMs, so if 
 one is supported and not the other, it's fine with me if they will send SMSs 
 to each other.

 I also have a ZTE MF637 modem, I know Linux supports it for dial-up, does it 
 support it for SMSs?


We've used for a project that sends/receives SMS simple Sony Ericsson
phones. You could go over the supported db for gammu/wammu and find
the ones you like:

http://wammu.eu/phones/

Of course sms should be one of the supported features ;-)

Also see Guy Sheffer's blog post (used a cheep fake Nokia):
http://guysoft.wordpress.com/2011/03/27/smsgate/

PS
We had problems with gammu-smsd packaged in Debian Lenny - so if
you're using Debian, go with Squeeze.


Cheers
--
Meir

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


Re: GPL as an evaluation license

2011-04-10 Thread Meir Kriheli
On 04/09/2011 04:10 PM, Omer Zak wrote:
 IANAL either.
 
 But what you are looking for is, in principle, dual licensing.
 The providers of MySQL and Qt follow the same model.  Their software
 libraries are available under either GPL (with all the restrictions it
 entails) or under a proprietary license.
 

Nitpick: In addition to GPL, Qt is LGPL (v2.1) licensed since 2009.

 When a client of yours gets your software under proprietary license, you
 are free to impose whichever terms you want upon them, including terms
 under which they are allowed to transfer the software to third parties.
 
 --- Omer
 

Cheers
--
Meir

 
 On Sat, 2011-04-09 at 15:50 +0300, Aviad Mandel wrote:
 Hi list,

 I know you're not lawyers, but I though you could help me with a GPL
 issue.

 I'm writing a function library in C which I want to sell licenses for,
 targeting a specialized industry. To make my entry point better, I
 plan to release it under GPL (as opposed to LGPL) so that potential
 users can evaluate it properly before making a decision. My target
 industry is far far away from FOSS, so I'm pretty sure that they won't
 release their own code under GPL in order to adopt mine free (as in
 beer).

 So as long as I make sure I own all copyrights, will this work
 legally?

 Two main questions:

 (1) Is GPL giving me the enough protection?
 (2) Will GPL allow a company which hasn't bought a non-GPL license
 enough freedom to evaluate the library?

 What makes this slightly complicated, is what happens when company X
 decides to take my library and integrate it into their proprietary
 software for evaluation. Even for their internal copies, they can't
 badge the whole package as GPL, because they don't necessarily own the
 rights to all components, and may not even have all sources.

 So let's look at the case where the company has just linked my GPL'ed
 library with their proprietary source codes + proprietary libraries
 for which the company only has as binaries.

 Now person X wants to send a copy of the software's binary (my library
 included) to person Y, say over email. Under what conditions is it
 legal? If person Y works at the same company? For the same company
 (outsourcing)? Has access to everything necessary to build the
 software, so that person Y could in theory build the binary from
 software owned by the company + the library under GPL?
 


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


Re: Looking for KVM consultant

2011-04-03 Thread Meir Kriheli
On 04/03/2011 01:25 PM, Ira Abramov wrote:
 Quoting Tzafrir Cohen, from the post of Sun, 03 Apr:
 On Sun, Apr 03, 2011 at 10:41:13AM +0300, Tom Rosenfeld wrote:
 Hi guys,
 We are looking for help setting up KVM in our production environment.
 We have been using Vserver, but want to move to KVM which has many more
 tools for management.

 For the record, the direct replacement for Linux VServer would be OpenVZ
 or (for newer kernels. Not Centos 5.x) potentially lxc.
 
 I have had a very good track record with Proxmox VE:
 http://pve.proxmox.com/wiki/Main_Page
 
 It's a Debian with both KVM and OpenVZ, built-in clustering and a
 unified Web interface to create and manage the machines.
 
 

+1 for Proxmox

Cheers
--
Meir

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


Re: דרושה המלצה לעט אלקטרוני

2011-03-20 Thread Meir Kriheli
On 03/20/2011 03:41 PM, Maayan Eshed wrote:
 היי רשימה
 האם מישהו יכול להמליץ על עכבר-עט שעובד עם לינוקס, אם אפשר
 אובונטו\דביאן למיניו?
 הכוון הוא pointing device בשביל גרפיקה בסיסית, במחיר לא בשמיים. אין לי
 צורך באלחוטיות או זכירת מידע, אבל אם לא אמצא מוצרים פשוטים יותר גם זו
 אפשרות.
 חיפוש בגוגל נתן כוון כללי אבל אשמח לקבל פידבק מבעלי נסיון, והמלצות להיכן
 לקנות גם הן יבורכו.
 
 כל טוב ופורים שמח
 

We had a similar discussion @whatsup:
http://whatsup.org.il/forum/55878

Mentioned there 2 wacom models, bamboo and intonuos4, and (Genius ?)
MousePen.

Cheers
--
Meir

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


Re: Handy Program

2011-01-16 Thread Meir Kriheli
On 01/16/2011 10:30 AM, Mordecha Behar wrote:
 I think that the people reading this list are the only ones in the world
 who would benefit from this program.
 You how you're typing in English (or Hebrew) and then look at the screen
 only to realize that you hadn't switched your keyboard? Frustrating.
 I got fed up with having to retype it all, so I wrote a little
 application to do it for me.
 I know that there are Windows programs that will do this, but none for
 Linux (that I'm aware of).

There's behafucha:

http://hafuchalhafuch.sourceforge.net/

 My original plan was to make an OpenOffice plugin, but I don't have the
 time now to start working on that.
 The program is a Java app, and will run on any platform. (I tested it on
 Windows XP, a Debian derivative and a Red Hat derivative, one using Sun
 Java and the other IcedTea).
 I'm releasing it and its source code under the GNU GPL. Feel free to use
 it, share it, improve on it, and maybe somebody out there has the time
 and skills to write an OOo plugin from it.
 Executable JAR file: http://thatside.net/downloads/TextConverter1.1.zip
 Source code:  http://thatside.net/downloads/TextConverterSource1.1.zip
 
 Share and enjoy!

Cheers
--
Meir

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


Re: wifi adapter problem

2010-11-18 Thread Meir Kriheli

On 11/18/2010 11:35 AM, David Ronkin wrote:

Boris hi,

Can you provide decent place for downloading  installing of rt2800usb
I have compile errors while make of one 1 found?




I Had the same problems, till I've downloaded and installed the kernel 
and linux-firmware-nonfree packages from Natty's repository:


http://packages.ubuntu.com/natty/kernel/

Cheers
--
Meir Kriheli







2010/11/18 Boris shtrasman borissh1...@gmail.com
mailto:borissh1...@gmail.com

When dealing with newer then 2860 cards afaik there is no stable
mainline kernel support (I hope it is the correct term)


2010/11/17 David Ronkin dron...@gmail.com mailto:dron...@gmail.com

Hi


I bought Edimax  EW-7711USN usb adapter (with linux support
written on the box).

Looks like the driver is found by my ubuntu 10.10 Maverick (on
titan laptop) but still i cannot go to web (i have open wireless
nw around) - getting the error below.

try to :

1) blacklist the rta2870sta and use rt2800usb or rt2x00
2) switch to compat-wireless (it solved my problems).


I googled for some time but gave up meanwhile,
Please kindly help!

Could you also replay with :

if you have wpa2 enc ap try to kill network manager (if it is on)
and start the plain old wpa_supplicant with debug values when
connecting and provide us the logs.

wlist wlan1 scan

tail /var/log/syslog after you connected the card to the system and
did and iwconfig.

Here some logs:

# lshw | grep wire
*-firewire
 product: Firewire (IEEE 1394)
 configuration: driver=firewire_ohci latency=32
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=rt73usb
driverversion=2.6.35-22-generic firmware=N/A link=no
multicast=yes wireless=IEEE 802.11bg
capabilities: ethernet physical wireless
configuration: broadcast=yes multicast=yes
wireless=Ralink STA

#iwconfig wlan1 essid Homek

#iwconfig

wlan1 Ralink STA  ESSID:  Nickname:RT2870STA
   Mode:Auto  Frequency=2.412 GHz  Access Point:
Not-Associated
   Bit Rate:1 Mb/s
   RTS thr:off   Fragment thr:off
   Encryption key:off
   Link Quality=10/100  Signal level:0 dBm  Noise
level:-115 dBm
   Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
   Tx excessive retries:0  Invalid misc:0   Missed beacon:0


# dhclient wlan1
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan1/00:1f:1f:c7:16:53
Sending on   LPF/wlan1/00:1f:1f:c7:16:53
Sending on   Socket/fallback
[snip]

You should be sure that you wore able to auth againgst the ap prior
to calling dhcpclient

DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 7

I talked about a card with the same chip on AP10 with some people
and all had the same results it basically overheats , crashes get
stuck and don't work.

___
Linux-il mailing list
Linux-il@cs.huji.ac.il mailto: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



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


Re: What's inside the evrit reader?

2010-06-01 Thread Meir Kriheli
On Tuesday 01 June 2010 02:45:14 geoffrey mendelson wrote:
 On May 31, 2010, at 11:36 PM, Meir Kriheli wrote:
  Pixel Qi might be the answer, looks promising:
  
  http://www.pixelqi.com/
 
 Yes it does. Now all they have to do is find someone to manufacture
 them.
 
 Geoff.

Details ... ;-)

--
Meir

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


Re: What's inside the evrit reader?

2010-05-31 Thread Meir Kriheli
On Monday 31 May 2010 21:06:36 geoffrey mendelson wrote:
 On May 31, 2010, at 8:47 PM, Elazar Leibovich wrote:
  The main trick about the e-books that everyone seems to miss, is the
  e-ink technology. From my own experience, the e-reader's screen is
  much more comfortable to the eyes.
 
 e-ink is realtivley common and cheap. Last fall a US magazine had an e-
 ink cover. In order for the batteries to last long enough to be of any
 use, the finished magazines were stored and ship under refrigeration.
 
 It is very slow, you can't use them for watching video, and if you are
 a fast reader, you may find that the change is annoying if you flip
 pages.
 
 How comfortable and LED/LCD screen is depends upon how it i adjusted.
 Some LED screens are difficult to use or read. The one on my MSI Wind,
 is fine, even for many hours a day.
 
 Geoff.


Pixel Qi might be the answer, looks promising:

http://www.pixelqi.com/

Cheers
--
Meir

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


Re: How do you calculate?

2010-05-23 Thread Meir Kriheli
On Friday 21 May 2010 00:03:10 Oleg Goldshmidt wrote:
 Nadav Har'El n...@math.technion.ac.il writes:
  Or do you use bc? Does anyone actually use bc, which returns 0 as a
  result for the calculation 2/3? :-) Of course, you can use scale=10
  (or the -l option to bc) to fix that, but how many first-time users
  would know that? What posessed the person who decided to make scale=0
  the default?
  
  :-)
 
 I don't know, but
 
 $ type calc
 calc is a function
 calc ()
 {
 echo $@ | bc -l
 }
 $ calc 2/3
 .
 
 has been a trusted friend for years (among other things - e.g., I use
 emacs scratch buffer a lot to do calculations in lisp).
 
  So I was wondering - how come there isn't more pressure on the Linux
  distributions to include a decent and convenient calculator language?
  Or do people consider what is available decent enough already?
 
 My guess is that since you can, e.g., click on the kickoff launcher
 (if you are a KDE user as myself), type calc in the search field,
 and get prompted for half a dozen really good graphical calculator
 programs the pressure has subsided a bit...

For quick calculations KDE4's krunner (alt+F2 by default) is enough. See here 
for more info:

http://userbase.kde.org/Tutorials/Krunner#Using_as_a_calculator

Cheers
--
Meir

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


Re: need help with PHP open source class

2009-12-28 Thread Meir Kriheli

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

Hi,

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

If you can help, please contact me.

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


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


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

Cheers
--
Meir Kriheli

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


Re: red button on ibm t20 and fedora 12

2009-12-05 Thread Meir Kriheli
On 12/05/2009 12:57 PM, sara fink wrote:
 Hello Everyone
 
 I have a friend who recently installed Fedora 12. He has an IBM T20. The
 red button on this laptop doesn't work.
 
 I haven't seen his xorg.conf yet, but if anyone knows how to solve the
 problem, I will be glad to hear.
 How this mouse is considered by xorg? 3 buttons emulation?
 

http://www.thinkwiki.org/wiki/How_to_configure_the_TrackPoint

T20 topics:
http://www.thinkwiki.org/wiki/Category:T20

Cheers
--
Meir

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


Cisco 2501 giveaway

2009-11-24 Thread Meir Kriheli
Cisco 2501 router to give (no cables though):

http://www.cisco.com/en/US/docs/routers/access/2500/2501/software/user/guide/ovr.html

If you're interested, mail me off list.

Cheers
--
Meir Kriheli

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


Re: FOSS Report Generation Tools

2009-11-18 Thread Meir Kriheli
On 11/17/2009 11:48 AM, eliyahu cohen wrote:
 I'm looking for recommendations for FOSS tools that can easily be used to 
 create impressive looking charts, graphs and text clouds based on data in a 
 MySQL database. Eye candy is crucial for this project. Any ideas?
 
 - Eliyahu
 

If Java is an option take a look at JaspeReports:
http://jasperforge.org/website/jasperreportswebsite/trunk/index.html

Cheers
--
Meir

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


Re: eTextBooks (for kids)

2009-09-08 Thread Meir Kriheli
On 09/08/2009 09:47 AM, Jonathan Ben Avraham wrote:
 On Tue, 8 Sep 2009, Dov Grobgeld wrote:
 
 Date: Tue, 8 Sep 2009 09:40:58 +0300
 From: Dov Grobgeld dov.grobg...@gmail.com
 To: Jonathan Ben Avraham y...@tkos.co.il
 Cc: ILUG linux-il@cs.huji.ac.il
 Subject: Re: eTextBooks (for kids)

 That argument is like the arguments against writing free software
 because it
 will put the software vendors out of business. It is clear that the
 interest
 
 No, it's a very different argument. The correct analogy here is music.
 The content market is not the same as the sotware market. There is a
 free software market, but there is no free content market. And the main
 reason is that there is a revenue model for free software, but no
 revenue model for free content.
 
  - yba
 

Much like the services industry around FLOSS a musician can perform live
concerts, merchandising etc.

There are people looking for different business model in music as well
utilizing various CC licenses, see for example:

http://www.jamendo.com/en/

Cheers
--
Meir Kriheli

 
 of the consumer is to have the information available for free, and if
 someone wants to volunteer their time to provide this information for
 free,
 then all the more respect to them. Of course this will make the
 publishers
 unhappy, and they'll have to compete harder to have someone pay for their
 work.

 But this is all hypothetical as I have yet to hear about any such
 project.

 Regards,
 Dov

 2009/9/8 Jonathan Ben Avraham y...@tkos.co.il

 Hi All,
 Don't forget that there is a large industry of authors and publishers
 who
 make their living on the current paper book model. Like music, this is a
 content market whose reason for existence is payment for content.

 I think that a better idea for a free education project in this
 direction
 would be an online publishing house the would sell kindle style
 versions of
 the current content offering.
 Regards,

  - yba


 On Mon, 7 Sep 2009, Dov Grobgeld wrote:

  Date: Mon, 7 Sep 2009 21:22:37 +0300
 From: Dov Grobgeld dov.grobg...@gmail.com
 To: Dotan Cohen dotanco...@gmail.com
 Cc: linux-il@cs.huji.ac.il
 Subject: Re: eTextBooks (for kids)


 This reminds me of a public service project that I have thought about
 for
 some time. It would be nice if someone created some free (as in
 license)
 books that would pass the requirements of the education ministry. These
 could then be downloaded as e-books or printed, copied partially,
 photocopied, translated, modified, read in audioform, etc, which
 would be
 a
 great service to the all kids and parents.

 Just my 2 ag,
 Dov

 On Mon, Sep 7, 2009 at 14:06, Dotan Cohen dotanco...@gmail.com wrote:

  Is there a place to buy electronic versions of textbooks for (israeli)
 school children?
 The schools don't have places for kids to keep their books on
 premises,

 so

 they have to schlep all their books all day long. They are heavy. 
 I'd
 rather they carried a small laptop or e-book reader.
 Any ideas?


 You are ahead of your time. What grade are the kids in? You should
 know that the books are likely used for more than reading, for
 instance they may have to write in the book.

 You should also know that Education Ministry limits the sacks on one's
 back to 10% of their body weight. If your kid's books and a reasonable
 pack exceed this, complain to the school management. Keep us informed.


 -- 
 Dotan Cohen

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

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



 -- 
  EE 77 7F 30 4A 64 2E C5  83 5F E7 49 A6 82 29 BA~. .~   Tk Open
 Systems
 =}ooO--U--Ooo{=

 - y...@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il



 


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


Re: eTextBooks (for kids)

2009-09-08 Thread Meir Kriheli
On 09/08/2009 10:29 AM, Jonathan Ben Avraham wrote:
 On Tue, 8 Sep 2009, Meir Kriheli wrote:
 
 [snip]
 Much like the services industry around FLOSS a musician can perform live
 concerts, merchandising etc.

 There are people looking for different business model in music as well
 utilizing various CC licenses, see for example:

 http://www.jamendo.com/en/
 
 These are guerilla movements, not mainstream like free software. The
 reality is that there is no free content market anywhere approaching the
 free software market, and the reasons are clear.
 
  - yba
 
 

Just like FLOSS, everybody has to start somewhere. For sure it's bigger
compared to couple of years ago, and keeps growing.

That's just an example, you can find more, e.g:
http://freemusicarchive.org/

Cheers
--
Meir Kriheli

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


Re: Automated GUI testing with JS and AJAX

2009-09-03 Thread Meir Kriheli
Hi,

On 09/03/2009 03:48 PM, Leonid Podolny wrote:
 Hi, all,
 At my work we encountered a problem and it looks like we are
 re-inventing the bicycle. Someone here surely has an experience with
 that.
 We have a regressions testing lab. As a part of the testing we have to
 work with the web-interface of our product. (I'm intentionally vague,
 the details are quite irrelevant to the problem). The testing scenario
 includes action items like press the button with caption 'Advanced
 Settings' on it.
 This is implemented as a C program with sockets interface, so find a
 button actually means look for a substring in the received HTML
 code and press the button means create an HTTP POST message and
 send it.
 However, recently we have added some JavaScript and AJAX to the
 web-interface and now the testing environment must be able to run JS
 and even cope with things like replacing part of the DOM tree. We can
 see three possible directions to tackle the problem:
 - Further fix our great testing program. After all, we know what AJAX
 can return -- we can manually open the connection it would open, parse
 the response, etc. Looks ugly and has a potential to turn into
 maintenance nightmare.
 - Setup a headless X server with Firefox running inside and some sort
 of scripting/management add-on. If someone has an experience with such
 a setup, I would appreciate pointers to specific add-ons you used.
 - Somehow hack off the GUI from any open-source browser and link it to
 our program, i.e. use it as HTML parser and JS machine. Looks
 unpredictably complicated, maybe not even feasible.
 

Try selenium:
http://seleniumhq.org/

Cheers
--
Meir Kriheli

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


Re: New Essay - FOSS Licences Wars

2009-09-02 Thread Meir Kriheli
On 09/01/2009 11:21 PM, geoffrey mendelson wrote:

snipped/

 Apple is actually a pretty decent supporter of FOSS, they just chose not
 to use the GPL, which lead them to BSD instead of Linux, and they kept
 parts of their operating system and technology proprietary. They have an
 obligation to their stockholders to maintain the value of their
 investment. They also pay their employees fairly and have good benefits,
 something that some people on this list feel is their right as
 consultants marketing FOSS, but not the right of the developers of it.
 
 Geoff.
 


A company which shuts down websites (to let their PR keep rolling on
launch), forces other to remove videos (wired), uses the DMCA to hold
down a wiki site (just to keep a format hidden) and much more are no
supporters of FOSS.

The obligation to stockholders is a lame excuse (just like, it's a
company, they need to make money) for keeping a fake FOSS/Cool mask.

--
Meir

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


Re: New Essay - FOSS Licences Wars

2009-09-02 Thread Meir Kriheli
On 09/02/2009 01:16 PM, geoffrey mendelson wrote:
 
 On Sep 2, 2009, at 12:30 PM, Meir Kriheli wrote:
 

 A company which shuts down websites (to let their PR keep rolling on
 launch),
 
 How about a citation? This is to vague to be anything but FUD without one.

ThinkSecret had to shutdown in exchange for keeping their sources
hidden. Those sources where under NDA - that's not ThinkSecret's problem
but Apple's, yet they were the one paying the price.

 forces other to remove videos (wired),
 
 That's simply wrong. Apple never forced Wired, they asked. They asked
 them to remove the video because it was a step by step tutorial on how
 to violate the Apple EULA. It was not a tutorial on how to install
 Darwin, a  FOSS operating system on your PC, but a full out install the
 parts that are proprietary too video.
 

You sure have nice website here, shame if something bad happened to
it. Apple's EULA (or anyone else's for that matter) is not law, but
their threat (backed by their very active legal department) sure was enough.

We've suffered from the same at whatsup.org.il. An Israeli hardware
company threatened us as one of our users wrote against their ethic an
behavior. Our options were either revealing his IP or being sued. After
consulting a known lawyer he advised us to delete the comment or fight a
lengthy battle which we can't afford, and he handled it for us against
the company, without his help (no charge) we've been in the mud.

Since then it happened again. One can bet same decision was forced on Wired.

 What that has to do with FOSS, I have no idea.
 

A company which tries to present itself as FOSS friendly has no business
of NDAs, DRM, DMCA, legal bullying and lock ins. Sure you can do that
(But they need to make money), just don't try to sell you're Cool,
Hip and Theo de Raadt soul mate.

Someone who pretends to support FOSS can't be against open society.

They can't support gag orders just for a refund (looks like a standard
corporate procedure), How can a law/state even allow such actions ?

http://www.osnews.com/story/21937/

They can't support hiding information from the public to keep their
phony image, http://www.osnews.com/story/21878/ :

KIRO 7 Consumer Investigator Amy Clancy worked for 7 months to try and
get her hands on the 800-page report by the Consumer Product Safety
Commission. She used the Freedom Of Information Act, but Apple's lawyers
kept on filing exemption after exemption, apparently trying to prevent
the report from going public. The report shows in great detail several
incident where iPods burst into flames and smoke, at times burning owners


 
 uses the DMCA to hold
 down a wiki site (just to keep a format hidden) and much more are no
 supporters of FOSS.
 
 I looked that up. The website in question had pages which suggested that
 a user circumvent a DRM method. Telling people how to circumvent DRM is
 a DMCA viloation, telling them should do it, but not how, may have been.

It wasn't about DRMor circumention at all , more about interfacing with
iPod and the iTunesDB. And they kept the pressure even when the pages
were removed. DMCA had nothing to do with it.

 The law was unclear. Instead of embroiling the EFF and Apple in a long
 and lengthy lawsuit, Apple decided to fold on the side of public
 freedom. It could have gone the other way, and due to the cost may
 have bankrupted the EFF.
 

Ain't that nice of Apple of letting the EFF linger on ? I must send a
Thank you letter to Mr. Jobs.

IIRC It's very simple. They've change the format, so the info on the
Wiki (which helped other devices/software sync with iTunes/iPod) wasn't
relevant anymore.

And they still keep using those tactics to lock their users and prevent
them from using anything else. Yep, very FOSS friendly:

http://www.osnews.com/story/21881

 IMHO Apple did the right thing in both cases, they moved to protect
 their intelectual property as was permitted by law (and may be required
 by securities law, being a publicy traded company) and when it came down
 to fighting the EFF in court, they left the EFF standing. It is
 important to note that there was no legal precident set by dropping the
 cases, it still is a gray area in the law, and someone else could (and
 possibly may have to) do it all over again.
 
 The only victory for FOSS, if there was one at all, is Apple let the EFF
 live.
 
 The obligation to stockholders is a lame excuse (just like, it's a
 company, they need to make money) for keeping a fake FOSS/Cool mask.
 
 
 Why? They really do have both an ethical and a legal obligation to
 shareholders. It's the US, Meir, laws and ethics are different there
 than Israel.

You mean United Corporate of America ? The poster child of laws made for
and by the corporations ? looking for their interests instead of the
citizens ?

Mussolini said: Fascism should more appropriately be called Corporatism
because it is a merger of state and corporate power - takes one to know
one.

 BTW, don't you do exactly

Re: an open phone from nokia ?

2009-08-30 Thread Meir Kriheli
On 08/30/2009 11:52 AM, Shachar Shemesh wrote:
 Eli Marmor wrote:
 Hetz Ben Hamo wrote:

   
 ...

 Will it be totally open? I don't think so because they have to support
 their DRM'd music/video which you buy, and their DRM is from ..
 Microsoft, but OTOH writing/porting an app to N900, is IMHO way easier
 then to Android/WebOS/iPhone.
 
   
   
 ...
 

 By the way, don't forget that:

 1. Android is Linux.
 2. WebOS is Linux (Palm left their proprietary OS).
 3. iPhone is BSD.
 4. ...and not only Nokia's Maemo is Linux/UNIX based
   
 While technically true, it is also totally irrelevant.
 
 When you write a phone application, you rarely interact with the kernel.
 Your main interaction is with the GUI. As such, which are the toolkits
 and what languages can you use:
 Neo: C/C++/Python/Anything. GUI is ETK, GTK, QT, wxWidgets or whatever.
 WebOS: I don't know what language (C?). GUI is Palm OS
 iPhone: I don't know what language (Objective C?). GUI is iPhone
 Android: Java. GUI is Android
 Windows Mobile: C, GUI is Win32ish
 Nokia: C/C++. GUI is QT.
 
 Of this list, only the first and the last provide you with a development
 environment that is the same for the phone and for you (or, at least,
 my) desktop. In some cases I literally run the same software on my
 laptop and on the phone.
snipped

AFAIK, Nokia's (actually Maemo) running Hildon [1] - a gnome/gtk based
env for handhelds. One can install Qt and apps from the repos.

Next version of maemo will be Qt based (while gtk+ apps still working,
but relagated to community). Other languages [2] (e.g: Python) can be
used as well.

[1] http://en.wikipedia.org/wiki/Hildon
[2] http://maemo.org/development/documentation/programming_languages/

Cheers
--
Meir Kriheli

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


Re: Hebrew FAQ

2009-03-24 Thread Meir Kriheli
Aharon Schkolnik wrote:
 On Tuesday 24 March 2009, Oleg Goldshmidt wrote:
 Aharon Schkolnik aschkol...@gmail.com writes:
 Actually, I meant to ask about setting up Hebrew using xorg.conf,
 Modern systems don't have xorg.conf - Xorg probes the system on
 startup, generates the necessary parameters, and just works. I have
 2 Fedora 10 computers with different video cards, etc. - neither has
 an xorg.conf.
 
 Yes, you're right, but if you want to set up Hebrew keyboard at the X level,  
 you need a xorg.conf file. That's how I have done it in the past.
 

Not if you're using Xorg's input hotplugging, hal is responsible for
that, without the need for xorg.conf. Here's my
/etc/hal/fdi/policy/10-keymap.fdi:

?xml version=1.0 encoding=ISO-8859-1? !-- -*- SGML -*- --
deviceinfo version=0.2
  device
match key=info.capabilities contains=input.keymap
  append key=info.callouts.add
type=strlisthal-setup-keymap/append
/match

match key=info.capabilities contains=input.keys
  merge key=input.xkb.rules type=stringxorg/merge

  !-- If we're using Linux, we use evdev by default (falling back to
   keyboard otherwise). --
  merge key=input.xkb.model type=stringkeyboard/merge
  match key=/org/freedesktop/Hal/devices/computer:system.kernel.name
 string=Linux
merge key=input.xkb.model type=stringevdev/merge
  /match

  merge key=input.xkb.layout type=stringus,il/merge
  merge key=input.xkb.variant type=string,lyx/merge
  merge key=input.xkb.options
type=stringgrp:switch,grp:alt_shift_toggle/merge
/match
  /device
/deviceinfo

 You can generate the file using Xorg --configure or sth of the kind,
 and if you have it Xorg will use it. I did not feel the need.
 
 I did that, but wasn't able to get the Hebrew keyboard stuff working.

Cheers
--
Meir Kriheli

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


Re: Hebrew FAQ

2009-03-24 Thread Meir Kriheli
Aharon Schkolnik wrote:
 On Tuesday 24 March 2009, Meir Kriheli wrote:
 Aharon Schkolnik wrote:
 On Tuesday 24 March 2009, Oleg Goldshmidt wrote:
 Aharon Schkolnik aschkol...@gmail.com writes:
 Actually, I meant to ask about setting up Hebrew using xorg.conf,
 Modern systems don't have xorg.conf - Xorg probes the system on
 startup, generates the necessary parameters, and just works. I have
 2 Fedora 10 computers with different video cards, etc. - neither has
 an xorg.conf.
 Yes, you're right, but if you want to set up Hebrew keyboard at the X
 level, you need a xorg.conf file. That's how I have done it in the past.
 Not if you're using Xorg's input hotplugging, hal is responsible for
 that, without the need for xorg.conf. 
 
 Very interesting !
 How did you generate fdi file ?
 

You should get a template with hal which should be copied to
/etc/hal/fdi/policy and customized. On ArchLinux and Debian the template
location is /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi .


More templates are located under /usr/share/hal/fdi/policy/ in case
you'll need to customize other input devices (e.g: synaptics).

 Here's my
 /etc/hal/fdi/policy/10-keymap.fdi:

 ?xml version=1.0 encoding=ISO-8859-1? !-- -*- SGML -*- --
 deviceinfo version=0.2
   device
 match key=info.capabilities contains=input.keymap
   append key=info.callouts.add
 type=strlisthal-setup-keymap/append
 /match

 match key=info.capabilities contains=input.keys
   merge key=input.xkb.rules type=stringxorg/merge

   !-- If we're using Linux, we use evdev by default (falling back to
keyboard otherwise). --
   merge key=input.xkb.model type=stringkeyboard/merge
   match key=/org/freedesktop/Hal/devices/computer:system.kernel.name
  string=Linux
 merge key=input.xkb.model type=stringevdev/merge
   /match

   merge key=input.xkb.layout type=stringus,il/merge
   merge key=input.xkb.variant type=string,lyx/merge
   merge key=input.xkb.options
 type=stringgrp:switch,grp:alt_shift_toggle/merge
 /match
   /device
 /deviceinfo

 You can generate the file using Xorg --configure or sth of the kind,
 and if you have it Xorg will use it. I did not feel the need.
 I did that, but wasn't able to get the Hebrew keyboard stuff working.

Cheers
--
Meir Kriheli

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


Re: Getting volume keys to work in KDE

2009-03-16 Thread Meir Kriheli
Shachar Shemesh wrote:
 Meir Kriheli wrote:
 

 Better yet, place them in ~/.Xmodmap which is read upon session startup,
   
 Not on Debian, it isn't.
 

Which version of debian (i.e: which version of KDE) ? IIRC it should
work with KDE 4.2.

Even if not, in KDE's autostart script, all you have to do is:

xmodmap ~/.Xmodmap

 I will put in a reference to it in the doc, however. Thanks for the
 feedback.
 
 Shachar
 

Cheers
--
Meir Kriheli

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


Re: Is there a way to print from the cliboard?

2009-03-16 Thread Meir Kriheli
Dotan Cohen wrote:
 I'm editing a file, or viewing a web page, or whatever.

 I'm interested in printing only a small portion of it.

 I'd like to be able to essentially print selection.

 Of course this would require that each program (gvim, firefox, thunderbird,
 terminal, whatever) provide such an option.

 Alternately, I can copy to my clipboard, and then through some clever
 utility (I assume there are clipboard utilities?) print from clipboard. This
 would work with any source, regardless of whether the program supports
 printing selection or not.

 But when I searched I could not find the answer.

 Anyone know? Does such a think exist?

 
 Great idea, I just requested it at KDE. Add your comments or vote for it:
 https://bugs.kde.org/show_bug.cgi?id=187350
 

I'm quite sure it can be done with a custom action in klipper

Cheers
--
Meir Kriheli

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


Re: Getting volume keys to work in KDE

2009-03-13 Thread Meir Kriheli
Shachar Shemesh wrote:
 Hi all,
 

snippeded

 Last, we want the KDE startup to make these mappings (which, like I
 said, probably should go into the PC keyboard definition - if anyone has
 the volume keys bound to a different keycode, please shout). Create a
 file called ~/.kde/Autostart/keycodes, which has the following structure:
 
 #!/bin/sh
 xmodmap -e 'keycode 174=XF86AudioLowerVolume'
 xmodmap -e 'keycode 176=XF86AudioRaiseVolume'
 xmodmap -e 'keycode 160=XF86AudioMute'
 xmodmap -e 'keycode 212=XF86MonBrightnessUp'
 xmodmap -e 'keycode 101=XF86MonBrightnessDown'
 
 I'm sure you get the idea from here as far as other undefined keys are
 concerned.
 
 That's it. KDE already has pretty decent default handling of the
 XF86AudioRaiseVolume family of sym codes, so there is nothing further
 you need to do.
 
 Shachar

Better yet, place them in ~/.Xmodmap which is read upon session startup,
that way it's desktop agnostic (same file works for me in KDE, Gnome and
Xfce). here's my .Xmodmap (for Thinkpad X60s):

$ cat ~/.Xmodmap
keycode 234 = XF86Back
keycode 233 = XF86Forward
keycode 162 = XF86AudioPlay
keycode 164 = XF86AudioStop
keycode 153 = XF86AudioNext
keycode 144 = XF86AudioPrev
keycode 176 = XF86AudioRaiseVolume
keycode 174 = XF86AudioLowerVolume
keycode 160 = XF86AudioMute
keycode 159 = XF86LaunchA


Cheers
--
Meir Kriheli

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


Re: PDF compression tool

2009-02-17 Thread Meir Kriheli
Israel Shikler wrote:
 Hi all,
  
   I need a PDF files compression tool on Linux.
   I was able to locate some tools that really do a good job on MS but
 all my searches for descent tool on Linux were to no avail.
  

pdftk can compress and uncompress PDF streams:
http://www.pdfhacks.com/pdftk/

Cheers
--
Meir Kriheli

___
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-02-11 Thread Meir Kriheli
Michael Shiloh wrote:
 
 
 Micha Feigin wrote:
 On Tue, 10 Feb 2009 09:53:30 -0800
 Michael Shiloh michaelshiloh1...@gmail.com wrote:

 

 
 Big Lesson:
 Big lesson learned: It took us a long time to get the projector to
 display from my laptop. It took a combination of the screen
 resolution applet, the Thinkpad Fn buttons, and rebooting, and
 truthfully, I'm not sure exactly what did it. We finally got it to
 work mirroring my laptop screen, so I didn't have any secrets -
 whatever I typed was in front of the audience. This actually was
 amusing because I opened a terminal to invoke kuickshow. Later
 someone from the audience came up and said Wow, you do robots, fire,
 and command line. Really cool. (The talk was about machine art.)


 What thinkpad  and what graphics card?

 
 T60
 
 Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller
 (from lshw)

I have the same one on my X60s. Connecting VGA and running:
xrandr --auto

Worked for me so far on various projectors (for clone mode).

Cheers
--
Meir Kriheli

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


Re: PDF Editor

2008-12-22 Thread Meir Kriheli
Hi Uri,

Uri Evenhen Mor wrote:
 Hi Omer, Linux-IL friends,
 
 I need a program for editing and creating PDF files.  I understand
 adobe is the official creator of PDF format.  I searched but I can't
 find a good PDF editor (GPL or free software).  Do you recommend
 ghostscript or any other software?  Please also send me links for
 download (I need to run this software on Windows XP).
 
 P.S. sorry friends, I can't move to Linux.  There are so much software
 I'm used to use on Windows.  I just bought a new computer recently,
 also Windows XP + Microsoft Office.  I just can't see myself getting
 used to something else...
 
 by the way - we created PDF files from AutoCAD, but I need to rotate
 them 90 degrees.  that's the only edition I need to do now for PDF
 files.  If you want you can look at
 http://www.pazgal.co.il/products/industrial/peled_18/ - that's what
 I'm doing right now.
 
 Uri.

Usually pdftk is the 1st which comes to mind:
http://www.pdfhacks.com/pdftk/

Cheers
--
Meir Kriheli

=
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: Successful Windows Vista refund!!

2008-12-05 Thread Meir Kriheli
Amichai Rotman wrote:
 Zvi,
 
 I salute you for the effort you took for the grater good!
 
 Yashar Koach!
 
 As for Israeli shops selling Laptops with pre-installed Linux - I
 remember a guy at the last August Penguin (2008) selling said Laptops by
 the staircase.
 
 I can't remember the name but I know he has a web site...
 
 Can any of you remember ?
 

Affordy :
http://start.affordy.com/affordy/affordy.htm


Cheers
--
Meir Kriheli

 .::.
 
 Amichai Rotman
 
 UIN#: 6401746
 Registered Linux User#: 201192 [http://counter.li.org/]
 Registered Ubuntu User #12851 [http://ubuntucounter.geekosophical.net]
 
 
 
 PLEASE READ: http://www.gnu.org/philosophy/no-word-attachments.html
 
 
 
 .::.
 
 
 On Fri, Dec 5, 2008 at 01:04, sara fink [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
 
 
 
 Oh, well, Dell
 Israel are likely to say something like, Since you are not running
 Windows your warranty is void, and then one would have to go
 through a
 small claims court again, attaching the email exchange and the
 refund
 confirmation to the suit...
 
 
 I'd like to comment on this. I have a fujitsu siemens. I installed
 linux and  the laptop was many times at repair. Their mode of
 operation was to pull out my hd, insert a hd with windows, check,
 repair hardware and insert back my hd.
 
 So this scheme can work for every one. They usually say at the lab,
 backup, etc. You always can claim that you don't ask them to repair
 the os, but only the hardware. They have their test disk which
 checks everything, independent of the os. And as last point, ask
 them where it's written that you have warranty only if you have
 windows. A lawyer won't write such a thing in these agreements/eula. 
 
 


=
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: contacting linmagazine editors

2008-10-23 Thread Meir Kriheli
Hi Amos,

Amos Shapira wrote:
 2008/10/24 Hetz Ben Hamo [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 
 Hi Amos,
 
 I'm using Opera Mini on both Nokia's that I have (6233 and E61).
 Linmagazine shows perfectly well, and Opera Mini supports RSS as well.
 
 
 It appears fine on my Nokia too, but it's not designed for small screen
 and I end up having to scroll around a lot through the side bars, images
 and large ads.
 
 Instead, I think that whatsup.co.il http://whatsup.co.il got it right
 and provide a cut-down mobile version which is both easier on the
 mobile data plan, faster to load, and much more convenient to browse.
 (that's another point to pursue with whats'up - get them to
 automatically detect mobile devices and default to the mobile version
 for them, or have an RSS feed which points to the mobile version).

I prefer not to auto redirect, since from time to time I'm managing
Whatsup from the mobile phone (e.g: moderation). Don't want different
feeds for mobile devices as well.


Instead I've added code which redirects RSS links to the mobile version
(if coming from a mobile device).

In case of problems, you can use the complaints forum [1] for support.

[1] http://whatsup.org.il/index.php?name=PNphpBB2file=viewforumf=6

HTH
--
Meir Kriheli

=
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: [YBA] No contact link on whatsup.co.il?

2008-06-25 Thread Meir Kriheli

Jonathan Ben Avraham wrote:

Hi list members,
Seems that there is no contact link on whatsup.co.il. How to contact them?
TIA,


Hi Jonathan,

(A message sent to you didn't get through, so sending to the list hoping 
you'll get it)


We have a Contact us/Feedback form linked from the footer of every page, 
or you can reply to this message :-)


Cheers
--
Meir Kriheli

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



Re: [OT] Fragmentation in the community

2008-06-02 Thread Meir Kriheli

Muli Ben-Yehuda wrote:

On Sun, Jun 01, 2008 at 11:22:19PM +0300, Nadav Har'El wrote:


No, a planet aggregates many columns (blogs) into one newspaper.
There are still a multitude of information sources - other
newspapers - that it doesn't aggregate. It doesn't aggregate
mailing lists like this one


Use a mail to rss gateway.


or those of active free software projects; It doesn't aggregate
forums; It doesn't aggregate news sites (like whatsup and
linmagazine).


Both have rss feeds.



Exactly. I was against adding whatsup (or other high traffic sites for 
that matter) to the aggregator, as those would drown in volume the 
bloggers personal posts - those that should be exposed by the planet.



It doesn't aggregate stories about free software written in sites
like ynet, captain Internet, and so on.


Those I'm not sure about, but hopefully they have or will have rss
feeds.


And so on... So this planet appears to be an interesting
newspaper, but just one of many - not one that can replace all.


It can replace all, but I'm not sure it would be a pleasant
experience.


And frankly, I doubt there can every be one that replaces them
all. There is simply too much information to appear at one place,
too many disagreements on what is the appropriate way to display
this information, and too many alternative ways to interpret the
information. I don't think this is necessarily a bad thing.


I agree---for some things the convenience of rss trumps seeing them in
the original design, for others, reading an rss feed is like reading
the subtitles of a movie instead of watching it.



Yep, it's not fragmentation, more like lack of awareness for planet 
FOSS-IL. For the record, it is linked from linux.org.il and the feed is 
displayed at whatsup's index page for quite some time (and I've added an 
extra link to it from the links block at the main page).


Cheers
--
Meir Kriheli

=
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: SMS via bluetooth?

2008-03-31 Thread Meir Kriheli

Geoffrey S. Mendelson wrote:
Since we were talking about the groupware thing, and Googles SMS 
appointment reminder, I was wondering about implementing it without 
using Google. 


The obvious way is to use viCQ to send messages, but then you are letting
possibly confidential details out without knowing it. For example, your
wife and children's names (which make many a password), birthdays, business
associates, etc. Perhaps you are client number 8? 


My second choice is the screen scraping sendsms scripts, which I no longer
use. I have no idea if they still work. I went to vICQ, but never use it
either, I come from an SMS challenged enviornment. :-)

To me the best choice is via a Bluetooth phone. Then you send your message
directly over your cellular phone network which reduces the number of
hands in the process and your SP is legally bound to some confidentiality. 


My wife has a Nokia cell phone with a bluetooth connection to her PC.
Using Nokia PC Suite one can use it to send SMSs. 

Is there a program to do it from Linux? 


I understand it is not free, but if you are doing this on a company wide
basis, you can negotiate cheaper or free SMS service from your cellular
phone company.

Geoff.



There's Wammu [1], which is the wxWidgets frontend (one of several) to 
Gammu [2]. I use it to backup the phone via bluetooth. Tested sending 
SMS with Wammu via bluetooth, English worked, Hebrew sent as  (could 
be problem with the receiving phone).


Gammu has bindings for python and ruby.


[1] http://wammu.eu/
[2] http://www.gammu.org/
[3] 
http://www.gammu.org/wiki/index.php?title=Gammu:Main_Page#Third_party_-_bindings


Cheers
--
Meir Kriheli

=
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: NIC replacement

2008-03-12 Thread Meir Kriheli

Avraham Rosenberg wrote:

Hi,
Something is rotten in the kindom of Danemark.
Monday evening there was suddenly no internet connection. Neither in my
computer (Debian etch) nor in my wife's (Windows XP).
After bypassing the router, I was able to connect my wife's computer, but
not mine. Neither in Debian, nor in windows or knoppix. Conclusion:
probably the on-board NIC went bust.
I entered the BIOS, and switched it off and then mounted instead a (very
old) winbond 89C940 card that I had lying arond.
Both windows and Knoppix worked happily with it. 
A google search  comparison of lsmod for Knoppix and Debian pointed to
nek2k-pci.ko as the necessary module. 
After adding ne2k-pci to the /etc/modules of my debian, I rebooted it. The

card was recognized and the module loaded (dmesg: eth0 winbond 89C940 found
at 0xa000, IRQ204, 00:40:95:04:77:B6 ...and ne2k-pci.: v1.03 etc) but eth0
was not configured. lsmod confirmed that ne2k-pci.ko and 8390.ko had been
loaded.
What did I wrong, or failed to do?

There was a hint in dmesg: to try pci=routeirq if any of the devices does
not work. I have no idea where and how to use this hint. Can anyone give an
example?

To complete the mistery. After reset to factory defaults, the router worked
again as new. An this morning, after reactivating the on-board NIC,
everything works.
Any hint will be most welcome. Cheers, Avraham



udev has a rule which binds MAC addresses to interfaces (prevents the 
annoyance of having interfaces names changed on machines with several 
similar NICs after kernel upgrades). The downside: changing NICS 
requires modification of that rule.


If you have udev installed, look for the file:

/etc/udev/rules.d/z25_persistent-net.rules


If you have it, you'll need to change the MAC address for eth0 to the 
new one (or remove that rule).


HTH
--
Meir Kriheli

=
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: UTF-8 in PHP?

2008-02-28 Thread Meir Kriheli

Dotan Cohen wrote:

On 28/02/2008, shimi [EMAIL PROTECTED] wrote:

It can be a UTF-8 problem in general - PHP has many functions that are not
UTF-8 aware, which is why we have the mbstring functions... which are
equivalent to historical PHP functions, but work well on multibyte
strings... there's even an option to overload the mbstring functions on top
of the old functions, see:
http://il.php.net/manual/en/ref.mbstring.php#mbstring.overload

However, I can't see an mbstring equivalent for preg_replace (while
ereg_replace does have one...) - which might suggest one of two options: a)
preg_replace is utf-8 ready or b) mbstring functionality doesn't support a
function for preg_replace... I know this might not be a too helpful comment,
but I tried my best...


Thanks, Shimi. It seems that preg_replace does not work on multibyte
(utf-8) strings because that would be too slow. I'm looking for an
alternative, and you may have just found it. 
Thanks.http://blog.page2rss.com/2007/01/postgresql-vs-mysql-performance.html

Dotan Cohen


It's not that, since preg_replace has a modifier for utf-8 (u). The 
problem seems to be detecting the boundaries (\b). Since (a simpler and 
not perfect or similar functionality, e.g: not working on line endings) 
the following works:


$test=preg_replace('/([^\s]+)כ(\W)/Uu', '$1ך‎$2', $test);

Cheers
--
Meir Kriheli

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: Dump File Meta-Data for a Directory Structure/Tree

2008-02-24 Thread Meir Kriheli

Shlomi Fish wrote:

Hi all!

Does anyone know of a utility that will dump meta-data for all files under a 
given directory and all of its sub-directories? By meta-data, I mean file 
size, mtime/atime/ctime, uid/gid, etc. and possibly some user-specified 
hashes (MD5, SHA1, etc.). I'd like the dump to be a well-structured, 
preferably textual, but easily understood format. I'm not interested in 
preserving the contents (or else I would have used tar)


So far I've been using an ad-hoc combination of ls -lR and find, but they 
suffer on being not well-formed.


Any pointers will be appreciated.



How about using stat on each file, something like:

find -exec stat {} \;

Cheers
--
Meir

=
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: how to avoid google analytics

2007-12-17 Thread Meir Kriheli
sara fink wrote:
 Here is a link of how to avoid google analytics from web sites.
 
 http://cafe.themarker.com/view.php?t=250692
 

Funny, to show off his point he used the top 20 list based on Alexa,
which does the same evil thing as google analytics (except it is more
IE centric, uses a cookie and techniques that some consider a spyware).

People use those stats, but at the same time advocate against them.
Strange thing indeed.

Cheers
--
Meir Kriheli

=
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: results for benchmark for Maildir filesystem

2007-12-04 Thread Meir Kriheli
Ira Abramov wrote:
 Quoting Amos Shapira, from the post of Sat, 01 Dec:
 Hi,

 I just saw a link for this on the CentOS mailing list and though it
 might interest people here.

 http://www.htiweb.inf.br/benchmark/fsbench.htm
 
 indeed, my jaw dropped. I had no idea ReiserFS was so far behind EXT3
 :-(
 
 time to reconsidder XFS I guess? I never used it before. Is is better at
 recovering from crashes than ext3? journaling and all, I had it
 sometimes come up in a bad, barely recoverable state after a crash.
 

From past experience with it (a couple of years ago), XFS uses an
aggressive caching scheme which led (in my case) to data loss and need
for repair after crashing.

Since then I've used ext3, so no idea if things changed (for better or
worse).

Cheers
--
Meir Kriheli

=
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: recommended web development environment?

2007-11-12 Thread Meir Kriheli
Amos Shapira wrote:
 Hello,
 
 I'm playing around with a web site for a business (for now it's just a
 bunch of static pages) and am looking for a convenient environment to do
 so under Debian Etch.
 
 I currently use Screem 0.16.1 from the Debian package and it's OK but
 it's editor is still rough in the edges.
 
 Can anyone recommend another convenient editor for HTML and CSS files?
 
 As much as I used to be a member of the Emacs camp many years ago, it
 should be a bloody blast of an editor to convince me to try again any of
 its modes.
 
 Thanks,
 
 --Amos
 

Bluefish seems nice:

http://bluefish.openoffice.nl/features.html

Cheers
--
Meir

=
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: Providing precompleted PDF forms in Linux

2007-09-18 Thread Meir Kriheli
Gadi Cohen wrote:
 Hi Guys
 
 
 IN SHORT: I need to take an existing PDF file, mark it as a form (never
 done this before but assuming it won't be hard to do this using Adobe
 Acrobat; this step can be done in Windows), and ultimately have the form
 completed in Linux/PHP so that the end user can downloaded a
 precompleted form which they can simply print and sign.
 
 
 FULL EXPLANATION: One of the websites I develop is for a large youth
 movement hosting regular events for both existing and new members.  At
 present for any event, both such groups complete a printed form which is
 then submitted and hand processed by the movement offices (through a
 intuitive web interface, of course, but it is still time consuming).
 
 
 The goal is that existing users will not only NOT need to re-enter their
 information on the form, but also preprocess the form into our database
 (without movement staff needing to do it by hand) and of course having a
 hard copy of the form and signatures for legal reasons.  The goal is
 minimal impact on the movement and its members, such that we would like
 to use the existing PDF files available for download (looks the same to
 chaverim and staff).
 
 
 Doing this via COM calls to a Windows server is not an option.  I want
 the form completion to be done exclusively in Linux unless this is
 absolutely impossible.
 
 
 Any help appreciated :)
 
 
 Thanks
 
 Gadi

PDF has the notion of forms, FDF[1].

Linux.com published few months ago an article about pdftk[2]. In that
article, under Filling out forms, pdftk is used to fill the form fields.

[1] http://www.planetpdf.com/developer/article.asp?ContentID=6623
[2] http://www.linux.com/articles/53701

Cheers
--
Meir Kriheli

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



Re: Open standards

2007-08-30 Thread Meir Kriheli
Kfir Lavi wrote:
 as long as just one crazy guy continues to maintain the groff program.
 
 
 Well, groff is a very good example. 30 years, wow. The thing is that
 groff is a small program, that can be maintained by one person. Word or
 openoffice in the other hand need a lot of people, but a lot of
 industries counting on word documents.
 

Format and App are different beasts. While OpenOffice needs lots of man
power, the spec for ODF is relatively simple.

Thus extracting data from it (and/or converting to other formats) is
quite cheap (manpower wise).

Cheers
--
Meir Kriheli

=
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: Graphic card

2007-05-08 Thread Meir Kriheli
Yehoshua (shay) O'Hayon Suchar wrote:
 That's why I am asking: is there any *other* card that is compatible
 with Linux, has open source drivers and is able to do 3d acceleration
 with those drivers?
 
 
 TIA,
 
 shay
 

Intel has open drivers (starting with Xorg 7.2 IIRC), but they are
usually laptop/on-board cards.

Older ATI cards, which should be enough for blender, have open source
drivers in Xorg. For more info and models, see:

http://www.phoronix.com/scan.php?page=articleitem=700num=1

Cheers
--
Meir Kriheli

 
 Hetz Ben Hamo wrote:
 
 Thats 3D.

 For good 3D drivers, you'll have to go with the closed source drivers
 if you're going to buy either NVidia or ATI. The open source drivers
 for those card, performance wise - is slow.

 Thanks,
 Hetz
\

=
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: Hot plugin cdrom. Can I avoid reboot?

2007-04-11 Thread Meir Kriheli
David Harel wrote:
 Hi all,


 On my laptop, if I plug the CDR/DVDR while the machine is on I can't use
 the device and I have to reboot to make it work. On my kernel
 (2.6.17-gentoo-r8) I setup most drivers to be static. I did not notice
 any difference in lsmod with CD or without one. Is there anything to do
 to make the live plugin work?


I had the same issues with a DVD writer in a docking station - but
restart is not required. Suspend to RAM and resume (few seconds
operation) after docking works for me.

Static modules could be problematic though, as some suspend operations
require unloading modules and loading them upon resume.


Cheers
--
Meir Kriheli

=
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: Fedora core 6 RPM repository mirror in ISRAEL?

2007-03-21 Thread Meir Kriheli
Geoffrey S. Mendelson wrote:
 Hi,
 
 I asked this before and never really got an answer I could understand. :-(
 
 Is there a Fedora Core 6 RPM repository mirror in Israel?
 
 I ask as I am sitting here watching updates come down at a few K bytes
 per second, while I donwload the original CD's from the local mirror
 in about 1/2 hour each.
 
 Geoff.

http://mirror.iglu.org.il/pub/fedora/


For the details look for Fedora in:

http://mirror.iglu.org.il/


Cheers
--
Meir Kriheli

=
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: do I have some method to manipulating calling shell environment variables?

2007-03-12 Thread Meir Kriheli
Maxim Veksler wrote:
 Hi list,
 
 I would like to make changes to my environment variables, using
 automation (script) that is called conditionally (that is after
 bashrc was sourced).
 
 Do I have some method of doing this in bash?
 The following obvious method sadly doesn't work:
 
 [EMAIL PROTECTED] builder]$ cat setenv.sh
 export TTOTHER=123
 [EMAIL PROTECTED] builder]$ ./setenv.sh
 [EMAIL PROTECTED] builder]$ echo $TTOTHER
 
 

 setenv.sh

or

source setenv.sh

--
Meir

=
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: do I have some method to manipulating calling shell environment variables?

2007-03-12 Thread Meir Kriheli
Meir Kriheli wrote:
 Maxim Veksler wrote:
 Hi list,

 I would like to make changes to my environment variables, using
 automation (script) that is called conditionally (that is after
 bashrc was sourced).

 Do I have some method of doing this in bash?
 The following obvious method sadly doesn't work:

 [EMAIL PROTECTED] builder]$ cat setenv.sh
 export TTOTHER=123
 [EMAIL PROTECTED] builder]$ ./setenv.sh
 [EMAIL PROTECTED] builder]$ echo $TTOTHER


 
  setenv.sh
 
 or
 
 source setenv.sh
 
 --
 Meir


Sorry for replying to my own post, but looks like the list manager
removed the dot at the beginning of the 1st method (something to do
with list commands maybe ?). It appears in my sent folder.

It should be: . setenv.sh

Testing:

 setenv.sh

Cheers
--
Meir

=
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: How do I encode Hebrew in PHP?

2007-03-05 Thread Meir Kriheli
Uri Even-Chen wrote:
 Hi people,
 
 I'm trying to encode Hebrew in PHP, when sending automatic mail (using
 UTF-8).  I searched and found function mb_encode_mimeheader(), but it
 doesn't work.  It sends the mail, but the Hebrew becomes Jibrish.  I
 tried to do it using mb_encode_mimeheader().  Here is my mail sending
 code:
 
 ?php
  $tmp_addresses_clone= $tmp_addresses;
 
  $tmp_count= count($tmp_addresses_clone);
  while ($tmp_count  0)
  {
 $tmp_random= rand(0, $tmp_count - 1);
 
 // Open Mail Command.
 $tmp_mail_command= '/usr/sbin/sendmail -f ' . $tmp_email . '
 ' . $tmp_addresses_clone[$tmp_random] . '  /dev/null 21';
 
 $tmp_mail_file_pointer= popen($tmp_mail_command, w);
 if ($tmp_mail_file_pointer)
 {
// Print mail header.
fputs($tmp_mail_file_pointer, From:  .
 mb_encode_mimeheader('' . $tmp_name . '', 'UTF-8', 'B', \n) . ' '
 '' . $tmp_email . '' . \n);
fputs($tmp_mail_file_pointer, To:  .
 $tmp_addresses_clone[$tmp_random] . \n);
fputs($tmp_mail_file_pointer, Subject:  .
 mb_encode_mimeheader($tmp_subject, 'UTF-8', 'B', \n) . \n);
fputs($tmp_mail_file_pointer, MIME-Version: 1.0\n);
fputs($tmp_mail_file_pointer, Content-Type: text/plain;
 charset=UTF-8\n);
fputs($tmp_mail_file_pointer, \n);
 
// Print mail body.
fputs($tmp_mail_file_pointer, $tmp_content . \n);
fputs($tmp_mail_file_pointer, \n);
 
// Close file.
pclose($tmp_mail_file_pointer);
 }
 
 echo ($tmp_addresses_clone[$tmp_random] . 'br' . \n);
 $tmp_addresses_clone[$tmp_random]=
 $tmp_addresses_clone[$tmp_count - 1];
 unset($tmp_addresses_clone[$tmp_count - 1]);
 $tmp_count= count($tmp_addresses_clone);
  }
 ?
 
 How do I correctly encode Hebrew in PHP?
 
 By the way, the body of the message looks OK.
 
 I'm using PHP 4, I can't use PHP 5 functions such as iconv_mime_encode().


Usually what needs to be encoded are the headers. It's a simple format,
and base64 [1] for the content, something like:


=?encoding_name?B?bas64_encoded_content_blabla?=

The body itself can be left as utf-8 (specifying the content-type). You
can use the mail() function [2] to send it (configure the program
sending the mail in php.ini). Don't execute sendmail directly (prevents
code portability)


Here's a sample code which worked for me in many projects (php4 included):

$msubj==?utf-8?B? . base64_encode($subject) . ?=;
$mextra=From: =?utf-8?B?.base64_encode($from).?= .$email.\n;
$mextra.=Content-type: text/plain; charset=utf-8\n\n;

mail($to, $msubj, $mmsg, $utf8_message);


[1] http://il2.php.net/manual/en/function.base64-encode.php
[2] http://il2.php.net/manual/en/function.mail.php


Cheers
--
Meir Kriheli

=
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: How do I encode Hebrew in PHP?

2007-03-05 Thread Meir Kriheli
Sorry, forgot the extra headers to the mail function (below).

Uri Even-Chen wrote:
 Hi people,
 
 I'm trying to encode Hebrew in PHP, when sending automatic mail (using
 UTF-8).  I searched and found function mb_encode_mimeheader(), but it
 doesn't work.  It sends the mail, but the Hebrew becomes Jibrish.  I
 tried to do it using mb_encode_mimeheader().  Here is my mail sending
 code:
 
 ?php
  $tmp_addresses_clone= $tmp_addresses;
 
  $tmp_count= count($tmp_addresses_clone);
  while ($tmp_count  0)
  {
 $tmp_random= rand(0, $tmp_count - 1);
 
 // Open Mail Command.
 $tmp_mail_command= '/usr/sbin/sendmail -f ' . $tmp_email . '
 ' . $tmp_addresses_clone[$tmp_random] . '  /dev/null 21';
 
 $tmp_mail_file_pointer= popen($tmp_mail_command, w);
 if ($tmp_mail_file_pointer)
 {
// Print mail header.
fputs($tmp_mail_file_pointer, From:  .
 mb_encode_mimeheader('' . $tmp_name . '', 'UTF-8', 'B', \n) . ' '
 '' . $tmp_email . '' . \n);
fputs($tmp_mail_file_pointer, To:  .
 $tmp_addresses_clone[$tmp_random] . \n);
fputs($tmp_mail_file_pointer, Subject:  .
 mb_encode_mimeheader($tmp_subject, 'UTF-8', 'B', \n) . \n);
fputs($tmp_mail_file_pointer, MIME-Version: 1.0\n);
fputs($tmp_mail_file_pointer, Content-Type: text/plain;
 charset=UTF-8\n);
fputs($tmp_mail_file_pointer, \n);
 
// Print mail body.
fputs($tmp_mail_file_pointer, $tmp_content . \n);
fputs($tmp_mail_file_pointer, \n);
 
// Close file.
pclose($tmp_mail_file_pointer);
 }
 
 echo ($tmp_addresses_clone[$tmp_random] . 'br' . \n);
 $tmp_addresses_clone[$tmp_random]=
 $tmp_addresses_clone[$tmp_count - 1];
 unset($tmp_addresses_clone[$tmp_count - 1]);
 $tmp_count= count($tmp_addresses_clone);
  }
 ?
 
 How do I correctly encode Hebrew in PHP?
 
 By the way, the body of the message looks OK.
 
 I'm using PHP 4, I can't use PHP 5 functions such as iconv_mime_encode().
 

Usually what needs to be encoded are the headers. It's a simple format,
and base64 [1] for the content, something like:


=?encoding_name?B?bas64_encoded_content_blabla?=

The body itself can be left as utf-8 (specifying the content-type). You
can use the mail() function [2] to send it (configure the program
sending the mail in php.ini). Don't execute sendmail directly (prevents
code portability)


Here's a sample code which worked for me in many projects (php4 included):

$msubj==?utf-8?B? . base64_encode($subject) . ?=;
$mextra=From: =?utf-8?B? . base64_encode($from) . ?= .$email.\n;
$mextra.=Content-type: text/plain; charset=utf-8\n\n;

mail($to, $msubj, $message, $mextra);


[1] http://il2.php.net/manual/en/function.base64-encode.php
[2] http://il2.php.net/manual/en/function.mail.php


Cheers
--
Meir Kriheli

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



Re: [OT] ADSL connection outage

2007-02-17 Thread Meir Kriheli
Ori Idan wrote:
 In the last 4 days, my Internet connection is off for few hours each day
 due to Bezeq prbolems in my area (Herzelia)
 Does someone have any idea what causes these problems?
 
 Also what is your experience with cables today? I am thinking about
 changing to cable connection since it seems that ADSL connection here is
 far from reliable.
 
 -- 
 Ori Idan
 

See here:
http://www.ynet.co.il/articles/0,7340,L-3366122,00.html

--
Meir Kriheli

=
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: And in unrelated news - Sun releases JDK under the GPL

2006-11-14 Thread Meir Kriheli
Oded Arbel wrote:
 --=-ZsO0KUhEhfDGBnOEuBju
 Content-Type: text/plain
 Content-Transfer-Encoding: 7bit
 
 https://openjdk.dev.java.net/
 
 Which possibly means I should be able to download the sources and
 compile them, but in the instructions for downloading and building the
 Hotspot VM, I can't seem to be able to checkout the sources from the
 openjdk subversion repository - I get prompted for a password, which is
 never mentioned anywhere in the FAQ. 
 
 Has anyone had any success in building OpenJDK on Linux, maybe even by
 checking out the source from subversion ?
 

If you're using netbeans, there's a guide getting javac (and probably
HotSpot as well) sources via netbeans update center:

http://nb-openjdk.netbeans.org/get-and-build.html

You can also download the zip bundles:

https://openjdk.dev.java.net/hotspot/


Haven't used dev.java.net in a while. IIRC you can use the username
guest  and an empty password to checkout from svn.

Otherwise the username/pass are the ones you've registered at
dev.java.net (assuming you did that).

Cheers
--
Meir Kriheli

=
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: Project management software

2006-11-07 Thread Meir Kriheli
Eran Tromer wrote:
 Hi,
 
 Can someone recommend some nice, lightweight project management software
 for Linux? All such software I found so far is either long abandoned or
 works as a one-way converter from some annoying text format to static
 reports; I want a usable live GUI interface.
 
 It's for a small, simple project, so I don't need much more than basic
 task tracking and Gantt chart graphing.
 
 Thanks,
   Eran

This has surfaced at gnome-files.org, HTH:

http://faces.homeip.net/


Cheers
--
Meir Kriheli

=
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: Image spam

2006-10-23 Thread Meir Kriheli
Gil Freund wrote:
 Hi,
 
 I am using a Amavis+SA+CLAM for mail filtering (debian sarge packages).
 Recently I am being hit by a lot of image spam. Bayesian filtering and
 RBL's are not enough.
 
 I have read of an OCR option for SA 3.01, but I before going to source
 packages or moving to etch, I would like to see of there are other
 options available for the current installation.
 
 Thanks
 
 Gil
 

This article might help:

http://lwn.net/Articles/196704/

Cheers
--
Meir Kriheli

=
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: gentoo hebrew

2006-09-30 Thread Meir Kriheli
Aaron wrote:
 Hi all,
 
 Is there a step by step guide for setting up hebrew on Gentoo?
 
 Thanks
 Aaron

Hi Aaron,

1. generate locales:

edit /etc/locale.gen . Add your desired locales in there. Mine includes:

en_US.UTF-8 UTF-8
he_IL.UTF-8 UTF-8
he_IL ISO-8859-8

(Probably using UK instead of US will better, as their settings are
closer to ours, but old habits die hard) After the run locale-gen.

Read the comments in that file for more info.


2. Set system's default locale vars:

edit /etc/env.d/02locale, and set your's default ones (of course you can
use different locales for each setting. Like setting LC_LANG to
en_US.utf8 and setting LC_CTYPE to he_IL.utf8)

after that run env-update.

3. For Hebrew font in the console, edit /etc/conf.d/consolefont (again:
see the comments in that file).

4. For Hebrew keyboard in the console (if needed), edit /etc/conf.d/keymaps.

5. For keyboard in the graphical environment, it's like any other.
Either edit xorg.conf or set the keyboard in your DE (if it has such
settings).

Cheers
--
Meir Kriheli

=
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: disabling ipv6 on debian

2006-08-09 Thread Meir Kriheli
Diego Iastrubni wrote:
 Hi,
 
 In case someone does not know why, I am using this funky bfocus 312 modem 
 bezeq is giving, configured as a router. In theory all I have to do is to 
 make my hosts dhcp and I am done. However, this modem supports IPV6, and 
 our ISPs generally do not, and the DNS servers get broken. 
 
 The first work around, is to set the DNS server of the clients, not to the 
 modem but to the DNS servers of the ISP. Since the DHCP lease of the clients 
 ends after X time, the clients get once again the DNS of the modem, and the 
 problem comes back. How do modify the dhcp clients to a specific DNS, and not 
 to get them from the modem?
 
 The second work around will be disabling the IPv6 from the clients. I have 
 found on the net that I should edit /etc/modprobe.d/aliases, and then modify 
 this line
 
 alias net-pf-10 ipv6 - old
 alias net-pf-10 off - on
 
 and then run update-modules.
 
 This does not work for me.
 
 Is anyone else on this list using this modem? How did he fix that problem?
 


It'd be better to leave aliases as is, so updates won't overwrite it (in
case you'll answer y by mistake).

Another way to disable ipv6 is blacklisting the module. Creating a new
file will be the best:

echo blacklist ipv6  /etc/modprobe.d/blacklist-ipv6

Don't forget to reboot.


Added it a tip for future reference at debian.org.il:
http://debian.org.il/tips/disable-ipv6

Cheers
--
Meir Kriheli
http://mksoft.co.il

=
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: xorg.conf he brew question

2006-07-27 Thread Meir Kriheli
Gil Freund wrote:
 Hi,
 
 I have the following in xorg.conf:
 Section InputDevice
Identifier  Generic Keyboard
Driver  kbd
Option  CoreKeyboard
Option  XkbRules  xfree86
Option  XkbModel  pc104
Option  XkbLayout us,il
Option  XkbCompat group_led
Option  XkbOptions
 grp:switch,grp:alt_shift_toggle,grp_led:scroll
 EndSection
 
 This works nicely in kubuntu on an Compaq Evo 400, but does not work
 in xubuntu on a Toshiba Portege 3110.
 
 Running:
 setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll us,il
 Does work.
 
 The Toshiba has only one Ctrl and Alt set, could this be the problems?
 If so which XkbModel should be used?
 
 Thanks
 
 Gil
 
 
 

According to:
http://www.edginet.org/techie/linux/XF86Config-4

linked from:
http://www.edginet.org/techie/linux/laptop.html

it says pc102.


Use the following for additional info (choose OS Machine Compatibility
from the menu):
http://newsletter.toshiba-tro.de/main/

Cheers
--
Meir Kriheli

=
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: Results of search for list of Fedora Core packages

2006-07-24 Thread Meir Kriheli
Omer Zak wrote:
 I faced the need to find a list of packages of Fedora Core.
 
 Such a list is available for Debian (for example, at
 http://packages.debian.org/stable/) and even FSF has a list of software
 packages (at http://directory.fsf.org/).
 
 However, it was surprisingly difficult to find such a list.
 
 For future reference and for the peace of mind of future users of Fedora
 Core, here is the URL which I found, with all its glory:
 http://fedoraproject.org/extras/5/i386/repodata/
 
 You can reach the above URL from the following Fedora Project Wiki page:
 http://fedoraproject.org/wiki/Extras
 
 I will continue to stick to Debian in the near future.
 
--- Omer

Try rpmseek.

For Fedora:
http://rpmseek.com/Distribution/FedoraCore/0/82/-.html?hl=com

For other distros:
http://rpmseek.com/ByDistribution.html

Cheers
--
Meir Kriheli
http://mksoft.co.il

=
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: Helping Linux move into business: FireFox vs. IE

2006-02-20 Thread Meir Kriheli
Yedidyah Bar-David wrote:
 On Mon, Feb 20, 2006 at 01:58:20PM +0200, Oded Arbel wrote:
 This naturally assumes that the user does not install a private copy
 of the app. Which is a bit tougher in the case of firefox. And
 frankly even in the case of OpenOffice. Both are rather
 self-contained.
 Its the same problem for any app: what would prevent a user from 
 downloading and compiling a KDE where the kiosk support it disabled ?

 The solution to that is pretty simple: mount /home as noexec (and of 
 course make sure that all other user writeable locations are also 
 noexec).
 
 As mentioned in the last discussion of similar nature:
 /lib/ld-linux.so.2 /full/path/to/exec
 will bypass noexec.

IIRC that was fixed in recent kernel versions.

From the Changlog for 2.6.0:


[PATCH] Fix 'noexec' behaviour

   We should not allow mmap() with PROT_EXEC on mounts marked noexec,
   since otherwise there is no way for user-supplied executable loaders
   (like ld.so and emulator environments) to properly honour the
   noexecness of the target.



trying to use that trick on my machine yields:

# /lib/ld-linux.so.2 ./test
/test: error while loading shared libraries: ./test: failed to map
segment from shared object: Operation not permitted


Cheers
--
Meir Kriheli
http://mksoft.co.il

=
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: vim inline :set

2005-12-12 Thread Meir Kriheli
Erez D wrote:
 hi
 
 i have :
 
 set ts=2
 set sw=2
 set expandtab
 
 in my vimrc.
 
 i know it is possible to embed it in the c source file
 however, i had no luck googling for it
 
 anyone ?

In a comment:

vim: ts=2 sw=2 et

For more info, in vim

:h vim:

Cheers
--
Meir Kriheli

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



Re: OT: license problem with culmus fonts

2005-08-07 Thread Meir Kriheli
Ely Levy wrote:
 Hey,
 
 I took a look at the license of culmus fonts and I saw
 they are GPL, something felt wrong to me, what does it mean
 a font is GPLed?how does that affect things like PDF or ps of the document
 which might have the font inside?or latex documents. So I went to check
 around and found this:
 
 from the FSF faq:
 
 How does the GPL apply to fonts?
 Font licensing is a complex issue which needs serious consideration.
 The following license exception is experimental but approved for general
 use. We welcome suggestions on this subject -- please write to
 [EMAIL PROTECTED]
 
 As a special exception, if you create a document which uses this font, and
 embed this font or unaltered portions of this font into the document, this
 font does not by itself cause the resulting document to be covered by the
 GNU General Public License. This exception does not however invalidate any
 other reasons why the document might be covered by the GNU General Public
 License. If you modify this font, you may extend this exception to your
 version of the font, but you are not obligated to do so. If you do not
 wish to do so, delete this exception statement from your version.
 
 As culmus doesn't have this exception it seems a serious threat to any
 documents I give that uses culmus fonts and that I don't want to be GPLed
 It's even more serious threat about the documents I write under GFDL
 because those licenses are not compatible.
 
 Even with the exception the experimental part worries me when it's about
 documents which I really dont' want someone to be able to claim they are
 GPLed later on...
 
 I know there are other fonts which are GPL so what gives?Am I missing
 something basic that I should be aware of?
 
 Ely
 

There was a discussion (in Hebrew) about it at whatsup (following the
slashdot story):

http://whatsup.org.il/article/4340

--
Meir Kriheli
http://mksoft.co.il

=
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: searching and replacing the character in vim

2005-06-23 Thread Meir Kriheli
avraham wrote:
 Hi,
 I found out that I am unable to search or/and replace
 automatically the  character in vim. The command: /\ paints
 every character in the file.
 I have no preblem to replace  automatically with sed with
 anything else, including \ (that is what I intended to do in
 vim).
 Vim-gtk version 6.3 from debian woody.
 Is this normal behaviour or something is wrong?
 Thanks, Avraham

\ works here

Cheers
--
Meir Kriheli

=
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: searching and replacing the character in vim

2005-06-23 Thread Meir Kriheli
avraham wrote:
 Hi,
 I found out that I am unable to search or/and replace
 automatically the  character in vim. The command: /\ paints
 every character in the file.
 I have no preblem to replace  automatically with sed with
 anything else, including \ (that is what I intended to do in
 vim).
 Vim-gtk version 6.3 from debian woody.
 Is this normal behaviour or something is wrong?
 Thanks, Avraham

Sorry, meant:

/ works for me

Cheers
--
Meir Kriheli

=
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: smb hebrew file names in konqueror

2004-12-14 Thread Meir Kriheli
Naomi Schor wrote:
I'm on a  Debian box, using KDE, with
LANG=he_IL.UTF-8
I want to see shared folders of a Win 98 box.
I know how to see Hebrew file names in a konsole when giving the right
options in mount -t smbfs (or in /etc/fstab), but I want to see them
correctly in Konqueror,
WITHOUT mounting. I point Konqueror to
smb://KWIN98/KITAA
and I see the files ok, but I see gibberish when the file names are in
Hebrew.
I don't think this has anything to do with samba, because I get the same
results when I stop samba.
Can anyone help please?
Naomi

Can't you set encoding with the control panel  ?
under Internet  Network - Local network browsing, set MS Windows
Encoding.
--
Meir Kriheli
http://mksoft.co.il
=
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: Stacks

2004-12-09 Thread Meir Kriheli
Danny Lieberman wrote:
open question to the list:
 
I'm considering starting a community project that would create 
ready-to-install stacks for Lamp, LamJ and Webapp clustering
the idea is a stack for end user customers which :
 
1. is certified (and/or bundled) for a particular distro  (rh 3 or caos)
2. has tested performance on a well-defined benchmark on well-defined 
hardware,
3. has a single uniform Web installer and configurator  that lets a 
simple minded admin add modules she/he needs
4. installs in 10'
5. has an update mechanism (yum, openpkg...)
6. is certified for operation (and/or bundled) with common horizontal 
business applications - like SugarCrm, Mambo
 
I have a revenue model in mind which will bring fame, fortune and 
attractive women to the project participants.
 
Questions:
1. any takers?
2. good idea?
3. terrible idea?
4. been there, done that?
You might wanna take a look at XAMPP for ideas and/or base 
implementation (at least some of the goals are implemented already):

http://www.apachefriends.org/en/xampp.html
http://www-106.ibm.com/developerworks/linux/library/l-xampp/?ca=dgr-lnxw07XAMPP

Any and all inputs welcome.
 
Thanks
 
Danny Lieberman
www.software.co.il http://www.software.co.il
+972-8-970-1485(voice)
+972-54-447-1114(Cell)
--
Meir Kriheli
http://mksoft.co.il
=
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: problem whith hebrew forum posts

2004-11-23 Thread Meir Kriheli
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ilan Finci wrote:
| Sorry,
| Forgot to give a link for an example post:
|
| http://finci.org/forum/viewtopic.php?t=15
|
| Thanks,
| Ilan
|
| on 11/23/04 08:53 Ilan Finci said the following:
|
| Hi,
| I have a strange problem, when I try to view posts in a Hebrew phpBB
| 2.0.10 forum (earlier versions has the same problems, still cannot
| test the latest version).
|
| When I try to view it with FireFox 1.0 on a linux machine, some of the
| letters are missing. Both in titles and in the text itself. Usually
| it's the first few letters of the line, but sometimes, even it the
| middle of the line.
|
| When I move my mouse over the lines with the missing letters, or mark
| the text there, the missing letters shows up again, but letters in
| other parts of the text disappear.
|
| Viewing the same article with FireFox 1.0 on a WinXP machines - and
| everything is fine.
| Even watching it with Konqueror 3.2.3 works just fine.
|
| I've opened a bug report at Mozilla's site, but wondered if anyone
| here might have an idea about it.
|
| Thanks,
| Ilan
I've seen this problem in the past, in FF/Mozilla built with Xft+GTK. It
appeared after disabling antialising.
When AA fonts are enabled, the text appears as it should.
See my (mksoft) comment in here (including links to screenshots in the
2nd one):
http://whatsup.org.il/forum/17499
- --
Meir Kriheli
http://mksoft.co.il
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBozU7RkS5DWK1mZkRAiWiAJ0eEV6cEIivta/QMltDlbnr3xDLggCgnoEI
mg1eXBQy3LUfMRT0u/ALfyw=
=cxhE
-END PGP SIGNATURE-
=
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: filename rename utility?

2004-10-26 Thread Meir Kriheli
Aaron wrote:
Hi all,
lately I have had to deal with a lot of windoze filenames and am
wondering if ther is a utility/script to remove the spaces
automatically.
Thanks
Aaron
You can use bash replacement feature:
# A=Hello This is a test
# echo $A
Hello This is a test
# echo ${A// /}
HelloThisisatest
A simple for loop and mv should handle it, example:
for i in *; do mv $i  ${i// /}; done
If you have lots files in a dir, it could pose a problem, using find and 
 -exec can help with that.

--
Meir Kriheli
http://mksoft.co.il
=
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: filename rename utility?

2004-10-26 Thread Meir Kriheli
Aaron wrote:
You can use bash replacement feature:
# A=Hello This is a test
# echo $A
Hello This is a test
# echo ${A// /}
HelloThisisatest
A simple for loop and mv should handle it, example:
for i in *; do mv $i  ${i// /}; done
If you have lots files in a dir, it could pose a problem, using find and 
 -exec can help with that.
or ls *.txt or find I guess.

I will check out the bash replacement feature before I try this so I
understand what I am doing. History has proven the danger of blindly
copying a script without knowing what I am doing. (my linux history that
is )
The syntax is:
${var_name/search/replace}
${var_name//search/replace}
Note that the 2nd one 2 backslashes after var_name. The former replaces
only the 1st occurrence, while the latter replaces all.
You can use this method to handle some quick search and replace. Here's
another example:
Let's create some files to simulate a test scenario:
$ for i in `seq 20`; do touch backup$i.log; done
$ ls
backup10.log  backup14.log  backup18.log  backup2.log  backup6.log
backup11.log  backup15.log  backup19.log  backup3.log  backup7.log
backup12.log  backup16.log  backup1.log   backup4.log  backup8.log
backup13.log  backup17.log  backup20.log  backup5.log  backup9.log
Note the sort order. Assuming you want all of them to be in the format
of backupXX.log
$ for i in backup?.log; do mv $i ${i/up/up0}; done
$ ls
backup01.log  backup05.log  backup09.log  backup13.log  backup17.log
backup02.log  backup06.log  backup10.log  backup14.log  backup18.log
backup03.log  backup07.log  backup11.log  backup15.log  backup19.log
backup04.log  backup08.log  backup12.log  backup16.log  backup20.log
HTH
--
Meir Kriheli
http://mksoft.co.il
=
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: kedit: saving a file with Hebrew text doesn't work.

2004-10-20 Thread Meir Kriheli
Shaul Karl wrote:
On Wed, Oct 20, 2004 at 10:13:42PM +0200, Shlomi Fish wrote:
You need to start kedit with a locale of:
LC_CTYPE=he_IL.UTF-8
Or something similar. Otherwise it translates all higher characters to ASCII.

 
  Doesn't looks to be LC_CTYPE. Maybe some other locale related
variable. In any case, I like the fact that kword and korganizer seems
to be handling Hebrew without some specific setting.
IIRC kedit accepts an encoding parameter from the command line (the 
open/save dialog's encoding are valid only for kwrite/kate, i.e: 
KTextEditor).

Try:
kedit --help
For more info see here (Hebrew):
http://whatsup.org.il/forum/2076
--
Meir Kriheli
http://mksoft.co.il
=
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: Default fonts question

2004-09-19 Thread Meir Kriheli
Micha Feigin wrote:
On Sat, Sep 18, 2004 at 07:38:51PM +0100, Andre Baryudin wrote:
Hello everyone,
I have returned to my roots - that is, dumped KDE in favor of FVWM2,
which was my first window manager.  The start-up time dropped
dramatically, and I also was able to configure it to my liking,
excluding a single problem.
It looks like KDE influences fonts, used by all applications (not only
KDE ones).  Now, when I use FVWM2, the fonts used are much smaller.  For
instance, Firefox, Gaim, Skype - all run with much smaller fonts that
they used to have under KDE.
The question, therefore, is how I can influence the default font used by
all applications?  I don't want a per application solution, since it
will involve too much hassle.
Please note, that I didn't do any other changes to my system, aside from
switching to FVWM2, in particular, I didn't remove any fonts, and KDE is
actually still installed.
Regards,
Andre.

Did you change the display manager (kdm/xdm/...) or are you starting X
from the command line?
I am not sure if that is the problem, but IIRC kde plays with the dpi
option which affects the font size (I think kde uses -dpi 100).
try starting X with startx -- -dpi 100 and startx -- -dpi 75 and see if
either has the effect you want.
I don't have KDE installed but IIRC it goes with the dpi of X without 
modifying it. OTOH gnome and XFCE (i.e: gtk+ apps/DEs) do modify (f.ex: 
they default to 96 dpi, while the the LCD on my laptop is 75 dpi).

Make sure the gtk+ font's dpi matches X ( xdpyinfo | grep dots ) .
--
Meir Kriheli
http://mksoft.co.il
=
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: Bank Leumi's old site - works (again) with mozilla

2004-09-01 Thread Meir Kriheli
Ofir Avni wrote:
snip/
 After logging in, I needed to refresh to see the site. Then I was only
 able to see the summary and future movements. The buttons in the right
 didn't work.
 Also using firefox 0.9.3 (under FC2).

 Is that what you get too?

 Just for the record, if someone doesn't know, the old site address is:
 https://hb.leumi.co.il/H/Login.html

 Ofir Avni
Yep, same experience, but still workable
--
Meir Kriheli
http://mksoft.co.il
=
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: Bank Leumi's old site - works (again) with mozilla

2004-08-31 Thread Meir Kriheli
Stanislav Malyshev wrote:
SS I have closed my account with Hayashir Harishon due to their
SS indifferent behavior. MAYBE Leumi will be better.
Isn't Hayashir and Leumi the same company? Their web banking seem to be 
indentical, even the same login works for it, and Hayashir seems to be 
just a branch of Leumi given separate name. 
Yes they are. I'm with HaYashir, but access the accounts via Leumi's 
site. They use different front ends to the same system.

BTW, it is interesting - how many people actually would switch banks 
because of better internet service? I'm now using Hayashir Hrishon because 
I'm not linked to particular physical branch this way, but does some bank 
present better alternative for the web service?
Same issue here. I'd switch if I had the time to mess with it.
--
Meir Kriheli
http://mksoft.co.il
=
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]


Bank Leumi's old site - works (again) with mozilla

2004-08-30 Thread Meir Kriheli
I had a problem using the old site since mozilla 1.4 (or 1.5 - can't
remember) - couldn't login (they were accesing a form in javascript as
it was global var, instead of using document.getElementById).
After some nagging to their tech support and their complaints department
the old site works again (tested with firefox 0.9.3).
For the new site, it's still a no-go. After numerous complaints, I got
the following reply:
It's the managers decision (not fixing the new site).
When asked why, the reply was: that's the decision, without explanations
or valid reasons.
Cheers
--
Meir Kriheli
http://mksoft.co.il
=
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: Boot failure - Synaptics driver problem ?

2004-08-22 Thread Meir Kriheli
Haggai Eran wrote:
 I don't know the anwer to this, but just wanted to tell you that I had
 problems with burning CDs with 2.6.8 kernel as a user, and I had to 
switch
 back to 2.6.7.

Looks like a known issue, see here:
http://kerneltrap.org/node/view/3659
--
Meir Kriheli
http://mksoft.co.il
=
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: custom initrd question

2004-08-05 Thread Meir Kriheli
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Shachar Shemesh wrote:
| Hi list,
|
| I'm trying to create my own initrd for specific custom circumstances. As
| a part of these special circumstances, I wish the linuxrc script to
| perform the actual mounting of the new root filesystem. I'm a bit at a
| loss as to how to go about actually doing it, however.
|
| If I specify that root=/dev/ram0, then linuxrc isn't run at all. If I
| say anything else, it is going to try and mount the new root system
| itself, and fail (as it is already mounted). Does anyone know how to
| disable this help I'm receiving from the os here?
|
| Shachar
|
The linuxrc written for linBrew (which detects and mounts the CD) runs
init after mounting.
The parmeter passed to the kernel specifies that linuxrc is used as init.
Maybe the can give you a hint to the solution:
http://cvs.sourceforge.net/viewcvs.py/linbrew/lnbr_cd/share/linuxrc?rev=1.2view=auto
http://cvs.sourceforge.net/viewcvs.py/linbrew/lnbr_cd/share/syslinux.cfg?rev=1.2view=auto
- --
Meir Kriheli
http://mksoft.co.il
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBEpwsRkS5DWK1mZkRAtb6AKCT49cZZ0D3eMoCtwMKVT2xfF3q8QCbBqX/
i324mu/v66zx0qb1yUpXhuw=
=/YBp
-END PGP SIGNATURE-
=
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: forum engine

2004-08-01 Thread Meir Kriheli
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
[EMAIL PROTECTED] wrote:
| Quoting Diego Iastrubni [EMAIL PROTECTED]:
|
|
|×?Friday 30 July 2004 22:07, ×?ת×?ת:
|
|Hi all
|
|
|I am looking for a hebrew forum engine.
|
|here
|
|
|
http://www.whatsup.org.il/modules.php?op=modloadname=Downloadsfile=indexreq=viewdownloadcid=73
|
|--
|
|
|
| PhpNuke has a long histrory of security breathes.
Whatsup is running on PostNuke, not PhpNuke, there's a big difference !
The forum used is a port of PhpBB to PostNuke (can be used as a module).
We're also using phpBB at http://debian.org.il/forums.
There are Heb lang files for phpBB (some tweaks for the templates are
needed though). There's a fork of it which adds all of those (can't
remember the name though, don't like those forks).
- --
Meir Kriheli
http://mksoft.co.il
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBDK5BRkS5DWK1mZkRAs+MAJ9wP5W1Cb2kxguVfZ9IZvu+piyh9ACdGWN+
5e9OxYJKtz4hnpEPr8u01jA=
=d1KV
-END PGP SIGNATURE-
=
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: Free Redhat 9 updates ?

2004-07-12 Thread Meir Kriheli
Dan Kenigsberg wrote:
Assume that I would like to continue my status of a free Redhat rider, and that
I cannot convert to Fedora, yet I would like to receive frequent, reliable,
security updates.
Does anyone have recommendations for a specific RPM repository that allows for
that?
I managed to dig www.whiteboxlinux.org out of rusting memory. Is it good for
my purposes? Are there better ones?
Thank!
You can try the Fedora legacy project:
http://whatsup.org.il/article/2803
http://fedoralegacy.org/
Cheers
--
Meir Kriheli
http://mksoft.co.il
=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]


Re: Open database comparison

2004-07-10 Thread Meir Kriheli
Canaan Surfing Admin section wrote:
snipped
I use pgadmin for runing large SELECT SQL, the out put is much more clear
then the one on console.
All the other thing like create, alter, procedure creation ... I do from
psql
When developing stored procedures, rules etc, you'd want more than that.
e.g: Autocompletion for table and field names, popup for parameters 
passed to another function called from the current one, etc...



Try IBAccess for example (with more than simply creating tables), and
then compare it to pgadmin3. I resort many times to the CLI for PG.
BTW, I'm not complaining, just stating the facts. I can't spare the time
to help them, so it's my fault as well (plus and I hate wxWidgets).
--
Meir Kriheli
http://mksoft.co.il
=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]


Re: Open database comparison

2004-07-07 Thread Meir Kriheli
Looks like the reply got lost in cyberspace, trying again:
Ben-Nes Michael wrote:
- Original Message - 
From: Meir Kriheli [EMAIL PROTECTED]
To: Daniel Feiglin [EMAIL PROTECTED]
Cc: IGLU [EMAIL PROTECTED]
Sent: Sunday, July 04, 2004 2:48 PM
Subject: Re: Open database comparison


5. Quality of tools for db management (FOSS/proprietary):
Firebird, MySQL


what is wrong with pgadmin ? its not quality ?
http://www.pgadmin.org/pgadmin3/index.php
No it isn't. I'm using it alot and it has many problems (usability - 
like blocking dialogs when there's not reason for such), not very good 
at developing stored procedures, rules etc.

It's table creation is problematic. Working with multiple objects at the 
same time, etc.

Try IBAccess for example (with more than simply creating tables), and 
then compare it to pgadmin3. I resort many times to the CLI for PG.

BTW, I'm not complaining, just stating the facts. I can't spare the time 
to help them, so it's my fault as well (plus and I hate wxWidgets).

--
Meir Kriheli
http://mksoft.co.il
=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]


Re: Open database comparison

2004-07-04 Thread Meir Kriheli
Daniel Feiglin wrote:
I'm involved in putting together a web server which needs a database 
backend. My own experience with these things is at the outdated nitty 
gritty b-tree level of the early 90's (e.g. Clipper, the CodeBase library).

The project is going to be SuSE Linux based.
Can someone point me to a *technical* (not relegious) comparison of 
available open databases (mySQL, Postgress, etc.) vis a vis what's best 
for what, performance etc. and other dumb questions from a mere 
geriatric programmer ... RTFM's just fine ...

Same question but much less urgent, for commercial offerings like DB2 
and Oracle.

Thanks
I've been working with mysql, postgresql and firebird. It depends on 
your needs. Roughly can be broken down to:

1. Cross platform (including win32) solution:
MySQL and Firebird. PosgreSQL native win32 port is not ready yet.
2. Embed business logic in the DB tier (stored procedures, triggers etc):
PostgreSQL and Firebird.
3. Multi languages for business logic:
PostgreSQL (PL/pgsql, PL/python, PL/perl etc..)
4. Multi schema support:
PostgreSQL
5. Quality of tools for db management (FOSS/proprietary):
Firebird, MySQL
6. Use ready made solutions (e.g: phpBB, *nuke etc):
MySQL (that's what most test against, Postgresql is an after thought, 
usually Firebird is not mentioned).

7. Packages
MySQL, PostgreSQL:
Most of the distros come package MySQL and PostgreSQL packaged, with 
various software compiled to support them (e.g: php with mysql and 
postgresql support).

8. Licensing
MySQL: Since 4.x changed their client libs licensing from LGPL to GPL. 
If distributing solutions please make sure you're complying with the 
license.

PostgreSQL: BSD
Firebird: Interbase public license:
http://firebird.sourceforge.net/index.php?op=docid=ipl
Cheers
--
Meir Kriheli
http://mksoft.co.il
=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]


Re: Open database comparison

2004-07-04 Thread Meir Kriheli
Shachar Shemesh wrote:
Ah, finally someone who have worked with Firebird!
Can you please elaborate on the Firebird vs. Postgresql front a little?
Meir Kriheli wrote:
3. Multi languages for business logic:
PostgreSQL (PL/pgsql, PL/python, PL/perl etc..)
What languages does firebird support?
It's own internal language. Compared to PostgreSQL's is very limited 
(PGSQL is quite impressive). You'll probably have to extend it.

Firebird's extensions can be written in plain C and compiled to a libray 
 (called UDF). There are several available (for *nix and windows, some 
including source), Like FreeUDF. For more UDFs see:

http://ibphoenix.com/main.nfs?a=ibphoenixpage=ibp_udf_libs

5. Quality of tools for db management (FOSS/proprietary):
Firebird, MySQL

Can you please elaborate? I take it that you are either unaware of 
pgAccess and pgAdmin, or find them severely lacking compared to their 
other DB counterparts. If the later, can you please say what you are 
missing there?
I know them and several others (e.g: phpPgAdmin, Tora). Thanks to the 
Interbase heritage and great Delphi integration, there are many tools, 
some are quite impressive (many are non FOSS). For example:

http://www.ibexpert.com/
http://gmarathon.sourceforge.net/ (OSS - MPL)
or schema comparers like (we use it for distributing changes in business 
logic during development):
http://clevercomponents.com/downloads/index.asp

You can gather some tools for PostgreSQL for some of the functionality, 
but from what I saw, can't match the above (specialy IBExpert, makes 
developing businesss logic a breeze).

For more tools:
http://ibphoenix.com/main.nfs?a=ibphoenixpage=ibp_admin_tools
Also, is there any fundemental feature currently missing from either, 
and distinctly available in the other? For example, I'm missing 
updateable cursors in Postgresql. Does firebird have them?
We're moving a complex project right now from FB to PGSQL (and changing 
backend to J2EE). The thing we miss the most in FB is multiple schema 
support.

We also had problems with gbak when exporting BLOBs (in 1.0.x at least, 
not verified in 1.5.0).

Otherwise FB is a great DB (I was the Gentoo maintainer of it's ebuild, 
retired a couple of weeks ago, lack of time):

- Small footprint
- flexible in layout (you can place db files anywhere you wish for example).
- Can be embedded in your application if needed
- Easy admin/maint
As for updateble cursors , sorry, no info.
Cheers
--
Meir Kriheli
http://mksoft.co.il
=
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: Thunderbird marking mails as read

2004-06-30 Thread Meir Kriheli
Shachar Shemesh wrote:
Offer Kaye wrote:
Shachar Shemesh wrote:
Hi all,
Just started to use thunderbird on Sid (it has enigmail plugin 
compiled out of the box). I'm having two problems, one of the serious

Which version is this? Is it the latest (0.7)?

0.6

The serious one is that it doesn't seem to mark emails I visit as 
read. This includes when I check Mark emails as read after 
displaying 1 seconds, in the options dialog. Does anyone know how 
to solve that?

I don't, sorry. Where exactly is this option stored?

Tools/Options.../Advanced/General Settings/Mark message read after 
displaying for n seconds.

If I can find it I can check what I have it set to. Have you tried to 
manually do Messages-Mark-As Read? (Messages is the 4th menu from 
the left).

That works, but helps me not at all. BTW, I'm using IMAP.
I've used 0.6, 0.7 and 0.7.1 with IMAP(S). Worked without a problem. 
Mark emails as read after displaying X seconds was no checked though.

Tested with 0.7.1 (for 1,5 and 10 seconds intervals) and works (sorry, 
don't have 0.6 to test with).

Cheers
--
Meir Kriheli
http://mksoft.co.il
=
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: secured uploads

2004-06-07 Thread Meir Kriheli
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ehud Karni wrote:
| On Fri, 4 Jun 2004 23:27:59 +, Diego Iastrubni
[EMAIL PROTECTED] wrote:
|
|I want some users to be able to upload files to some site.The
solution used
|right now, is getting the private ssh keys from the users, and
letting the
|users to use scp to copy files to the remote server.
|
|However, I discovered that I can use ssh [EMAIL PROTECTED] sh to get a
basic
|shell on the box, and delete files on that dir (or others).
|
|
| I had the same problem.
|
| As Ilya Konstantinov and Alex Behar wrote, If you need only to
| permit uploading, you can do it easily as they suggested. If you
| need some more options (such as secure downloading) see below.
|
| My solution was to jail the user by chroot by using 2 programs I
| wrote. With this option you can restrict what they can do.
|
There's a chroot patch for openssh:
http://chrootssh.sourceforge.net/index.php
- --
Meir Kriheli
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFAxQ0QRkS5DWK1mZkRAqjBAKC8grC5EcUJtB3rSkgA57MvjGyYgwCeP0VV
CBv1JoebeFhSNkrmI+4kB/g=
=Onca
-END PGP SIGNATURE-
=
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: RH9 vs. Fedora

2004-06-03 Thread Meir Kriheli
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 03 June 2004 18:35, Orna Agmon wrote:
 On Thu, 3 Jun 2004, Amir Spivak wrote:
  Hi all,
  a general quest. which OS is more robust/reliable? RH9 or Fedora core 1?
  I know that Fedore came later but it isn't a RH product.
  thx.

 RH9 is out of the game - there are no more updates for it from Red Hat. If
 you have a security bug, you will not have an official package to fix it.
 It is out of the question.

There's the Fedora legacy project for updates:
http://whatsup.org.il/modules.php?op=modloadname=Newsfile=articlesid=2803

Looks like they're supporting RH9 since EOL (April 30th). 

 You may wonder about the stability of Fedora Core I, but why
 don't you compare it to something which is a reasonably considerable
 option?

  Orna.

- -- 
Meir Kriheli
MKsoft systems
http://www.mksoft.co.il
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAv8CDRkS5DWK1mZkRAgqzAKCH8AG06K+EyrhxXZibw33bRzVVUgCgwftE
Y4vm6PhpPSLi+syVgmCAFe4=
=VhUS
-END PGP SIGNATURE-

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: Looking for compact MP3 enabled distributuon

2004-05-26 Thread Meir Kriheli
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 23 May 2004 09:19, Boris Ratner wrote:

snipped/

 Graphical interface is very desirable.

 Low amount of memory will be a problem for running X
 your machine will be swapping all the time.
 You can always use console based mp3 players.
 You should chek if there are any svgalib mp3 players available.

 kind regards,
 Boris Ratner.

Saw this today on Freshmeat, could be a nice solution:

Music Player Daemon (MPD) is a server that allows remote access for playing 
music (MP3, Ogg Vorbis, FLAC, AAC, and wave) and managing playlists. It makes 
a great desktop player with frontend options (Qt, GTK, ncurses, Windows, and 
Web clients are available). It is also appropriate as a console player that 
is scriptable, and is especially useful if X is restarted frequently. A set 
of rapid development tools for clients are being developed and include a C 
library, Python module, PHP class, Perl module, and Java Class. The goals are 
to be easy to install and use, to have minimal resource requirements, to be 
stable and flexible, and easy to interface.

http://www.musicpd.org/

- -- 
Meir Kriheli
MKsoft systems
http://www.mksoft.co.il
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAtVVuRkS5DWK1mZkRAvV5AJ0fPl+bz4RD+dzIuNcQve3HtYUdwQCguN7p
ZK51tQbEEE3sHYCAcMjcJkw=
=8SON
-END PGP SIGNATURE-

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: Yukky PyGTK Experience

2004-05-24 Thread Meir Kriheli
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 24 May 2004 09:37, Omer Zak wrote:
 I have had all kinds of minor difficulties and irritations when using
 GTK (by means of PyGTK) in a project.
 In other projects, where I used Tkinter, I didn't have such irritating
 experience.

 I am considering switching my PyGTK project from GTK to Tk, giving up
 the ability to use glade.

 My pygtk2 version is 1.99.12-7 (the RPM package being used is
 pygtk2-devel-1.99.12-7, in a RedHat 8.0 installation).

It looks very old (version suggests pre-stable release).

 Does anyone else have experience in using both Tk and GTK (in Python
 and/or other languages)?  If yes, what do you have to say about the
 relative merits of both packages?

I've used pytgk (2.2.0 installed) with glade as a proof of concept when 
researching various toolkits/languages for cross platform devel, worked quite 
well here.

What was yucky in your experience?

- -- 
Meir Kriheli
MKsoft systems
http://www.mksoft.co.il
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAsfpxRkS5DWK1mZkRApTAAKClflG3zgsilCKjZEU16AoOhLjaWACgubJ3
9sJEFloKQ6aQAgdHAWHDmNk=
=xYf6
-END PGP SIGNATURE-

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: avi (divx) cutter program?

2004-05-11 Thread Meir Kriheli
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 11 May 2004 09:03, Kfir Lavi wrote:
 I have an AVI file in DIVX, and i want to cut it into half.
 Is there a utility for that?
 Prefer console utility.
 Tnx
 Kfir
Hi,

avisplit (transcode  package). 

Another option is mencoder (from mplayer), which is sort of swiss army knife 
to video editing, but it's usage is more complex, make sure to read the man 
page.

Both are command line progs.

- -- 
Meir Kriheli
MKsoft systems
http://www.mksoft.co.il
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAoM7HRkS5DWK1mZkRAuBFAJwK6qKqPcPM5gAJL2ZVoZ+ja9DcbgCZAf4M
ViYoTuJY1kUiihG3ZUgVbLg=
=bFOq
-END PGP SIGNATURE-

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



Re: [OT] ISPs and fixed IP

2004-05-04 Thread Meir Kriheli
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 04 May 2004 05:10, Ira Abramov wrote:
 Quoting Yonah Russ, from the post of Mon, 03 May:
  they wanted me to pay 200- I complained and they lowered it to 150. I
  should have complained more.

 indeed you should have. when my current prepaid year is up I intend to
 make it VERY clear to them that I do not intend to pay more for the
 service that was so far built-in. afterall my machine is online 24/7,
 what difference does it make if it is a fixed IP or a long lease? either
 way I am always occupying an IP address, may as well be a fixed one.

Blah, I've already paid them :-(

- -- 
Meir Kriheli
MKsoft systems
http://www.mksoft.co.il
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAl2PvRkS5DWK1mZkRAhyiAKCticc4tsedzBE1c4V50g1XiINuMwCfVduL
ji60HkkjuzAisz80QaEdXs8=
=YKVW
-END PGP SIGNATURE-

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: redirect possible?

2004-05-03 Thread Meir Kriheli
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 02 May 2004 22:56, Ira Abramov wrote:
 Quoting Aaron, from the post of Mon, 03 May:
  I was wondering if I could install plone locally and make a redirect
  from my remote host to my home box.
 
  I have a dynamic ip but can I use it as long as I don't reboot?

 yes, you can also connect to a dynamic DNS service. I once installed one
 on IGLU. I don't know if it is still there.

 or you could move to Actcom, they give a fixed IP.

Little OT, but I just got renewal notice from Actcom, looks like they charging 
more for fixed IPs now (compared to dynamic ones).

 but running a server from an ADSL link is horribly slow (I know, I have
 been doing that for 3 years!)

- -- 
Meir Kriheli
MKsoft systems
http://www.mksoft.co.il
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAlijZRkS5DWK1mZkRAuP8AJ94bovvxNQSIbpuhtYjd3Pa6iv2qQCgtyKY
x0JrP6YTUD1svv4BETIUhaE=
=XrUg
-END PGP SIGNATURE-

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   >