Re: [Haifux] A new distribution

2003-03-19 Thread Nadav Har'El
On Wed, Mar 19, 2003, Oron Peled wrote about Re: [Haifux] A new distribution:
 (this is a private reply)

no it wasn't :)

(just goes to show to the anti-reply-to: crowd that reply-to: has nothing to
do with the possibility of such mistakes).

-- 
Nadav Har'El|   Thursday, Mar 20 2003, 16 Adar II 5763
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |Drink varnish and you'll get a lovely
http://nadav.harel.org.il   |finish.

--
Haifa Linux Club Mailing List (http://www.haifux.org)
To unsub send an empty message to [EMAIL PROTECTED]




Re: [Haifux] Re: Syscalltrack Site

2002-06-26 Thread Nadav Har'El

On Wed, Jun 26, 2002, Tzafrir Cohen wrote about Re: [Haifux] Re: Syscalltrack Site:
 Also, what happens if I add a link from my site to:
 
 
http://syscalltrack.sourceforge.net/index.php?main.htmlName=Breaking%20News%3a%20syscalltrack%20was%20written%20by%20Tzafrir

Works like a charm ;)

  2. I'd rather not have a black background. Can it be the other way around?
 
 A more practical consideration: what happens if someone tries to print
 this page? (and do you care?)

CSS allows you to specify a different color for printing than the default
for screen. See - CSS is not moot.

For example, the CSS file for my homepage contains:

BODY {
color: #55;
...
}
...
@media print {
BODY { color: black;  }
...
}

So that the default color for everything in the BODY (i.e., everything)
is gray, but when printing (@media is print) the color black is used
instead.


  3. Please switch the HTML to X/HTML + CSS.
 
 And break older browsers?

Forget about X/HTML, just use HTML 4 and CSS. The only browser that can
break is broswers like Netscape 4, which pretends to support CSS but does
so incorrectly. But *nobody* should be using Netscape 4, or some old versions
of IE, right?

 As for CSS: the main reason for using it is king of mute. See your next
 point ;-)

Note that CSS has nothing to do with dynamic pages, animation or other
bells-and-whistles. It is just a mechanism to separate the formatting from
the content, which as a side-benefit allows people who don't want to see
your design (because they're unable, like blind people, or because they
don't want to, like Lynx or cellphone users) to see only the content.
It is noot moot (and certainly not mute ;) )

By the way, the current HTML code in that page isn't half bad - it mostly
avoids formatting tricks, so it already should look good to Lynxers or
blind people as it is - it doesn't need CSS for that.

-- 
Nadav Har'El|   Wednesday, Jun 26 2002, 16 Tammuz 5762
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |A conscience does not prevent sin. It
http://nadav.harel.org.il   |only prevents you from enjoying it.

--
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]





Re: [Haifux] The Scannerless Generalized LR Parser

2002-06-22 Thread Nadav Har'El

On Sat, Jun 22, 2002, Shlomi Fish wrote about [Haifux] The Scannerless Generalized LR 
Parser:
 It describes a tool that combines the functionality of Lex and Yacc with
 some improvements. I did not try it yet, but it might be worth to take a
 look.

Note that in some respects, Lex is highly overrated. It is quite easy to
write a lexical analyzer for most languages you can think of, in straight
C code that is still readable and quite easily extendable. All you need to
do is is to write the yylex() function yourself.

So in that sense, Yacc (with C, for example) already combines the
functionality of Lex and Yacc :)


-- 
Nadav Har'El|Saturday, Jun 22 2002, 12 Tammuz 5762
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |Always go to other people's funerals,
http://nadav.harel.org.il   |otherwise they won't come to yours.

--
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]





Re: [Haifux] Version 0.6.1 (only spell checking changes)

2002-06-16 Thread Nadav Har'El

On Sun, Jun 16, 2002, Orr Dunkelman wrote about [Haifux] Version 0.6.1 (only spell 
checking changes):
 http://vipe.technion.ac.il/~orrd/lecture.ps

A few small comments:

slide 2: You say Open Source is a concept suggested by Richard Stallman
back in the 1980's. I think both Stallman and his competitors would
be annoyed by such a statement: Stallman would tell you he invented free
software, not open source (!), and his competitors would tell you that
well before the 1980's a lot of software came with source (heck, the only
way to get Unix was probably as a source distribution), but this source
was not free (like Hannuka candles, you could look at it but not make use
of it, i.e., you couldn't change and redistribute it).

Slide 3: You say Nowadays, most of the big hardware vendors release also
Linux drivers. That's nice, but is it really true? I never (not even once)
found a Linux driver on the diskette/cdrom accompanying a hardware product.
Most of the drivers I got of the net (for my HP printer, laptop's modem,
sound card, etc.) were written by private individuals by reverse engineering
or by using some unsupported code released once by the hardware company (in
the case of the lucent modem on my laptop).

Slide 13: Should the meaning of the phrase decriptor table be obvious
to the listeners, or are you planning to explain it verbally (I see it
is explained on slide 16)?

Slide 18: Fully functional system??? It's only a kernel, and you hardly
do anything with just a kernel. It's possible to stuff a ram-drive (initrd)
together with the kernel image, though, and that would contain some of the
necessary stuff (shell, libraries, small utilities, etc.) for the system-
from-diskette to actually be usable. I did it once, and it actually works.

BTW, didn't the lecturer object to your having English slides? I assume you're
going to speak in Hebrew...

Anyway, good luck :)

-- 
Nadav Har'El|   Sunday, Jun 16 2002, 6 Tammuz 5762
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |I don't eat snails. I prefer fast food.
http://nadav.harel.org.il   |

--
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]





Re: [Haifux] Some real message (for a change)

2002-06-12 Thread Nadav Har'El

On Wed, Jun 12, 2002, Orr Dunkelman wrote about Re: [Haifux] Some real message (for a 
change):
 I was not embrassed by that. My ego was not too much affected by seeing
 these corrections. English is not my native tounge, and I do not claim I'm
 Miriam Webster.

Ok, since you're not embarrassed (sic) by being corrected, here's another
one: There's no such person as Miriam Webster. There was Noah Webster,
and the Merriam company was a separate printing company that renamed to
Merriam-Webster in 1982. See http://www.m-w.com/about/noah.htm.

Of course, this has nothing to do with Linux ;)

-- 
Nadav Har'El|Wednesday, Jun 12 2002, 3 Tammuz 5762
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |Snowflakes are very fragile, but look
http://nadav.harel.org.il   |what they can do when they stick together!

--
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]





Re: [Haifux] handing out CDs at MS events

2002-06-11 Thread Nadav Har'El

On Mon, Jun 10, 2002, Muli Ben-Yehuda wrote about [Haifux] handing out CDs at MS 
events:
 Occasionally, MS throws an event at the computer science
 faculty. Whenever such an event occurs, I am filled with temptation to
 expose people to a better way of living, and give them free of charge
 linux cds. 
 
 This time, I'm preparing in advance. There's an MS event at the 19th
 of June, computer science faculty. It's introduction to .NET, or
 some such. 

If anyone is actually interested in knowing what this Microsoft event
is about (and the exact time, etc.), check out
http://nadav.harel.org.il/pub/a.pdf


-- 
Nadav Har'El|  Tuesday, Jun 11 2002, 1 Tammuz 5762
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |Sign seen in restaurant: We Reserve The
http://nadav.harel.org.il   |Right To Serve Refuse To Anyone!

--
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]





Re: [Haifux] hip hip hurray

2002-06-11 Thread Nadav Har'El

On Tue, Jun 11, 2002, Orr Dunkelman wrote about [Haifux] hip hip hurray:
 I would like to ask everyone to look at google.
 Search for Linux Lectures
 
 See whose in the 3rd place...

Even more strange, 2nd place is also Israeli - some HUJI page that says
nothing but coming soon.

By the way, to feel even more proud, look for Linux Lecture (singular) -
the Haifa Linux Club is 1st place :)

-- 
Nadav Har'El|  Tuesday, Jun 11 2002, 1 Tammuz 5762
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |The road to good intentions is paved with
http://nadav.harel.org.il   |hell.

--
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]





Re: [Haifux] Re: Sys-Call-Track Developers Meeting

2002-06-09 Thread Nadav Har'El

On Sun, Jun 09, 2002, Muli Ben-Yehuda wrote about Re: [Haifux] Re: Sys-Call-Track 
Developers Meeting:
  the question is - what exactly are we going to do in that meeting? 'a
  syscalltrack hack fest' is too vague. i dont' realy see what content we
  could pour into this title.
 
 Stop being so negative, choo. 
 I can give a short lecture, compromised of:
 1. What is syscalltrack
 2. How to use it
 3. How to write code for it
 4. What's next on the agenda (syscalltrack, past present and future)

Maybe I'm hallucinating (I knew I shouldn't have ordered that mushroom pizza!)
but didn't we have exactly such a thing a few months ago? I even remember
the lecture being in English because someone had requested that... I think I
even remember some balloons flying around the room (or was that an unrelated
incident?).

 shlomif has talked about giving a lex  yacc demonstration in perl. 

And this is related to syscalltrack because...

 I'm sure you could give a short talk on struct type casting
 implementation, or the sct_rules library implementation, or any other
 subject you feel like talking about. 

Will that mean anything to someone who's not a syscalltrack hacker (i.e.,
not one of you two guys)?

 People could suggest features, experiment with syscalltrack (I hereby
 volunteer my poor laptop for said demonstration) and just in general
 have fun. 

Fun is always good :)



-- 
Nadav Har'El|Sunday, Jun 9 2002, 30 Sivan 5762
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |Make it idiot proof and someone will make
http://nadav.harel.org.il   |a better idiot.

--
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]





Re: [Haifux] dual boot

2002-05-26 Thread Nadav Har'El

On Mon, May 27, 2002, Ez-Aton wrote about Re: [Haifux] dual boot:
 It's been a pleasure.
 None, whatsoever, will help those who do not wish to help themselves.
 
 Have you checked what I wrote (aka, man grub) you could have gotten all
 the answers you looked for.
 
 Ez.

Are you sure? did you try that yourself? It appears that while Lilo indeed
had an uninstall option, grub doesn't! I don't see anything about that in
the manuals or info files of grub (or grub-install) , nor anything about 
grub keeping thins in /boot/boot. like lilo did.


-- 
Nadav Har'El|   Monday, May 27 2002, 16 Sivan 5762
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |I considered atheism but there weren't
http://nadav.harel.org.il   |enough holidays.

--
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]





Re: [Haifux] Re: RE: [Haifux] dual boot

2002-05-26 Thread Nadav Har'El

On Mon, May 27, 2002, sagi a wrote about [Haifux] Re: RE: [Haifux] dual boot:
 10q Shalom ,
 
 in fact i just desire to see how you (the linux 
 club) 
 answer to a new linux users .

I think it was quite obvious that that was all you desired...

It is tests like those that make people unwilling to spend too much
time on answering unknown newbies (are they really newbies? maybe they're
lazy people who can't bother themselves to look for the answer themselves,
or worse, some jerk trying to test us?). Don't spit in the well you drink
from...

-- 
Nadav Har'El|   Monday, May 27 2002, 16 Sivan 5762
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |Cigarette: tobacco wrapped in paper, fire
http://nadav.harel.org.il   |at one end, and a fool at the other.

--
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]





[Haifux] Re: Funny man pages [was Re: user-level threads: Signal Handler (fwd)]

2002-04-16 Thread Nadav Har'El

On Tue, Apr 16, 2002, Shlomi Fish wrote about Funny man pages [was Re: user-level 
threads: Signal Handler (fwd)]:
 
 From the Linux getopt(3) manpage: BUGS:
 This manpage is confusing.

I just noticed that the getopt(3) manpage on Redhat 7.2 no longer has that
line. I double-checked, and in Redhat 6.2 this line did exist. The strange
thing is that on both systems the manual is dated 8 May 1998, so apparently
someone went and deleted only that self-incriminating line :)

 Another favourite of mine is the strtok(3) man page:
 
 BUGS: Never use these functions.

Some systems (I remember in Solaris, but also in NetBSD - maybe this came
from 4.2BSD) had the following in the BUGS section of tunefs(8):

You can tune a file system, but you can't tune a fish.

(if you don't understand the pun, try reading it out loud with an American
accent).


-- 
Nadav Har'El|   Tuesday, Apr 16 2002, 4 Iyyar 5762
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |Recursive, adj.: See Recursive
http://nadav.harel.org.il   |

--
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]





Re: [Haifux] Lectures Re-run

2002-04-14 Thread Nadav Har'El

On Sat, Apr 13, 2002, Orr Dunkelman wrote about [Haifux] Lectures Re-run:
 Each of you who is interested in a Re-Runed lectures please send me an
 email with:
...

Where is the list of lectures? Most people would not want to hear a rerun
of something they've heard, and not know about lectures they haven't ;)


-- 
Nadav Har'El|Sunday, Apr 14 2002, 2 Iyyar 5762
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |Guarantee: this email is 100% free of
http://nadav.harel.org.il   |magnetic monopoles, or your money back!

--
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]





Re: [Haifux] Random idea about W2L: Purely Evangelistic Demos

2002-04-11 Thread Nadav Har'El

On Thu, Apr 11, 2002, Adir Abraham wrote about Re: [Haifux] Random idea about W2L: 
Purely Evangelistic Demos:
  4. Doing things with Bash (real scripts). (I can show that, but it seems
  like Nadav is the natural selection). I'm choosing Bask and not zsh
  because bash is the de-facto shell. And tcsh is pretty much useless on the
  command line.
 
 I wonder how that will help to the *newbies*... ?

There are two schools of thought about the Unix (and Linux) user interface.
One believes that the command-line interface (and shells, xterm, editing rc
files, environment variables, and everything that go with that) is an old-
fashioned, inferior, difficult, non-friendly user-interface which should go
away as soon as graphical applications are written to replace each one of them.

The second school (to which I belong) thinks that a command-line interface
has explicit advantages to anyone who wants to use the computer as a serious
tool - it allows to *easily* automate repetative tasks, combine actions
of seperate programs in intuitive ways (once you learn that intuition ;)),
allows a What-you-see-determines-what-you'll-get instead of the Windows
What-you-get-depends-on-10,000-things-you-don't-see.

People of the second school do not believe that using a shell is an
advanced thing, but rather an idea, a way of thought, that should be
taught to newbies right from the very start. Before the era of GNOME
and KDE, all Unix/Linux books started by teaching basic shell. If newbies
could handle it then, they can also handle it now.

Let's face it - most of the applications you want to show to newbies (e.g.,
KDE, koffice, gimp, etc.) are cheap Windows knockoffs. Since most Israelis
don't care about Windows' price (they pirate it anyway), the only way to
convince them (and I'm talking about people interested in computers, not
secrataries who need to type letters) to try Linux is to show them some
interesting things it can do and Windows normally doesn't. I'm saying
Windows *normally* doesn't, because as Orna already mentioned it's not hard
to get LaTeX, zsh, and most other Linux applications to run on Windows too.

-- 
Nadav Har'El| Thursday, Apr 11 2002, 29 Nisan 5762
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |The two rules for success are: 1. Never
http://nadav.harel.org.il   |tell them everything you know.

--
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]





Re: [Haifux] Re: Re: syscalltrack developers meeting

2002-04-10 Thread Nadav Har'El

On Wed, Apr 10, 2002, Kohn Emil Dan wrote about Re: [Haifux] Re: Re: syscalltrack 
developers meeting:
 Just for curiosity, does anyone anyone know a machine without gcc on it?
 OK, besides Sinclair Spectrum and C64 ;-)

Amusingly, I did have a C compiler on my C64, in 1985 :) You couldn't do
much with about 40K of ram, but it was a fully capable compiler, linker,
and C library. It was a commercial compiler, not free software.

I doubt the gcc project and the Commodore 64 ever walked the earth at
the same time. It's like those idiotic prehistoric cartoons showing a
cavemen with a dinosaur - these two creatures never saw one another.

-- 
Nadav Har'El|Wednesday, Apr 10 2002, 29 Nisan 5762
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |I am logged in, therefore I am.
http://nadav.harel.org.il   |

--
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]





Re: [Haifux] LaTeX: defining custom \begin{mystyle} ... \end{mystyle} directives

2002-03-12 Thread Nadav Har'El

On Tue, Mar 12, 2002, Shlomi Fish wrote about [Haifux] LaTeX: defining custom 
\begin{mystyle} ... \end{mystyle} directives:
 
 Suppose I defined a logical style called \mystyle. Something like this:
 
 \newcommand{\mystyle}[1]{{\tt #1}}
 
 How can I make a \begin{mystyle} and \end{mystyle} directives to wrap it
 similar to \begin{tt} and \end{tt}?
 
 I don't really need this, but I'm curious to know how it can be done.

RTFB...

\newenvironment{mystyle}{...begin...}{...end...}

(at least, this was in LaTeX 2.09. I doubt this changed in LaTeX 2e)

-- 
Nadav Har'El|   Tuesday, Mar 12 2002, 28 Adar 5762
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |A language is a dialect with an army.
http://nadav.harel.org.il   |

--
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]





Re: [Haifux] DMCA lyrics

2002-02-19 Thread Nadav Har'El

On Tue, Feb 19, 2002, Orr Dunkelman wrote about [Haifux] DMCA lyrics:
 As I've promised attached are the lyrics of the DMCA song (use the YMCA
 music to sing the lyrics). Please practice as in Alon's lecture we'll have
 a small sing-about (Alon, if you can somehow find a karyoke file which you
 can alter the words to these one, I'd be grateful).

Another song you might want to play as background music during the break is:

http://www.joeysmith.com/~jwecker/_descramble_.mp3

(see the lyrics in
http://www-2.cs.cmu.edu/~dst/DeCSS/Gallery/css_descramble_keith_dawson.txt
it's the DeCSS algorithm, in English :) )

-- 
Nadav Har'El|Tuesday, Feb 19 2002, 7 Adar 5762
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |I used to be a lumberjack, but I just
http://nadav.harel.org.il   |couldn't hack it, so they gave me the axe.

--
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]





Re: [Haifux] Re: Call For Lectures

2002-02-12 Thread Nadav Har'El

On Tue, Feb 12, 2002, Shlomi Fish wrote about [Haifux] Re: Call For Lectures:
 On Mon, 11 Feb 2002, Orna Agmon wrote:
 
  i have never really programmed using PVM, but it seems like an interesting
  thing for me to learn. could it be an interesting subject for a lecture?
  Orna.
 
 
 Isn't PVM a model for parallel-processing and synchronization that can be
 used on Beowulf clusters? From what I understood, forking or POSIX threads
 should achieve the same effect. Please tell us more about it.

PVM (Parallel Virtual Machine) is in essance a message-passing library,
a way for processes running on different computers (part of a cluster of
identical or different machines, not just a Linux cluster) to communicate
easily. It is used to write parallelized programs to be run on such clusters.

The Virtual Machine metaphor allows you to spawn children which will
be run on remote hosts (compare this to fork() which only runs on the local
host) and communicate easily with your children (or other processes running
on the same virtual machine). Nodes (machines) can be added or removed
from the virtual machine at any time, even when a program is running on it.

PVM's main competitor is MPI, the Message Passing Interface. MPI puts
less emphasis on heterogeneous clusters and on a flexible virtual machine
(MPI 2 should start to support these things), and more emphasis on very
efficient support of homogeneous clusters and MPPs, including supporting
dozens (even hundreds) of specific communication patters which might have
special hardware optimization on certain MPPs.

PVM has nothing to do with POSIX threads. It is a programming paradigm for
clusters or MPPs (Massivly Parallel Processors), where each processor has
seperate memory and message-passing is needed, and not on SMPs (Symmetrical
Multi-Processor, where processors share memory) where POSIX threads is
often used.

-- 
Nadav Har'El| Tuesday, Feb 12 2002, 30 Shevat 5762
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |Time is the best teacher. Unfortunately
http://nadav.harel.org.il   |it kills all its students.

--
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]





Re: [Haifux] Re: Call For Lectures

2002-02-12 Thread Nadav Har'El

On Tue, Feb 12, 2002, Orna Agmon wrote about Re: [Haifux] Re: Call For Lectures:
  i agree. so, who knows pvm enough to talk about it? there's an open slot
  at 18/03 ;)
...
 i can try it at work, but i will need help from people with access to
 computers on the inernet, in order to demonstrate. i guess i could have it
 run on the same machine (still i will need one machine on the net with pvm
 , preferably xpvm), but it will not be much of a thing.

While an actual PVM demo is cool (I once filled an entire 21 display with
a calculation of a mandelbrot set in about 3 seconds, probably using a million
shekels of equiment ;) ), it will be a real pain-in-the-*** to set up PVM
in the Technion (you need to install PVM on several computers, have a login
on all of them, copy the executable to all of them, open up the firewalls
that may be operating on them, etc.).

I think it would be easiest if you stick to explaining PVM (and showing
code, etc.) rather than showing PVM actually in action for some big super-
dooper calculation. Or just run it on 1-2 machines - PVM has no problems
running several processes on the same machine and letting them communicate
with one another :)

-- 
Nadav Har'El| Tuesday, Feb 12 2002, 30 Shevat 5762
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |If Windows is the answer, you didn't
http://nadav.harel.org.il   |understand the question.

--
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]





Re: [Haifux] Fw: [Haifux] [yaffa@ee.technion.ac.il: Computer Engineering Seminar]

2002-01-28 Thread Nadav Har'El

On Mon, Jan 28, 2002, Benny G. wrote about [Haifux] Fw: [Haifux] 
[[EMAIL PROTECTED]: Computer Engineering Seminar]:
 Do you suppose we can have a re-run of that MOSIX lecture on Haifux club
 time, so working people could also attend?

You're kidding, right?

This is not a haifux lecture, it's an EE colloquium, which I just pointed
out here because it might interest Linux people. It's given by a HUJI
professor (Amnon Barak) to other professors and students, so naturally
it is given during working hours...

I doubt Prof. Barak would be very keen of driving to Haifa (from Jerusalem!)
one evening to give a re-run of this lecture, but you can always ask him...

-- 
Nadav Har'El|  Monday, Jan 28 2002, 15 Shevat 5762
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |If you tell the truth, you don't have to
http://nadav.harel.org.il   |remember anything.

--
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]





[Haifux] [yaffa@ee.technion.ac.il: Computer Engineering Seminar]

2002-01-27 Thread Nadav Har'El

This might be of interest to the people on this list who also happen to
frequent the Technion.

- Forwarded message from yaffa [EMAIL PROTECTED] -

Date: Sun, 27 Jan 2002 15:04:22 +0200
From: yaffa [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED]
Subject: [Haifux] Computer Engineering Seminar

  Computer Engineering Seminar

You are invited to attend a lecture by
Professor Amnon Barak
Institute of Computer Science
The Hebrew University of Jerusalem
http://www.mosix.cs.huji.ac.il

On:

 The MOSIX Resource Sharing Algorithms
 for Efficient Cluster Computing

MOSIX is a software tool for supporting cluster computing with Linux.
The core of MOSIX are kernel-level, adaptive load-balancing and memory
ushering algorithms that are geared for maximal performance,
overhead-free scalability and ease-of-use. These algorithms are designed
to respond on-line to variations in the resource usage among the nodes
by migrating processes from one node to another, preemptively and
trans-parently, to balance the load and to prevent memory depletion at
any node.  The MOSIX software allows a cluster of PCs (workstations  and
servers) to work cooperatively as if part of a single system.

MOSIX uses competitive algorithms for on-line distribution and
redis-tribution of the workload and the resources in order to improve
the overall performance of a computing-cluster of any size.  MOSIX
conve-niently supports a multi-user time-sharing environment for the
execu-tion of both sequential and parallel tasks.

The talk gives an overview of MOSIX for Linux and its resource sharing
algorithms.



 The lecture will take place
On Thursday, 30.1.2002 at 12:30-14:30
 in Room 353
Electrical Eng. Building
Technion City



- End forwarded message -

-- 
Nadav Har'El|  Sunday, Jan 27 2002, 14 Shevat 5762
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |Cats aren't clean, they're just covered
http://nadav.harel.org.il   |with cat spit.

--
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]





[Haifux] Re: [yaffa@ee.technion.ac.il: Computer Engineering Seminar]

2002-01-27 Thread Nadav Har'El

On Sun, Jan 27, 2002, Shlomi Fish wrote about Re: [[EMAIL PROTECTED]: Computer 
Engineering Seminar]:
 On Sun, 27 Jan 2002, Nadav Har'El wrote:
 
   The lecture will take place
  On Thursday, 30.1.2002 at 12:30-14:30
   in Room 353
  Electrical Eng. Building
  Technion City
 
 
 Are you sure these details are correct?

Not at all - I just forwarded the announcement that was sent to the EE
colloquium mailing list.

 30.1.2002 is Wednesday, not Thursday. And Room 353 of the EE building is
 a very small room.

The date or day is probably an error - I'll try to find out tomorrow and
let you guys know which is the correct room.
About the small room: this is just one of the regular, small, EE colloquiums
that takes place once in a while. I guess they're not expecting a hoard of
Linux fans to storm the place ;) Normally mostly Technion professors,
a few graduate students, and a couple of people from the industry, come to
these things (at least in the few that I went to).

-- 
Nadav Har'El|  Sunday, Jan 27 2002, 15 Shevat 5762
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |This box was intentionally left blank.
http://nadav.harel.org.il   |

--
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]





Re: [Haifux] shells completion

2002-01-24 Thread Nadav Har'El

On Thu, Jan 24, 2002, Tzafrir Cohen wrote about [Haifux] shells completion:
 Hi
 
 One of the missing features of bash has always been the programable
 completion. Tcsh features the 'complete' commands that allows you to
...
 Any comments?
 
 Any suggestions from the zsh zealots? Any perlsh partizans here?

Zsh has long (read, about 8 years, at least) had the most sophisticated
completion system of any of the shells. It was quite easy to get it to
complete only *.ps files for gv, only process numbers for kill (except
after a minus, where signal names are completed), and much much more
complicated stuff. In fact, this was probably the biggest reason that
got me to switch to zsh in the first place.

In Zsh 4 (Redhat 7.2, for example, comes with zsh 4.0.2), the entire
completion system was reworked, to be even more sophisticated (it is
now programmed based on shell functions). But the even more exciting
news is that it comes by default with the most complete completion
you can imagine, for any unix/linux utility you could imagine (300 of
them!). It completes filenames, special parameters, username, process
numbers, and everything you else you could imagine wanting to complete.

A few examples:

$ gvTAB
file1.ps files2.ps.gz
$ gv -TAB
-ad -font   -nopixmap   -scalebase
-antialias  -foreground -noquiet-seascape
...
$ gv -foTAB
-font -foreground
$ kill -UTAB
-URG-USR1   -USR2
$ kill 18TAB
 1871 pts/500:00:00 zsh
 1888 pts/500:00:00 zsh
 1889 pts/500:00:00 ps 
$ chown nTAB
named   nfsnobody   nscdnyh 
newsnobody  ntp 

and so on.

To get all this wonderful magic, all you got to do in a good installation
of zsh 4 is:

autoload -U compinit
compinit

(It's probably in the zsh manual. I don't know why it's not the default.
Maybe one of the Linux distributions will make it default by sticking it
in one of the /etc/*profile files in the future...).



-- 
Nadav Har'El|Thursday, Jan 24 2002, 12 Shevat 5762
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |A Life? Cool! Where can I download one of
http://nadav.harel.org.il   |those from?

--
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]





Re: [Haifux] OT: Jokes about the haifux

2001-11-22 Thread Nadav Har'El

On Thu, Nov 22, 2001, Orr Dunkelman wrote about [Haifux] OT: Jokes about the haifux:
 Good times have arrived us all ... there are jokes involving the haifux.

:)

 note that you might need a IE to look at this page...

No way! Works like a charm in Mozilla (I use 0.9.6) and Konqueror.

-- 
Nadav Har'El| Thursday, Nov 22 2001, 7 Kislev 5762
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |Cats know what we feel. They don't care,
http://nadav.harel.org.il   |but they know.

--
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]





Re: [Haifux] Linux books - 25% off (fwd)

2001-11-13 Thread Nadav Har'El

I have a silly question ;)

Just what are Linux Books? I can imagine a book which explains how to
install and administer Linux, but what about books about shell scripting?
Perl? X? C programming? TCP/IP? Administering Apache? Are any of these
considered Linux Books for the purpose of this sale?

To offset their losses, I think that on Linux day they should also *increase*
the prices of Windows books by 25% :)

By the way, last time I went to Michlol I was quite surprised to see a very
good selection of computer books (original books, in English) in very decent
prices. Most stores I see only carry Hebrew translations of Windows-for-
dummies type book, at twice the price it will cost you to order it from
Amazon (including shipping and 17% maam). If I remember correctly, the prices
in Michalol were very near the Amazon+Shipping+Maam prices (but maybe this
has changed since).

On Tue, Nov 13, 2001, mulix wrote about [Haifux] Linux books - 25% off (fwd):
 now THIS is neat. anyone knows the michlol management for next year?
 
 gimme cheap linux books,
 -- Forwarded message --
 On the Linux Day (20/11) Dyonon (the campus book store) will sell all
 Linux books (Hebrew and English) with 25% off (Hod-Ami's books will be
 30% off).

-- 
Nadav Har'El|Tuesday, Nov 13 2001, 27 Heshvan 5762
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |If Barbie is so popular, why do you have
http://nadav.harel.org.il   |to buy her friends?

--
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]





Re: [Haifux] Re: My experiences with Mandrake 8.1

2001-10-31 Thread Nadav Har'El

On Wed, Oct 31, 2001, Shlomi Fish wrote about [Haifux] Re: My experiences with 
Mandrake 8.1:
  another (smallish) point in favor of RH7.1: it's the distro that's
  installed in the cs faculty's computer farm - familiar to the students.

Be careful with that argument - it may backfire when someone remembers
that there's a certain proprietary operating system that the students
are also familiar with :)

Anyway, I use Redhat 7.2, and it appears very nice and stable - at least
for a desktop/development kind of uses I use it for. It isn't a major leap
ahead of Redhat 7.1, but I believe it is worth the upgrade.

 In any case, does RH 7.2 supports creating and installing on ReiserFS
 partitions?

Redhat 7.2 can make reiserfs filesystems (using mkfs or mkreiserfs), mount
them, and so on, but there is no convenient way (as far as I know) to install
Redhat 7.2 on a new disk while making the newly created partions ReiserFS.
If you want ReiserFS for its journaling capabilites, you might consider ext3
(which is prebuilt into Redhat 7.2 and also to the latest Alan Cox kernels) -
Redhat's installation lets you create new partions formatted as ext3, and even
change existing ext2 to ext3 while upgrading (this, by the way, is a trivial
operation because ext3 is a relatively simple extension to ext2).

If you plan to use Reiserfs on Redhat 7.1, however, watch out: their kernel
has a bug which makes umount of reiserfs partions hang in an uninterruptable
state - which is extremely annoying. Redhat 7.2 does not have that problem.

On my home computer (Redhat 7.2) I have a couple of ext2 partions and one
reiserfs partition, and they all seem to be working well.

-- 
Nadav Har'El|  Wednesday, Oct 31 2001, 14 Heshvan 5762
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |Tact is the art of making a point without
http://nadav.harel.org.il   |making an enemy.

--
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]





Re: [Haifux] Re: My experiences with Mandrake 8.1

2001-10-31 Thread Nadav Har'El

On Wed, Oct 31, 2001, Nadav Har'El wrote about Re: [Haifux] Re: My experiences with 
Mandrake 8.1:
 On my home computer (Redhat 7.2) I have a couple of ext2 partions and one
 reiserfs partition, and they all seem to be working well.

Oops, I meant I have a couple of *ext3* partitions and one reiserfs
partition, of course.

-- 
Nadav Har'El|  Wednesday, Oct 31 2001, 14 Heshvan 5762
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |Everybody lies, but it doesn't matter
http://nadav.harel.org.il   |since nobody listens.

--
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]





Re: [Haifux] Re: My New Signature re-factored.

2001-10-26 Thread Nadav Har'El

On Fri, Oct 26, 2001, Shlomi Fish wrote about [Haifux] Re: My New Signature 
re-factored.:
 On Fri, 26 Oct 2001, Kohn Emil Dan wrote:
 
  Hi all,
  
  Here is my contribution to the noise on this mailing list:
  
  As a person with far more narrower horizons than many people on this list,
  here is how I understood Shlomi's signature:
 
 
 One righteous man in Sadome ... Excellent!

Ok. So I see now you decided to take not as C's ! operator. Indeed
in C, not not B (!!B) is B only for B=0 or B=1, and is different otherwise.
So this is just another example of my (long, boring) posting about how the
answer to your quesion depends on what class of objects this A and B
come from, and how not and is are defined.

One of the features of a good joke is that it doesn't hide the punchline
in a pile of complexity, and doesn't take an hour to understand or explain.
Your joke has so many possible meanings, and so ambigous, that it is
almost impossible to figure out why you thought it was interesting (let alone
funny). Some of us don't have C's notion of not etched into our brain as
the obvious choice for a not (I've been programming in C for 17 years,
and still I consider its not an implementation detail, not some sort of
deep meaningful definition).

So why not rephrase your question as something like
How come in C, !!a is not always the same as a?

Still not very funny, but much easier to understand. Arguably it is as funny
(or not funny) as my in fortran, god is real unless declared an integer
signature - meaningful only to people who know the language, but other people
immediately understand why they don't get it, and don't try thinking for
an hour why it should have been funny.


-- 
Nadav Har'El|  Friday, Oct 26 2001, 9 Heshvan 5762
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |Life's a bitch, but god forbid the bitch
http://nadav.harel.org.il   |divorce me -- Nas

--
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]





Re: [Haifux] regarding the 1st lecture

2001-10-15 Thread Nadav Har'El

On Mon, Oct 15, 2001, Orna Agmon wrote about Re: [Haifux] regarding the 1st lecture:
 form a cluster, and why i prefer linux to windows for that:
 i dont have to install linux with the window manager, i can minimize the
 size of the OS, and use the disk  space and the memory for the
 program itself.
 i can install and upgrade many computers easily, not having to work on
 each of them manually.
 
 i can controll these computers easily from another computer using
 xterminals.
 
 Nadav, if there is anything you would like to add...

Yeah, that's about it, but let me expand on it:

For most of these things, Windows devotees can come up with counter-examples:
you can get software on Windows that does remote-administration, remote
terminals, and so on.
However, these things on a Windows system will cost you in at least three
ways:
  1. More manual work for installation and/or upgrades, to do it for several
 packages.
  2. More hard-disk and memory waste (translates to money because you need
 to buy more memory, for example).
  3. Much more expensive.

So the bottom line is that the Linux solution will be cheaper - even if you
include the supposed cost of system administration.

But as you said, When you consider the strong points and foci (yes, that's
the plural of focus ;) pronounced fos-eye ;)) of both Windows and Linux, it
becomes obvious which one suits cluster computers (e.g., 10-100 PCs for
things like server farms, compile farms, computation farms, etc) better,
even if you don't consider the cost:

  1. Window's strong side (and the reason why everyone buys it) is graphical,
 interactive applications. However stuff like MS-Word, DivX players,
 drivers for cheap winmodems or state-of-the-art games are completely
 irrelevant to computer clusters.
  2. Linux's strong side is running non-interactive programs that you
 compiled, perhaps by remote control. This is exactly what you need
 for a cluster.
  3. Linux comes with a compilers, debuggers, and everything needed to create
 your own programs (as opposed to buying ready-made programs). In Windows,
 you'll need to buy more software.
  4. Linux makes it just as easy (if you can call it easy) to administer
 systems remotely and locally. In Windows local administration is
 supposedly easy (just move your mouse around!) but would anyone care to
 repeat it a 100 times?
  5. Linux is more stable and rarely ever requires deliberate reboots. This
 is extremely important in a cluster: if every computer crashes every 100
 days, on a 100-computer cluster this would mean one crash every day!
  6. Linux is more modular: you easily install only the parts of the Kernel,
 O/S and utilities you need. In Windows this is much harder, if at all
 possible (try to install Windows without any graphics support at all...)
  7. Parallelization libraries (pvm, mpi) and setups (mosix, beowulf, etc.)
 have been designed and polished on Unix and Linux - but are less polished
 on Windows.

P.S. everything I said about Linux is also true for other kinds of Unix
clones, like *BSD.

-- 
Nadav Har'El|  Monday, Oct 15 2001, 28 Tishri 5762
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |Time is the best teacher. Unfortunately
http://nadav.harel.org.il   |it kills all its students.

--
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]





Re: [Haifux] RFC: Linux Day website

2001-10-07 Thread Nadav Har'El

On Sun, Oct 07, 2001, Tzafrir Cohen wrote about Re: [Haifux] RFC: Linux Day website:
 6. In the hardware requirements there is a phrasing Sound Blaster
 compatible sound card. Sound-blaster compatibility is not something that
 will help us, right?

This is a very good point. Virtually *all* cards specify that they are
sound blaster compatible, but that is pure rubbish. The Linux sound blaster
drivers do not work on them. I know, because I tried.

 7. Graphics accelerator with 2MB at least? why? Are there any problems
 with older adapters? What are the chances of us running into an adavpter
 thhat won't work with SVGA?

And who cares if it doesn't? If someone comes in with a Hercules card, just
install the black-and-white server...

 8. Regarding cables and ADSL users: what should they bring? Will we have a
 network to test DHCP and alike?Any ida how to easily work if pptp is
 configured properly without the modem itself?

It's easy to install a canned script which someone tested in his own home,
but you'll never know it it really works in the other person's home unless
you test it there...

-- 
Nadav Har'El|  Sunday, Oct  7 2001, 20 Tishri 5762
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |Did you sleep well? No, I made a
http://nadav.harel.org.il   |couple of mistakes.

--
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]





Re: [Haifux] More up-to-date Basic Use Overview

2001-09-30 Thread Nadav Har'El

On Sun, Sep 30, 2001, guy keren wrote about Re: [Haifux] More up-to-date Basic Use 
Overview:
 not only logical, but also existing in VMS systems (VMS's first release
 was in 1978). the same goes for using the drive's name in front of a ile
 path (like VMS does - did it do that back then?). they didn't add file
 version support - probably due to limited disk space ;)
 
 and back at those days, VMS was much more widely used and accepted then
 unix, or so it seems.

Strange... I never used VMS myself so I might be wrong, but I always thought
directories on VMS looked like things in brackets [...], with dots seperating
the path components. Did they also have backward slashes?

I'm also not sure about your suggestion that VMS more widely used (say, in
1980) than Unix. VMS existed only on DEC (now called Digital, Compaq, HP, or
whatever they call it these days ;)) machines, e.g., VAXs (did it also exist
on the PDP 11?) while Unix was available on a greater selection of machine
types, and quite popular in universities, especially in the US. VMS was only
one of the multitude of timesharing O/Ss available at the time - each
mainframe maker wrote their own O/S. Some of the older people on this list
might actually remember examples (in 1978 I was 3 years old, and didn't
care much for operating systems ;)).

-- 
Nadav Har'El|  Sunday, Sep 30 2001, 13 Tishri 5762
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |Cats know what we feel. They don't care,
http://nadav.harel.org.il   |but they know.

--
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]





Re: [Haifux] More up-to-date Basic Use Overview

2001-09-29 Thread Nadav Har'El

On Fri, Sep 28, 2001, Shlomi Fish wrote about [Haifux] More up-to-date Basic Use 
Overview:
 - Note: UNIX uses /'s as path separators instead of \'s.

The phrase instead of should perhaps be replaced by , not or
whereas DOS uses to be less Microsoft-centric and more historically
accurate ;)

If I'm not mistaken, UNIX predated both CPM and MS/DOS which were aware of
UNIX's choice and deliberately chose differently. So it is Microsoft's
choice that is backward...

It's also interesting to note that while Windows took over the world, two
other things from the Unix tradition, namely the C (or C++) language and URLs
are also universally accepted and they use the forward slash (in C, if you
use a backward slash in file names, you'll need to double it in string
constants), so Microsoft Windows seems to be the only program left using
backward slashes...


-- 
Nadav Har'El|  Sunday, Sep 30 2001, 13 Tishri 5762
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |New! Divorcee Barbie! Comes with all the
http://nadav.harel.org.il   |usual accessories, plus all of Ken's stuff

--
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]





Re: [Haifux] RFC: Summary of the Basic Use Lecture

2001-09-21 Thread Nadav Har'El

On Fri, Sep 21, 2001, Adir Abraham wrote about Re: [Haifux] RFC: Summary of the Basic 
Use Lecture:
  - Making backups of all the files:
  for I in *.c ; do cp $I $I.bak ; done
  (this diverts into shell scripting, but we should do it to
  demonstrate the power of the UNIX shell)
 Creating backup is not a subject for beginners (basic use) in my opinion.
 Moreover, you might get them scared if you start talking about backups :)

The first time I accidentally erased over half of my files was roughly
6 months after I started using Unix. At that time I was a complete computer
novice, and never even thought of making backups for myself. Only A year
later, in 1985, the timesharing computer that I had used (a VAX running ATT
8th edition research UNIX) got a central backup on a 3 gigabyte WORM
(write once read many) optical disk, but that was too late for me...

Of course, after that incident I never forgot to backup again. Ever.. Using
various approaches, but none as simplistic as your cp $I $i.bak example.
The easiest type of backup is using RCS (or whatever similar program) on
most files, which eliminates the common oops, I just ruined the code I've
been working on for a week!. But you also need to make backups on other media
and/or computers, because disk failures, cracking, and other types of crimes
and natural desaster do happen, unfortunately.

So it's good to recommend backing up, but it's not exactly a Linux specific
issue. Of course the fact that there is no garbage can or undelete in
Linux makes deletion very dangerous in Linux. The specific command that lost
me half my files back in 1984 was something like

rm xy *

note the extra space character :( I meant to remove all files starting with
xy, but it removed everything. Luckily (?) the computer was very slow back
then, and when I interrupted it it only managed to delete files beginning
with a through l...

P.S. In zsh, and perhaps in other shells, it is possible to press a TAB
after the * character, and the glob patter is replaced immediately by
the completion list, so you can check that you got the correct list BEFORE
you press enter. Nowedays I never ever press enter on any command that
contains a * before I let zsh complete it for me. As they say, he who
got burned with hot water is now careful about cold water...

-- 
Nadav Har'El| Saturday, Sep 22 2001, 5 Tishri 5762
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |The world is coming to an end ... SAVE
http://nadav.harel.org.il   |YOUR BUFFERS!!!

--
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]





Re: [Haifux] RFC: Summary of the Basic Use Lecture

2001-09-21 Thread Nadav Har'El

On Fri, Sep 21, 2001, Orna Agmon wrote about Re: [Haifux] RFC: Summary of the Basic 
Use Lecture:
 it can be very confusing when you want your executabe to work, but you
 gave it a name which is aliased. or is somewhere before the current dir in
 the path.

Oh, and the most infamous example is people calling their program test,
and then running it and spending *hours* trying to figure out how come it
doesn't generate any output ;) I've seen this happen with two different
users.

-- 
Nadav Har'El| Saturday, Sep 22 2001, 5 Tishri 5762
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |Communism is the equal distribution of
http://nadav.harel.org.il   |poverty.

--
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]





[Haifux] Re: using unix page: early draft

2001-09-17 Thread Nadav Har'El

On Mon, Sep 17, 2001, mulix wrote about Re: using unix page: early draft:
 On Mon, 17 Sep 2001, Shlomi Fish wrote:
 if csh is to c as english is to french, bash to c is as english to
 arabic. nothing alike, syntax-wise. csh at least LOOKS familiar, which
 sure seems like a lot to a frightened freshman.

This is completely silly. When I was a freshmen, I studied infi and algebra
(for example) in the same semester. Two completely different things. Who
says you can't learn two different things?? If C and shell were the same
thing, there would have been no reason to learn them both anyway!

Do you know what? I learnt sh (bourne shell) and C when I was 10, reading a
book in English when I barely knew English, and knew nothing about computers.
If I managed to do it, so can the students in the Technion at the age of 20.
Give them a little credit - they are not total idiots :)
As someone already mentioned, learning two different syntaxes is actually
a good preperation for a world filled with dozens of languages with different
syntaxes.

 i think the technion should not be teaching c as a first language, but
 rather c++ or even java.

This is a seperate debate, and I personally don't agree: I think C++ is a
much more complex language than C, and it's much harder to write *good*
programs with it (i.e., a program which an expert can look at it and say:
yeah, that's a good way to code what you wanted to do!). I've seen too many
examples of people writing bad code in C++, which is even harder to fix or
understand than bad code in C.

If C++ is used as some sort of C + overloading tricks + a small class
instead of a small struct, I'd rather them teaching C first.

 in contrast, i dont mind the technion teaching csh. it's a useful tool.

No it isn't. It's as a useful tool as a worn-out screwdriver: when you go
out to the outside world, once in a while you'll need to use a screwdriver
that has been worn-out, and you'll need to settle with it. But it's no reason
to learn only about worn-out screwdrivers. Usually you have the choice, and you
need to know how a good screwdriver looks like, where to get one, and how to
use it, and not go into a hardware store saying I get confused with all
those brand-new screwdrivers - we didn't have those when I was studying. Do
you have some crappy worn-out one?.

 csh is useful. there are a lot of csh scripts out there (who knows how
 many of them were written by technion graduates? ;))

I've never seen a csh script written by someone who actually knew what he
or she was doing. Sorry... It's useful to read csh (and I do), but never to
write it.

  specifically asked for a C-shell script, two students over-blown their
  script just so they can handle directory names with whitespace. Needless
  to say, in the bourne shell this is a non-issue which can be easily
  solved.
 
 there's always a better tool. so what's your point?

betterness of tools is not a linear ordering. You can't say
csh  bash  perl  C++  lisp

Because usually when you take a pair of tools (e.g., bash and perl) each one
is better in different things. Perl is not a convenient replacement to sh
when it comes to writing short scripts with mostly pipelines of existing
utilities, while bash is not a convenient replacement to perl when it comes
to complicated text and number handling.

However, in this case clearly csh  bash, in every case (can you show an
example where csh is better than bash?), which is why you can teach csh
as some archaic language (like Latin is taught), but it should not be taught
as the tool of choice.
Tools which are always inferior to others should go the way of the dodo. This
is why no-one uses 'ed' anymore for interactive editing, and nobody lights
their house with candles, to use just two silly examples. csh is just as silly,
in my opinion.


-- 
Nadav Har'El|Monday, Sep 17 2001, 29 Elul 5761
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |Never be afraid to tell the world who
http://nadav.harel.org.il   |you are. -- Anonymous

--
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]





Re: [Haifux] Re: using unix page: early draft

2001-09-17 Thread Nadav Har'El

On Mon, Sep 17, 2001, Alon Altman wrote about Re: [Haifux] Re: using unix page: early 
draft:
 On Mon, 17 Sep 2001, Nadav Har'El wrote:
  You can teach csh
  as some archaic language (like Latin is taught), but it should not be taught
  as the tool of choice.
 
   So, the ingenious solution would be to teach Intercal, Befunge, and
 Brainf**k, so the students can see interesting new languages, right?

No. I thought I was clear: I just said that sh (or bash, or whatever)
should be taught instead of csh. One instead of one. A better one instead
of a crappy one. A useful one (probably 99% of shell scripts in a typical
unix system are written in /bin/sh, not csh) instead of a useless one.
I didn't say anything about learning more crazy (and 100% useless) languages,
and I didn't say anything which is overly ideal like mulix suggested.

If you TAs only know how to copy the notes of the people before you,
and the professors can't be bothered to learn a new (new? /bin/sh has
existed for about 25 years!!) language, and everyone continues to teach
something which they know is suboptimal - then I just have to say that
this is a sad state of affairs for the Technion. Remember - if you agree
that something is suboptimal - even if only slightly - then it is the
teacher's duty to teach the optimal thing. The 10 hours of work for making
new exercises by the teacher is nothing compared to all the crap the hundreds
of students taking this course will eat later by using csh.
I'll shut up on this issue now, until perhaps one day I'll come back to the
Technion as a PhD candidate and try to change this from the inside ;)

-- 
Nadav Har'El|  Tuesday, Sep 18 2001, 1 Tishri 5762
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |From the Linux getopt(3) manpage: BUGS:
http://nadav.harel.org.il   |This manpage is confusing.

--
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]





Re: [Haifux] Re: OT: Where to buy home network

2001-09-16 Thread Nadav Har'El

On Sun, Sep 16, 2001, Yaacov Fenster - System Engineering Troubleshooting and other 
miracles wrote about [Haifux] Re: OT: Where to buy home network:
 Try Bynet Systems Application, 24 Raul Valenberg in Tel Aviv.
 +972-3-645-5333. I bought from them all of the cables, connectors, etc
 for our renovated apartment. I also had them install the stuff. (5-6
 hours of work as it turned out).
 
   Yaacov

Bynet also have a branch in Haifa (I should know - they work on the same
floor as me). This is also where I get all my cabling from ;)

-- 
Nadav Har'El|Sunday, Sep 16 2001, 28 Elul 5761
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |Unix is user friendly - it's just picky
http://nadav.harel.org.il   |about it's friends.

--
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]





Re: [Haifux] hifux site's design

2001-09-15 Thread Nadav Har'El

On Sat, Sep 15, 2001, Shlomi Loubaton wrote about Re: [Haifux] hifux site's design:
 I think we should write this site is best viewed using lynx and add a W3C
 XHTML1.00 or HTML 4.01 Validation Service icon : http://validator.w3.org/

If you want to have site that look great and designed on graphical browsers
(such as Mozilla) and also great on a textual browser (such as lynx), I urge
you to look into CSS.

CSS, Cascading Style Sheets, is a standard (look at w3c's site for a complete
document on it) for defining how HTML elements should look like, e.g., you
can say that all H1 headings should be 1-inch tall and red, that all
paragraphs should be 500 pixels wide and indented, that lists should use
some gif image instead of the usual bullet, and much much more. This way,
the site looks exactly like you want it to look in all modern graphical
browsers (both Mozilla and IE have almost complete support for CSS 1, and
some of CSS 2; Netscape 4 supports CSS 1 but is somewhat buggy), but textual
browsers (such as lynx), and more importantly - browsers for the vision
impaired (blind, dyslexic, etc.) will know exactly what the author meant,
since the author uses H1, LIST, etc., rather than amorphous tables and
graphics.

You can see an example use of CSS in my homepage, nadav.harel.org.il.
and in particular my pets' homepage, at
http://nadav.harel.org.il/homepage/doggie.html
Not a pinnacle of design, but a good example on how to create a site
that is not bad-looking (I'd like to think) on a graphical browser, and still
looks great with lynx. It's very hard to create a page that looks
this good in both Mozilla and lynx without using CSS - try it and you'll see
why.

-- 
Nadav Har'El|  Saturday, Sep 15 2001, 28 Elul 5761
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |Enjoy the new millennium; it might be
http://nadav.harel.org.il   |your last.

--
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]





Re: [Haifux] hifux site's design

2001-09-15 Thread Nadav Har'El

On Sat, Sep 15, 2001, Ilya Konstantinov wrote about Re: [Haifux] hifux site's design:
  CSS, Cascading Style Sheets, is a standard (look at w3c's site for a complete
 using positionable boxes. The trouble with all this is while it'll look
 great on Mozilla / Netscape 6, Internet Explorer and Konqueror, it'll
 be totally broken on Netscape 4. I usually urge people to forget
 Netscape 4 as if it was a bad dream, but some Linux users with slower
 machines might complain.

Well, Netscape 4 is supposed to support CSS 1. Unfortunately, it has so
many bugs that almost no page with CSS will look the way the author intended
on Netscape 4. There are three ways to solve this problem:

 1. Ignore Netscape 4. This is what I do - Mozilla is available (as far as
I know) on any machine for which Netscape 4 was available, and it's free.
This is a good solution for my homepage, but a politically-incorrect
solution for an important page, at least while people still use Netscape 4.

 2. Try to use only CSS styles that work on both Netscape 4 and the standard-
compliant browsers (such as Mozilla and IE). This is not easy, and I
don't recommend it.

 3. CSS stylesheets normally come from a seperate file. You can make this
file a CGI script (or whatever) which sends one of several stylesheets:
a Netscape one if the user is using Netscape, and a different one for
any other browser (including Mozilla). Many sites using CSS use this
approach.

 (BTW, Nadav, the FONT tag and the ALIGN attribute are deprecated :)

Well, I guess you're right, in HTML 4. They removed many of the attributes
which they now recommend to set using styles and stylesheets. But no browser
in existance accepts *only* HTML 4 (these attributes were perfectly legal
in HTML 3.*), and old habbits are hard to break...

-- 
Nadav Har'El|  Saturday, Sep 15 2001, 28 Elul 5761
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |A mathematician is a device for turning
http://nadav.harel.org.il   |coffee into theorems -- P. Erdos

--
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]





Re: passing variable number of arguments to a function

2001-08-03 Thread Nadav Har'El

On Sat, Aug 04, 2001, guy keren wrote about Re: passing variable number of arguments 
to a function:
  Does anyone know how to pass a variable number of arguments to a function ?
 
 man va_start, man va_end, man va_arg
 
 i'm not completely sure how portable this is - but i think it should be
 part of some standard by now (not sure which, though).

As far as I remember, these are part of ANSI C.
You'll have to include stdarg.h, not varargs.h - if I remember correctly
the latter is part of some old KR C implementation of the same idea. But
look at your favorite ANSI C book for more info about stdarg.


-- 
Nadav Har'El|Saturday, Aug  4 2001, 15 Av 5761
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |A mathematician is a device for turning
http://nadav.harel.org.il   |coffee into theorems -- P. Erdos



Re: Suggestion for a lecture: GNU/X Emacs

2001-07-17 Thread Nadav Har'El

On Tue, Jul 17, 2001, mulix wrote about Re: Suggestion for a lecture: GNU/X Emacs:
 On Tue, 17 Jul 2001, Shlomi Fish wrote:
 however, i have a suggestion: how about an emacs - vi shootout? we could
 have an emacs person and a vi person, each will explain why they use
 that particular editor, and why their editor is the best, and then proceed to

What if I think that both vi and XEmacs are the best?
Is there room for a double-agent in such a panel? :)

 btw, we can make it an n way shootout, if anyone uses another editor and
 would like to discuss it. (pico users need not apply)

What about Sam (plan 9's editor, I think)? ed? ;)

Next shootout: which shell is better!

-- 
Nadav Har'El| Tuesday, Jul 17 2001, 26 Tammuz 5761
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |Sign on a back of truck: Overtakers
http://nadav.harel.org.il   |beware, or you might meet the Undertaker



Re: Do it with the GIMP lecture summary

2001-07-12 Thread Nadav Har'El

On Thu, Jul 12, 2001, Shlomi Fish wrote about Do it with the GIMP lecture summary:
 Electronic world and because of that bad malade of drug banning, perfectly
 good trees are used to manufacture the paper. 

Are you suggesting that hemp would make a better paper, and a renewable
source at that, but the only reason it is not used because of the drug
banning? But if it's possible to genetically-engineer C. Sativa without THC,
what does drug banning have to do with it, if these cannabis plants don't
contain any drugs? And aren't there other plants that can be used to make
paper - perhaps stuff like jute or corn or whatever?

My guess is that it's simply easier to cut down a read-made rainforest, than
to have to grow your own cellulose source...

 A more experienced programmer does not make less bugs. He just realizes
 what went wrong more quickly.

Look at the following signature too :)

-- 
Nadav Har'El|Thursday, Jul 12 2001, 21 Tammuz 5761
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |Experience is what causes a person to
http://nadav.harel.org.il   |make new mistakes instead of old ones.



Re: I earn money You gave it for free

2001-06-29 Thread Nadav Har'El

On Sat, Jun 30, 2001, kirson wrote about I earn money  You gave it for free:
 I am writing this mail from my JET plain , i am on my way to redhat , in the
 USA ,
 And i want to thank you guys because without you i would  have never make it
 !
 
 I would like to thank Eli,
 for all the Q he answered , Eli is someone to learn from he is NICE, POLITE
 , AMAZING
 i love you ELI ,
 
 And as for all of you
 thanks thanks thanks , i am very happy i had the chance to meet amazing
 people like you ,

:)

Eli, you must feel very proud ;)

 but know this
 Life is not always fare , i am sorry for making so much money ,  but
 remmember without you it would never be posible !
 dont worry i will share it with you

I don't think I ever read a stranger message... If I had to guess I would
say a 13-year-old kid wrote it, but that doesn't quite fit with the I'm
on a jet to Redhat part... actually, he said my jet plane - so either
it's another one of his examples of bad English, or he wants us to believe
he owns a plane...

Your condescension (hitnas'ut) is not very appreciated... Some of us
are already making so much money, maybe even more than you, and some
of us will do that after finishing their studies. Some of us don't care
about having so much money, and just want to make enough money to live
comfortably.

I'm sure that Redhat, or whomever you're going to the states to work for
are not stupid. When they see a person with barely understandable English
who doesn't know anything on his own except how to ask other people, they'll
dump you and hire the people who actually know stuff instead.

 Erez Kirson
 I earn money , you gave it for free .

This makes me sick...
I don't mind people making money, but shouting out statements like this,
making fun of people who help you, is really disgusting.

Eli, I take back everything I wrote in the thread we had a while ago about
this guy...


-- 
Nadav Har'El| Saturday, Jun 30 2001, 9 Tammuz 5761
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |Energizer Bunny arrested - charged with
http://nadav.harel.org.il   |battery.



Re: You give for free, he earns money

2001-06-20 Thread Nadav Har'El

On Wed, Jun 20, 2001, Eli Billauer wrote about You give for free, he earns money:
 Guys,
 
 We have all been bothered, publically and personally, by a nagging guy,
 sending us all kind of strange questions. Since he doesn't use google, I did,
 and it appears as he's a consultant. Do you get it? He's asking us for info,
 and then takes money to supply it someone else.
 
 Why search for info when someone else can do it for him?

I'm not sure the fact he makes money from those answers is very relevant. I
also make money from programming on Linux, and I'd like to think that if I'll
have a question, even if its relevant to my work, it will be welcome on this
and other mailing lists.

The real issue is whether this is a habbit, i.e., if this guy post his
questions 2 times every week, and never contributes anything back to the
community (buy answer other people's questions, or whatever). If this is the
case, then he should indeed be ignored as a nagging guy.

-- 
Nadav Har'El|Wednesday, Jun 20 2001, 29 Sivan 5761
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |Windows detected you moved your mouse.
http://nadav.harel.org.il   |Reboot for this change to take effect.



Re: RFC: ADSL lecture

2001-05-21 Thread Nadav Har'El

On Mon, May 21, 2001, Shlomi Fish wrote about Re: RFC: ADSL lecture:
 On Sun, 20 May 2001, mulix wrote:
  i was wondering (after raxy suggested suggested it), if you might be
  interested in a lecture about various ADSL subjects. possible topics
  could include:
  
  1. ADSL setup on linux (consists of me reading the HOWTO out loud :))
 
 I'm not very interested in it, mainly because I have already set up ADSL
 at my home using your HOWTO. It was pretty much straightforward. My
 biggest problem had been finding a driver for my Ethernet card.

Well, I am... I don't have ADSL and will not have one in the forseable future
(a modem connection costs me about 1/10 the price, and I don't mind the
slowness - I'm not using Microsoft's .net architecture :)). Nevertheless,
it might be interesting to hear how ADSL, PPPoE/PPtP, and all the related
stuff work. I'm sure I can read all of it from HOWTOs (I already know some
of the material), but as usual I probably won't do it until I need to use
ADSL myself.

  2. ADSL fundamentals (how xDSL technologies work, and ADSL in
  particular, and the PPTP protocol)
 
 Perhaps interesting, but then again, not particularily related to Linux. I
 personally do not find too much interest in it. AFAI can see ADSL works
 and works well, whether on my Linux or on Win98 and that's all I need to
 know.

Perhaps it is not specific to Linux, but so isn't Corba, TCP/IP, Lambda
calculus, and other lectures we've heard... I think the question should be
is it of interest to inquisitive Linux users - not whether it might also
interest MS-Windows users.

  3. ADSL connection fundamentals (how the connection is made, RAS, NAS,
  why we all hate bezeq, etc)
 
 I'm not too interested in such things.

I am.

-- 
Nadav Har'El|   Monday, May 21 2001, 28 Iyyar 5761
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |We are Microsoft. You will be
http://nadav.harel.org.il   |assimilated. Resistance is futile.



Re: YAPLU (Yet another perl lecture update)

2001-02-28 Thread Nadav Har'El

On Wed, Feb 28, 2001, Shlomi Fish wrote about "YAPLU (Yet another perl lecture 
update)":
..
 Unforutnately the program named DeCSS (not to be confused with the DVD
 thing), only strips out CSS styles, but not applies them. Maybe I should
 write an EnCSS program that does.

Wow, somebody is actually using that DeCSS :) As far as I understood, the
guy who wrote it did it as a joke - he wanted to write a program called
"DeCSS" and see idiotic lawyers hound him for no reason at all but his
program's name (the original "DeCSS" program decodes the DVD "encryption"
scheme, which is what every DVD playing hardware or software needs to do).

BTW, besides saving some bandwidth, what good are those stylesheets anyway?
Why not just write "normal" HTML pages, perhaps even generated by a program
if you want to save yourself typing and formatting?

-- 
Nadav Har'El|  Wednesday, Feb 28 2001, 5 Adar 5761
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |I couldn't think of an insteresting
http://nadav.harel.org.il   |signature to put here... Maybe next time.



Re: Lecture about the Haskell Programming Language

2001-02-08 Thread Nadav Har'El

On Wed, Feb 07, 2001, Shlomi Fish wrote about "Lecture about the Haskell Programming 
Language":
 Hi!
 
 I am posting this lecture here, to see if enough people would like a
 lecture about the Haskell Programming Language. This lecture would be as
 part of the Haifux standard lectures, not as part of the Perl series or
 anything.

I'd be very interested in hearing such a talk. Haskell is one of the
languages I've been promising myself to learn, but never went ahead and
did it.

 As a side note I should mention that Guy Keren said that if I am to give a
 lecture about Haskell, he is going to give a lecture about programming
 using vi macros. I hope they are vim macros, becuase I use gvim. ;-)

Why not write a Haskell interpreter using vi macros? :)
I once saw a Forth interpreter written in Logo, and an assembler written in
Basic, so a Haskell interpreter in vi is a step in the right direction ;)

By the way, Vim added tons of features to its macro language, to the point
that it now looks almost like a "real" language, with functions, variables,
and everything. That doesn't count! Purists write in pure vi :)
I once saw a towers-of-hanoi animating macro in pure vi, but I don't remember
where I found it. Perhaps in the original vi package from Joy, I don't
remember... Guy - do you have it or something rediculous like that? :)

-- 
Nadav Har'El| Thursday, Feb 8 2001, 15 Shevat 5761
[EMAIL PROTECTED] |-
Phone: +972-53-245868, ICQ 13349191 |I had a lovely evening. Unfortunately,
http://nadav.harel.org.il   |this wasn't it. - Groucho Marx