Re: [Haifux] kmail "sender-images"

2015-10-26 Thread Oron Peled
On Monday 26 October 2015 21:00:53 Diego Iastrubni wrote:
> And no, he is not on my KAddressBook (just checked). This debian laptop is 
> not 
> ..."conntected" too google services. So I still wonder.
>
> You are also not on my contact list, which is another issue, and you can beat 
> me with a stick to death out of the mailing list. 
> 

OK, besides kaddressbook, I found another "sender-image" source:
  * Gravatar (Settings -> Configure kmail -> Appearance -> Message Window -> 
Enable Gravatar Support)

Maybe there are other sources?

-- 
Oron Peled Voice: +972-4-8228492
o...@actcom.co.il  http://users.actcom.co.il/~oron

"First they ignore you, 
then they laugh at you, 
then they fight you, 
then you win." -- Gandhi

___
Haifux mailing list
Haifux@haifux.org
http://haifux.org/mailman/listinfo/haifux


Re: [Haifux] Fwd: compiler/tools/architecture conference

2015-10-19 Thread Oron Peled
[Muly, sorry for hijacking your thread, but it's becoming interesting...]

On Monday 19 October 2015 10:39:00 Baruch Siach wrote:
> On Mon, Oct 19, 2015 at 10:21:43AM +0300, Oron Peled wrote:
> > /On Sunday 18 October 2015 23:31:56 Diego Iastrubni wrote:/
> > /> Muli,/
> > /> /
> > /> How did you set up your image in color...?/
> 
> Speaking of email clients I must say that the quoting style in the plain-text 
> version of your email is quite strange. A '/' character appears at the start 
> and end of each quoted line. Should I interpret this as italic style?

Sending HTML mail to this list was an accident, but you found something 
interesting.

Here are the details:
 * Sometime I communicate with corporate users and in the beginning I used
   the same text/plain format as always.

 * However, unlike modern mail clients, their mail clients display quoted
   and unquoted text exactly the same (yes, Outlook. I'm looking at you).

 * The result is that it's very hard for them to read a mix of
   quoted/unquoted text. Which explains why top-posting is so common
   among users of that legacy mail client :-(

 * As a workaround, I started sending them HTML mail and apply a different
   visual style to the quoted text before mixing my reply text.
   The style I used was: green text (as in kmail), small font and ITALICS.
   This way they get a reasonable rendering of the intermixed text.

 * As Baruch just observed, in the text/plain version, kmail convert the italics
   to: /text-text-text/

Conclusions:
 * Re-check non-HTML mail before sending (IIRC, kmail used to have non-HTML/HTML
   settings per-corespondent or per-folder -- but maybe I'm wrong).

 * When replying to corporate users, don't mark the quoted text with italics,
   only with color+size, so the visual rendering of text/plain would be more
   consistent with text/html.

Thanks for the heads-up,

-- 
Oron Peled Voice: +972-4-8228492
o...@actcom.co.il  http://users.actcom.co.il/~oron
"If it's not source, it's not software." -- www.gnu.org

___
Haifux mailing list
Haifux@haifux.org
http://haifux.org/mailman/listinfo/haifux


Re: [Haifux] Fwd: compiler/tools/architecture conference

2015-10-19 Thread Oron Peled
/On Sunday 18 October 2015 23:31:56 Diego Iastrubni wrote:/
/> Muli,/
/> /
/> How did you set up your image in color...?/

Diego, if you refer to the "sender-picture", than Kmail simply match the sender 
with your addressbook.
That's why you see one picture, I may see another and Muli doesn't know what 
you are talking about ;-)

/> I think this is the corresponding code, but I don't think I know how to 
configure this in KMail :)/
/> X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;/

Nope, that's related to DKIM signature used to help some spam-filters.

-- 
Oron Peled Voice: +972-4-8228492
o...@actcom.co.il  http://users.actcom.co.il/~oron

"If I have been able to see farther,
it was only because I stood on the shoulders of giants."
-- Sir Isaac Newton

___
Haifux mailing list
Haifux@haifux.org
http://haifux.org/mailman/listinfo/haifux


Re: [Haifux] [JOB OFFER] VB Developer needed in Univ. of Haifa

2013-07-08 Thread Oron Peled
On Monday 08 July 2013 15:42:43 Orr Dunkelman wrote:
> The department of political science at university of Haifa is looking for a
> VB developer (yes, not really FOSS-related, but it's in Haifa) for an
> interesting project.

VB as in "Virtually-Broken" -- no?

[couldn't resist]

-- 
Oron Peled Voice: +972-4-8228492
o...@actcom.co.il  http://users.actcom.co.il/~oron
"write your own operating system.  It has worked every time for me"
   -- Linus Thorvalds

___
Haifux mailing list
Haifux@haifux.org
http://haifux.org/mailman/listinfo/haifux


[Haifux] שתי הצעות עבודה: מפתח לינוקס ואיש תמיכה לינוקס

2013-05-20 Thread Oron Peled
שלום,

אלו הצעות עבודה מטעם מישהו שאינו רשום לרשימת התפוצה.
אנא, השיבו לכתובת j...@yaad.org.il ולא אלי.

---גזור-ושמור--גזור-ושמור

חברה בגליל מחפשת אנשי לינוקס ואנדרואיד עם הרבה אנרגיה:
מישרה 1: מפתח ישומים -- לינוקס, אנדרואיד, טכנולוגיות WEB.  
מישרה 2: תומך טכני למערכות מבוססות לינוקס בתחום התקשורת.

השתתפות מוכחת בפרוייקטי קוד פתוח ותכנה חופשית -- יתרון.

מקום העבודה: משגב \ כרמיאל

לפרטים:  j...@yaad.org.il


-- 
Oron Peled Voice: +972-4-8228492
o...@actcom.co.il  http://users.actcom.co.il/~oron
...there are two types of command interfaces in the world of
 computing: good interfaces and user interfaces.
- Dan Bernstein, Author of qmail

___
Haifux mailing list
Haifux@haifux.org
http://haifux.org/mailman/listinfo/haifux


Re: [Haifux] New mail icon for Thunderbird over Gnome

2012-05-13 Thread Oron Peled
On Sunday, 13 בMay 2012 19:22:20 Eli Billauer wrote:
> Hello all,
> I've finally started working with Thunderbird under Linux (FC12, with 
Thunderbird 3.0.7). The old settings were migrated perfectly,

If your "new" one is 3.0.7, I am afraid to ask what was the old ;-)

$ rpm -q thunderbird
thunderbird-11.0.1-1.fc15.i686

As you can see I use a pretty old Fedora (F15, plan to upgrade directly
to F17, before F15 is EOL). Still, using a network-facing application
which did not get any security updates for several years, is...
(ok, let's call it brave, not to be offensive...)

> and all is working fine. Well, there's a thing I miss.
> In Windows, there used to be an icon when new mail has arrived. This icon 
doesn't show up on Linux.

Obviously in Linux its a separate application (which is hopefully slimmer,
since it runs all the time).

IIRC, Gnome used to have a nice applet called "mail-notification":
  http://www.nongnu.org/mailnotify
This supported multiple accounts/mailboxes/protocols, etc.

I believe you can find it pre-packaged even for your pre-historic Fedora.

Cheers,

-- 
Oron Peled Voice: +972-4-8228492
o...@actcom.co.il  http://users.actcom.co.il/~oron
"Man cannot discover new oceans unless he has the courage to lose sight of
the shore..."
___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux


Re: [Haifux] Telling the kernel business is closed (my weekly riddle)

2011-06-27 Thread Oron Peled
On Monday, 27 בJune 2011 11:31:48 Eli Billauer wrote:
> Shachar Shemesh wrote:
> 
> > Nobody expects ENODEV on an already opened device. I'd go for EIO, 
> > myself.
> And so shall I. Thanks.
> ...
> And the truth is that I don't care about recovering from such an error. 

Another strategy is to throw SIGPIPE at the relevant processes:
 * Con: it is usually expected upon write(2) not read(2) et-al.

 * Pros:
   - At least for write(2) the semantics is natural -- no more writes
 on this file descriptor.

   - Kills the offending process by default.

   - Process may catch it in a signal handler (easy to write some
 global cleanup + exit code)

Cheers,

-- 
Oron Peled Voice: +972-4-8228492
o...@actcom.co.il  http://users.actcom.co.il/~oron
Lottery: A tax on people who are bad at math.
___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux


Re: [Haifux] [HAIFUX LECTURE - CANCELLED] Today's lecture is cancelled

2011-05-30 Thread Oron Peled
On Monday, 30 בMay 2011 17:37:18 Orr Dunkelman wrote:
> Due to mechanical problems with his car, Tomer will not be able to
> give his talk today, and thus, the Haifux lecture is cancelled.

WHAT? Now a boycot on Haifux? Next he'll want to fix his car
at the Shenkar College! Do you think Hamakor should raise
a car-maintenance fund to prevent this academic boycot?

:-)

-- 
Oron Peled Voice: +972-4-8228492
o...@actcom.co.il  http://users.actcom.co.il/~oron
"A billion flies _can_ be wrong - I'd rather eat lamb chops than shit."
-- Linus Torvalds on lkml
___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux


Re: [Haifux] MCTIP computer technician course

2011-02-20 Thread Oron Peled
On Sunday, 20 בFebruary 2011 09:47:49 amichay p. k. wrote:
> I prefer to choose this course, at least now, because it will give me a
> useful profession, and I finish it before the beginning of my military
> service.
> 
> In addition, after the military service I can work as a computer
> technician, and
> to finance my studies in CS

Unless you practice this stuff *during* the army service, it would be
gone by the time you finish army:
 - You'll forget most of it.
 - A lot of the material would be obsolete (we are talking about
   technician level "hands-on" type of knowledge).

So a very focused and expensive training at this stage is investing
a lot of resource with verry little benefit (unless you somehow practise
this knowledge during army service)

-- 
Oron Peled Voice: +972-4-8228492
o...@actcom.co.il  http://users.actcom.co.il/~oron
"write your own operating system.  It has worked every time for me"
   -- Linus Thorvalds
___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux


Re: [Haifux] No! No! Don't compile your kernel!

2011-01-24 Thread Oron Peled
On Monday, 24 בJanuary 2011 22:11:49 Eli Billauer wrote:
> ... It was easy enough to do for real. And I had this feeling 
> that the system was meant to be hacked. It belonged to me. And that's 
> fading away, most likely because nobody really seems to care about this. 
> Linux is becoming a piece of opaque spaghetti, but it's OK as long as 
> yum this or apt-get that trades one bug for another. Spaghetti is not 
> free software. Not in any sense.

1. You should not be too worried about "the lost art" of kernel
compilation from sources.
Yes, only a tiny  fraction of Linux users today compile their
kernel (gcc, whatever)., but comparing fractions is a mistake.
The *number* of people doing these compiles today in comparison
with, say, 15 years ago is many-fold.
It's simply that we now have many more people who are *only users*
and should take their needs in account *as well* -- It doesn't mean
we have less *developers* or that "very few" can do this the "old way"

2. The system in general *is* more complex today than 15 years ago.
But attributing this purely to developers "surrendering" fashion is
ignoring the real changes that affected Linux during this time:
a lot more architectures, more cpus (numa), dynamic peripherals
(scsi, usb, hot-plug pci, etc), hot-plugable cpus and ram (balloning)
 virtualization, embedded systems.
 And please note I only mentioned hardware related changes, ignoring
 functional changes (e.g: desktop integration)

So not only you can compile your own stuff today, many of us do this
pretty routinely (you cannot evade it completely in embdeded space yet).
However, if you want to compile key parts of a modern *desktop* you'll
simply have to work harder.

BTW: the apt-get/yum mentioned before in this thread would also help you
 compile on your own because they can both bring you the build
 dependencies (and document them for you) and also contain the
 steps required for the build (which you can compare with your
 manual process if you have problems).

Don't worry ;-)

-- 
Oron Peled Voice: +972-4-8228492
o...@actcom.co.il  http://users.actcom.co.il/~oron
"If you have an apple and I have an apple and we exchange apples then
you and I will still each have one apple.  But if you have an idea and I
have an idea and we exchange these ideas, then each of us will have two
ideas." -- George Bernard Shaw
___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux


Re: [Haifux] Pulseaudio: Sounds good in theory

2011-01-13 Thread Oron Peled
On Wednesday, 5 בJanuary 2011 15:57:07 Nadav Har'El wrote:
> I've been using "pavucontrol" (I don't know what is "padevchooser"),
> and used it successfully to select between the sound card's microphone, and
> a USB-plugged microphone.

"MeToo", but notice that it's not needed anymore with modern desktops.
Since Fedora-13 (I now user 14), both GNOME and KDE mixers are fully
pulseaudio aware and show the required controls natively.
So pavucontrol remains for people that use other (less common) desktops.


-- 
Oron Peled Voice: +972-4-8228492
o...@actcom.co.il  http://users.actcom.co.il/~oron
"Those who do not understand Unix are condemned to reinvent it, poorly."
 (H. Spencer)
___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux


Re: [Haifux] Pulseaudio: Sounds good in theory

2011-01-13 Thread Oron Peled
On Wednesday, 5 בJanuary 2011 11:20:01 Eli Billauer wrote:
> > But I now use Fedora 14, and all the glitches appear to be gone, 
> That tempted me to believe that I can just upgrade pulseaudio and forget 
> all about it.. As a matter of fact, I went for that approach. Time will 
> tell if that was really a quick fix.

You should note that some of the complexity is the result of greater
integration. This is true when we talk about audio which in
my case (Feora-14) invovles ALSA, pulseaudio, Phonon (yes I use KDE)
and the applications themselves (some KDE, some not)

However, you can see the same phenomena in the UI area (X-server,
X-server-drivers, kernel-drivers, desktops [including sometimes
composition managers, OpenGL, besides our loved window
managers)

Example for this integration:
 In another post, you asked about the mixer -- current GNOME
 and KDE mixers show/control the pulseaudio settings (including
 separate volume control for separate applications). However
 Older versions had problems because they "saw" both the
 ALSA hardware control (which only confuse the user, because
 their names vary for every audio-card) and the software
 mixer created by pulseaudio.

This means us normal users (not RH University graduates ;-)
have two options:
 * Becoming [semi)-experts in the (e.g: audio) domain. This has
   a lot of benefits, but not always possible (time limitations)

 * Trust our stack integrators, both upstream and packagers.
   At the same time, try to check them and help them by
   opening bugs, talking with them on mailing lists, IRC etc.

BTW: When pulseaudio entered Fedora it uncovered a *lot*
of latent bugs in different ALSA drivers. Part of the improvement
in pulseaudio over the latest release is due to fixing those kernel
bugs.

> The truth is that the difference between the versions is that FC12 gives 
> you 0.9.21-5, while FC14 gives 0.9.21-7. Pulseaudio itself switched to 
> 0.9.22 only a month ago more or less, so I suppose they take 
> intermediate versions. Anyhow, I downloaded the RPMs intended for Fedora 
> 14 and upgraded with them.

Again, trying to upgrade bits and pieces (with --nodeps?) will no doubt
help you graduate the RH University (unless you drop in the middle)

However, it's not the most effective way to solve your direct problem.
Fedora-12 is EOL for more than a month now -- if you don't want
to upgrade once/twice a year you may have chosen the wrong
distribution for your needs. I use Fedora exactly because of its
bleeding edge policy -- but that's me. I choose other distributions
when I need something with a long release cycle (Centos, Debian stable)

> By the way, my first attempt was to download the sources for 0.9.22, but 
> ./configure failed on some missing dependency. I suppose that only Red 
> Hat University graduates compile from sources nowadays.

The interesting question is *which* dependency?

-- 
Oron Peled Voice: +972-4-8228492
o...@actcom.co.il  http://users.actcom.co.il/~oron
"Normal people ... believe that if it ain't broke, don't fix it.
Engineers believe that if it ain't broke, it doesn't have enough
features ... yet." -- Scott Adams
___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux


Re: [Haifux] Login console freezes: Eli's weekly riddle

2010-11-06 Thread Oron Peled
On Sunday, 7 בNovember 2010 00:44:12 Eli Billauer wrote:
> The LKML thread is at http://lkml.org/lkml/2010/11/2/314 (for some 

Eli, I always suspected you are a programmer disguised as a EE, now
you proved me right ;-)

That was a very interesting read.

-- 
Oron Peled Voice: +972-4-8228492
o...@actcom.co.il  http://users.actcom.co.il/~oron
Ignore Your Rights And They'll Go Away
___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux


[Haifux] Wanted: FOSS IT service provider in the north

2010-10-03 Thread Oron Peled
Some background,

We talk about a small startup company located in the north ("Gush Segev"),
with Linux based products that are being produced and sold for the
last ~5-6 years.

The environment includes several Linux desktops for the developers,
Linux servers, several Windows(TM) desktops/laptops (accounting,
marketing, etc) and IIRC one standalone Windows server (for ERP).

Until now, all of this was basically self-maintained. However, we now
want to contract an external company to handle all the IT related stuff.
There is no shortage of such service providers and some proposals were
already being made.

HOWEVER!!!  We naturally have a very strong preference for integrating
FOSS IT solutions.

Highlights:
 * We talk about a startup not a huge corporate. So scaleability is *not*
   the name of the game -- KISS.

 * We need a *service* provider. Any of us Linux guys could have
installed and configure various tools/solutions -- but the whole
point is to save our time.

Therefore, we look for someone to evaluate alternatives, install,
configure and provide *maintenance* with defined response
times etc.

 * Note the locality -- Gush Segev.

 * An important part of the job is to provide IT services for the *Windows*
   users (again, remember the scale, we talk about *few* such users).

   Not surprisingly, the linuxers maintain their personal desktops to
   their liking (Debian/Fedora/Ubuntu/Centos you name it).
   This means, that as long as you use standard protocols/formats, we'll
   just configure *our* desktops ourselves.

 * If your expertise is AD/Exchange server, you need not apply.
   If we wanted to go this route, we already have enough propsals.
   We strongly prefer FOSS IT infrastructure that would serve also the
   Windows users.

 * If needed, for good integration with the FOSS server environment,
   FOSS tools/applications may be installed/maintained on the Windows
   clients as well.

   Just as an example, if the mail solution will work  better with
   Thunderbird than Outlook it is perfectly acceptable as long as the
   provider gives an alternative client for calendaring etc.

 * Some proven field experience (clients). The idea is to save our time
   not make us clean up after the mess some rookie left behind.

Please mail me and I'll forward relevant responses,

TIA,

-- 
Oron Peled Voice: +972-4-8228492
o...@actcom.co.il  http://users.actcom.co.il/~oron
"A computer lets you make more mistakes faster than any invention in
human history with the possible exceptions of handguns and tequila."
 -- Mitch Ratliffe, April 1992
___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux


Re: [Haifux] Kernel for Fedora: Repository or vanilla?

2010-09-19 Thread Oron Peled
On Monday, 20 בSeptember 2010 00:18:48 Eli Billauer wrote:
> What I tried to figure out was whether there's something stupid about 
> just downloading the lastest kernel regardless of rpm packages, compile 
> and install it. Like in the good old times when I knew what happened on 
> my computer.

It is a Fedora policy to actively roll all Fedora changes to upstream
projects (e.g: kernel). Combining this with the fast Fedora update
cycle (even within a single release), means the Fedora kernel is
not very different from upstream.

So to your direct question:
 * This means you normally can compile + use upstream kernel.
 * You will probably want to take a Fedora /boot/config-*
as the starting point of your customized .config build configuration.
 * You will (temporarily) loose all Fedora specific bugfixes. But as I
said, they should eventualy, be rolled back upstream.
 * It looks to me like a 'bumpier' road experience in terms of stability.
   (which is what you wanted in the first place)

> I like to know, that if something 
> worked a year ago, it will work when I try it today, and not try to keep 
> up with features I used being removed and bugs being added.

Hmmm... Just wanted to mention that bugs are even *removed*
in some rare events ;-)

> Would it be naive to assume that they would update packages even
> after EOL, if it comes to security threats?

Yes. In Fedora EOL is... well... End Of Life. Example:
 * Look at:
  ftp://ftp.uni-kl.de/pub/linux/fedora/linux/updates/11
 * Fedora policy is EOL for release N is one month after release
N+2
  * Fedora 13 was in 2010-05-25

https://secure.wikimedia.org/wikipedia/en/wiki/Fedora_%28operating_system%29#Version_history
  * Fedora 11 modification time of the directory is 2010-06-25

Older releases are moved to:
  http://archive.fedoraproject.org/pub/archive/fedora/linux/

There used to be a "Fedora-Legacy" project that tried to maintain security
fixes for older Fedora releases... no more:
http://www.fedoralegacy.org/

My conclusion -- either join the ride (I'm doing it for years) or look for
one of the slower alternatives I mentioned in my earlier post.

Enjoy,

-- 
Oron Peled Voice: +972-4-8228492
o...@actcom.co.il  http://users.actcom.co.il/~oron
Some people claim that the UNIX learning curve is steep, but at least
you only have to climb it once
___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux


Re: [Haifux] Kernel for Fedora: Repository or vanilla?

2010-09-19 Thread Oron Peled
On Sunday, 19 בSeptember 2010 22:56:28 Eli Billauer wrote:

1. I'll start with your kernel question:
   $ rpmquery kernel-PAE
   kernel-PAE-2.6.33.8-149.fc13.i686
   kernel-PAE-2.6.34.6-47.fc13.i686
   kernel-PAE-2.6.34.6-54.fc13.i686

2. So F-13 was updated from 2.6.33 series to 2.6.34 series kernels.
   Many of the updates related to Radeon, since a lot of work
   was done on this architecture during last year
$ rpmquery --changelog kernel-PAE | grep -i radeon | wc -l
29

BTW: this is just from June-2010. If you'll check on F-12, you'll find a
 similar count from Mar-2009 to this July

> And I hope not to upgrade my computer in the next three-four years at 
> least.

3. As a Fedora user myself, I must say you may have chose the
   wrong distribution for your criteria.
   Fedora is fast paced distribution:
* Major release every 6 months
* Only two supported releases (n, n-1) -- your F-12 should be EOL
  this January (no more bug fixes, no more security updates)
* Many packages are updated during the ~1 year of a release
   (including the kernel)

4. If you want long maintenance cycle the "best" options now are:
* Wait few months for Debian-Sqeeze (real soon now)
* Wait few months for Centos-6 (REHL-6 are in Beta now)

> I happen to like when things work.

5. You are welcome to join us, Fedorans , with a 6-12 upgrade cycle.
   Things (mostly) work, and because of the fast updates, there are
   cases where you get fixes quicker -- (e.g: Radeon)
   Not to mention I like to develop with modern tools (gcc, autotools,
   libraries, etc.)

Oops, almost forgot. If you still want to compile your kernel. You may want
to start with current Fedora kernel as a basis:
  yum install rpmdevtools   # For the next utility
  rpmdev-setuptree# set up a empty packaging tree under ~/rpmbuild

  # Let's download + expand the tree
  yumdownloader --source kernel
  rpm -ivh kernel-.src.rpm
  cd ~/rpmbuild/SPECS
  rpmbuild -bp kernel.spec   # This is just the *prepare* build step
  cd ~/rpmbuild/BUILD/kernel-2.6.3*
  # You'll see two obvious directories: vanilla-2.6.x* and linux-2.6.3*

If you want to see how many patches separate the vanilla from Fedora:
  grep '^Patch[0-9]' ~rpmbuild/SPECS/kernel.spec | wc -l
It should be only 100-150 patches. If it looks bad to you, reconsider.
Distibutions that you wanted (3-5 years between major upgrades) have
around 1K patches   :-O

Cheers,

-- 
Oron Peled Voice: +972-4-8228492
o...@actcom.co.il  http://users.actcom.co.il/~oron
If it's there and you can see it, it's REAL
If it's there and you can't see it, it's TRANSPARENT
If it's not there and you can see it, it's VIRTUAL
If it's not there and you can't see it, it's GONE!

>Eli
> 
> 
> Rami Rosen wrote:
> 
> > Hi, Eli,
> >
> >   
> >> So
> >> obviously there *are* updates to the kernel made by yum, but >somehow
> >> without changing the kernel version.
> >> 
> >
> > How many images do you have under /boot ? isn't it three?
> > ( ls /boot/vm*) ? and how many entries in grub.conf ?
> >
> > In case you have enough time for installation , consider Fedora 13
> > (Fedora 14, BTW,  should be available in 2.11.10)
> >
> >
> > Rgs,
> > Rami Rosen
> >
> >   
> 
> 
> -- 
> Web: http://www.billauer.co.il
> 
> 
___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux


Re: [Haifux] [HAIFUX Workshop] The Web Rant Workshop

2010-04-23 Thread Oron Peled
On Thursday, 22 בApril 2010 10:47:42 Orr Dunkelman wrote:
> Dear all,
> 
> Next Monday, 26.4.10, at 18:30 we are going to have a rant workshop

Great event!

> where we will try to contact as many webmasters as possible and try
> to convince them to offer a better support for FOSS browsers.

It would be even more effective if people can get contact details
of higher ranked officials (those that pays for the construction
and maintenance of the website).

E.g: the COO may get really pissed off to find that with all the
money thrown at the company website, the result cause ~20% of
potential visitor to stay out.


> To hold this event, we need one or two wireless access points (we shall
> offer wireless connection so people could send emails). If you have one
> that you can bring (including soft AP), please let me know.

I have a (rarely used) wireless access point (not a router, only a single
ethernet port). Since I am not sure I would be able to attend, someone may
coordinate with me privately to pick it up beforehand (e.g: Sat or Sun --
I live ~150m from the Technion main gate).

-- 
Oron Peled Voice: +972-4-8228492
o...@actcom.co.il  http://users.actcom.co.il/~oron
"We continue to live in a world where all our know-how is locked into
binary files in an unknown format. If our documents are our corporate
memory, Microsoft still has us all condemned to Alzheimer's."
  -- Simon Phipps
___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux


Re: [Haifux] Kernel oops, so what?

2010-01-17 Thread Oron Peled
OK, I'll join in...

On Friday, 15 בJanuary 2010 16:27:34 Eli Billauer wrote:
> Now I get an oops warning every now and then, but nothing really 
> happens. And I wonder what is going on? Has the dreaded oops become 
> something one can live with?

Nothing really changed that much. An Oops is caused by illegal operation
in kernel space (e.g: null pointer dereference, division by zero etc.)
It always had two possible results:
 1. If it happened from an interrupt context -- a panic (prints a
backtrace on the console and freeze the machine).
 2. If it happened from a process context (e.g: in a system call), than
it's a "normal" Oops -- Don't PANIC ;-)
- The calling process is killed with a segfault (as we cannot continue
  any valid computation).
- A normal context switch happens.
- Everything continue normally, with the *hope* that there the bug
  did not cause big collateral damage (e.g: memory corruption)
  outside of the failed computation.

For many years, there were several kernel macros for triggering such
events from the kernel programmer side:
 - BUG() - causes an immediate panic
 - BUG_ON(condition) - think of it as a kernel "assert()"
 - WARN() - just the trace, no other ill effects
 - WARN_ON() - you guessed it.

[for an un-favorite example, try to create a work-queue with a name longer
 than ~10 characters -- you'll get an immediate panic, you can see the
 code somewhere in kernel/workqueue.c]

> And then there's this site which collects 
> oops reports (http://www.kerneloops.org/) which, judging by its sluggish 
> response, is a pretty busy project. Oopses keep flooding in.

1. That's an important project that gives a "heads-up" call for code
   regressions.
2. Fedora-12 now installs it by default, and integrates it into a
   new bug-reporting framework (ABRT, a very buggy software in itself ;-)
   This enables sampling new kernels on a huge amount of configurations
   and scenarios that was not possible before.

> So, should I just take it cool and wait for a new kernel with this 
> fixed, ignoring these messages?

Yes, unless you joined the "kernel digging" hobby. However, this
collaborative "bug-collection" frameworks increase the chance
for a quicker fix.

Cheers,

-- 
Oron Peled Voice: +972-4-8228492
o...@actcom.co.il  http://users.actcom.co.il/~oron
   __
  / /  (_)__  __   __
 / /__/ / _ \/ // /\ \/ /  . . .  t h e   c h o i c e  o f   a
//_/_//_/\_,_/ /_/\_\  G N U   g e n e r a t i o n . . .
___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux


Re: [Haifux] QEMU/KVM vs. VMWare: The beauty and the beast

2010-01-10 Thread Oron Peled
On Sunday, 10 בJanuary 2010 21:06:01 Eli Billauer wrote:
> Which makes me wonder: Is VMWare a honey trap, or is it currently the
> preferred choice?

It looks like there are solutions for converting VMWare disk images to
KVM (Qemu) disk images. Few (untested) links:
 1. http://rwmj.wordpress.com/2010/01/06/examine-vmware-esx-with-libguestfs/
[but this is for ESX, so may be irrelevant to you]
 2. http://kevinverma.blogspot.com/2007/11/convert-vmware-images-for-qemu-
etc.html
[a comment suggests that convertion isn't needed anymore]
 3. http://forums.fedoraforum.org/showthread.php?t=223522

If you can test it briefly and see that it work, than at least you are
not trapped. You may start using VMWare today and wait until missing
features are added to KVM. At least the DISPLAY part should move quickly
since Red Hat has significant investment in this:
 http://www.linux-kvm.com/content/rhev-spice-guest-drivers-released-windows

Bye,

-- 
Oron Peled Voice: +972-4-8228492
o...@actcom.co.il  http://users.actcom.co.il/~oron
"write your own operating system.  It has worked every time for me"
   -- Linus Thorvalds
___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux


Re: [Haifux] Open Source Games or the Lack of Them

2009-09-19 Thread Oron Peled
On Friday, 18 בSeptember 2009 16:50:38 Shlomi Fish wrote:
> Since a typical game nowadays costs a lot of money to develop, and requires 
> the collaboration of many people, it seems unlikely that we will see many 
> open-source games that are up-to-par with commercial offerings.

Rubbish.

I can still remember when people thought that writing small utilities (e.g:
a shell) is OK, but a real COMPILER? Out of the question...

OK, maybe a compiler yes, but a KERNEL? Nah...

Surely, a full desktop is out of reach of a community effort...

H these are all the easy ones. GAMES are the ultimate obstacle.
No chance to tackle it. We are doomed :-O

Shana Tova and may the source be with you.

P.S: Shlomi, you've started debating by cross-posting to 3-4 large
 mailing lists.
 Cut it out! If you cannot choose the "right" mailing list for a
 post, just skip it until you do.

-- 
Oron Peled Voice: +972-4-8228492
o...@actcom.co.il  http://users.actcom.co.il/~oron
"A billion flies _can_ be wrong - I'd rather eat lamb chops than shit."
-- Linus Torvalds on lkml
___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux


Re: [Haifux] Missing UDP statistics in recent distributions (RcvbufErrors, SndbufErrors)

2009-07-28 Thread Oron Peled
Just a minor tidbit...

On 28.07.2009 Rami Rosen wrote:
> but in Fedora Core release 4 (Stentz) (2.6.11-1.1369_FC4) , we don't
> have it:
> Udp: InDatagrams NoPorts InErrors OutDatagrams
> 
> I wonder what the situation is in Fedora 6. (but don't have access to
> such a machine).

Fedora 9 is already end-of-life, there isn't any need to check
any previous releases unless archeology is your hobby.

Yes, I know there are people and even companies that still uses them --
However, not caring about (security) updates is a big mistake that
cost not only them, but the rest of us (no, we don't want Linux
zombie networks, we already have enough Win* ones).

-- 
Oron Peled Voice: +972-4-8228492
o...@actcom.co.il  http://users.actcom.co.il/~oron
"If it's not source, it's not software." -- www.gnu.org

___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux


[Haifux] OT: Bezeqint made me "poof... he's gone"

2009-06-09 Thread Oron Peled
Good day (cross-posted, check when replying).

A a previous customer of Actcom I continued with Bezeqint under
the same terms (including a contract renewal ~1 year ago).

Few days ago I accidentally discovered that my hosted homepage wasn't
accessible -- further tests + ~1 hour on the phone (navigating through
Bezeqint support structure) revealed the unbelievable

THE FREAKING BASTARDS PULLED THE PLUG ON THE DOMAINS WITHOUT EVEN TELLING 
ANYBODY.

I'm now in damage control mode (formal faxes to customer support, etc.)
Anybody else?

-- 
Oron Peled Voice: +972-4-8228492
o...@actcom.co.il  http://www.actcom.co.il/~oron
Promises are like babies: fun to make, but hell to deliver.
   -- Nadav Har'El

___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux


Re: [Haifux] Linux Friendly Netbook?

2009-05-03 Thread Oron Peled
On 04.05.2009 Hetz Ben Hamo wrote:
> Well, I read the Link you provided, and I suggest you should read the
> update here:
> http://www.happyassassin.net/2009/03/19/news-from-the-poulsbo-front/
> 
> Basically the driver is being changed to full open source style

Yeh, I've read it at the time, but note that it "is being changed"
so it's not there yet -- the original poster wanted to buy a product
working today.

> xorg-x11-drv-vesa-2.2.0-3.fc10.i386.rpm which supports GMA-500 pretty

Even after this work is done, we will get VESA! No 3D acceleration.
So, for the time being, it looks safer to go with the traditional
Intel chipsets.

> As I wrote in my blog about Netbook graphics chipsets
> (http://benhamo.org/wp/?p=1423), soon there will be some netbooks
> using the ION chipsets with nVidia 9400M which fully supports all it's
> features under any Linux distribution.

With binary only drivers... no thanks.

However, I'm optimistic because the general situation in graphic chipsets
is improving rapidly -- Intel works hard to get supported drivers into
upstream kernel, and AMD/ATI are keeping their promises so far and
add the missing pieces as well.

> On Sun, May 3, 2009 at 11:23 PM, Oron Peled  wrote:
> > On 03.05.2009 Hetz Ben Hamo wrote:
> >> All the netbooks that are in the market today will work with any
> >> modern Linux distribution (Ubuntu 8.X, 9.X, OpenSuSE 10.X and up,
> >> Fedora 9 and above, RHEL 5 and above, Debian Lenny, etc) since those
> >> netbooks all use the same Intel crappy chipset which has Linux support
> >> for few years now.
> >
> > Making sure you have a crappy Intel chipset is normally a good way
> > to have good Linux support out of the box.
> >
> > However, there are exceptions. Specifically, the GMA-500
> > currently sucks big-time and unfortunately it is used by Dell
> > Mininote (and maybe others).
> >
> > For some gory details (long URL):
> > http://www.happyassassin.net/2009/01/30/intel-gma-500-poulsbo-graphics-on-
> > linux-a-precise-and-comprehensive-summary-as-to-why-youre-screwed/
> >
> > Cheers,
> >
> > --
> > Oron Peled Voice: +972-4-8228492
> > o...@actcom.co.il  http://www.actcom.co.il/~oron
> > Ignore Your Rights And They'll Go Away
> >
> >
> 
> 
> 
> -- 
> Skepticism is the lazy person's default position.
> my blog (hebrew): http://benhamo.org
> 
> 
___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux


Re: [Haifux] Linux Friendly Netbook?

2009-05-03 Thread Oron Peled
On 03.05.2009 Hetz Ben Hamo wrote:
> All the netbooks that are in the market today will work with any
> modern Linux distribution (Ubuntu 8.X, 9.X, OpenSuSE 10.X and up,
> Fedora 9 and above, RHEL 5 and above, Debian Lenny, etc) since those
> netbooks all use the same Intel crappy chipset which has Linux support
> for few years now.

Making sure you have a crappy Intel chipset is normally a good way
to have good Linux support out of the box.

However, there are exceptions. Specifically, the GMA-500
currently sucks big-time and unfortunately it is used by Dell
Mininote (and maybe others).

For some gory details (long URL):
http://www.happyassassin.net/2009/01/30/intel-gma-500-poulsbo-graphics-on-
linux-a-precise-and-comprehensive-summary-as-to-why-youre-screwed/

Cheers,

-- 
Oron Peled Voice: +972-4-8228492
o...@actcom.co.il  http://www.actcom.co.il/~oron
Ignore Your Rights And They'll Go Away

___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux


Re: [Haifux] Technion's PDP-11 Simulator

2009-03-30 Thread Oron Peled
Shachar Shemesh wrote:
> Amir Hardon wrote:
> > I tried launching it with wine, and it crashes when loading a program.
> Is there anywhere I can get the program?
> > I wrote a mail to the teaching assistant in charge explaining the 
> > situation and asking for the source code
> > of the simulator, to see if I can find out why does it crashes, or 
> > maybe trying to compile it on Linux (it looks like a not too 
> > os-dependent console program).

How funny. The emulator Amir talk about was written during the 90's
to replace the original emulator I have used in the 80's which was
running on Berkley Unix (BSD-4.2 on a VAX)... that emulator probably
replaced (not sure) real PDP's used in the Technion during the 70's.

I would follow Shachar suggestion:
> http://en.wikipedia.org/wiki/SIMH

Instead of trying to run some half-baked Windows port of the emulator
under wine/dosemu/what's'not simply go to the *original* emulator.

On a last personal note, those who attended August Penguins III (2004)
may remember me demonstrating (in a lightning talk) an original Unix-V6
from the 70's running under this emulator on my Linux laptop --
The emulator I used was indeed SIMH.

Cheers,

-- 
Oron Peled Voice: +972-4-8228492
o...@actcom.co.il  http://www.actcom.co.il/~oron
No, You Can't Have My Rights, I'm Still Using Them

___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux


Re: [Haifux] "Windows-Free" laptops in Haifa

2009-02-08 Thread Oron Peled
Eli, I must say I'm surprised...

On Sunday, 8 בFebruary 2009, Eli Billauer wrote:
> I have to say that the monopoly argument is refreshing. I don't know 
> about the law in this case, but given that there are stable alternatives 
> around for basically any of their products, and they are all for free, 
> they are in no position to play monopoly games.

This is a naive assumption for several reasons:
 * One important reason for vendors to avoid alternatives are the
   "incentives" they get from MS -- the prices and licensing terms
   are set according to the vendor behavior.
   Vendor may loose a lot of money on his MS licenses by daring
   to offer lower cost solution to other customers.
   - A small example -- the phrase "FOOBAR recommends Vista "
 on *all* vendor publications worth *BIG* money in licenses.
   - The other side -- Marketing campaign for competing products
 would cost the vendor in MS licenses (no, we don't talk about
 EULA's here, these are vendor licenses with very strict terms
 under NDA's).

 * The basic trick for any monopoly is to use its power in one market
   to reinforce its control on other markets (that's why regulation is
   necessary evil in these cases). An example close to home is what Bezeq
   once did as a monopoly -- cross-subsides local/international calls.
   So, a monopoly like MS can artificially make some of its products
   cheaper than any competition (even have negative price) *for the vendor*
   Obviously this isn't sustainable in the long run for all products --
   However, the trick played by MS is very simple -- you focus on
   the most visible wins and so you can break them quickly
   E.g: Make the Eee-PC cheaper with Windows than Linux (at least
   for vendors), when/if Asus stops shipping Linux Eee-PC's move
   to the next target.

BTW: if you want to mention Dell. Let me remind you this company started
 its Linux offerings in ~2000 and backed out because of "no-demand".
 Did they get any "incentives" to reach this conclusion? If not,
 someone at MS should be fired ;-) Do you think a ~8 years delay
 by a major vendor isn't important?

> On the contrary, they have been forced to drop prices because they're 
> competing with free software. Not to mention deals with governments, 
> driven by the fear to lose a huge number of desktops.

True, and I also think they won't be able to stop the market forever.
But give them enough time and they may just move their monopoly from
the desktop to the data-center -- you would be able to use Linux on
your desktop but you would pay just the same to MS via server access
licenses... (think how Exchange servers are priced and why .Net is
so strategic).

> So even though they have so-and-so of the market, in essence they don't 
> control it anymore.

IMO, we are in a transition period now -- MS have enough power to force
many vendors and limit our options -- our goal is to make it harder for
them. In this sense, things like Zvi's act (with all the PR) help send
spanners in their wheels and make the market more friendly for us.

-- 
Oron Peled Voice: +972-4-8228492
o...@actcom.co.il  http://www.actcom.co.il/~oron
"Debugging is at least twice as hard as writing the program in the 
first place.  So if your code is as clever as you can possibly make 
it, then by definition you're not smart enough to debug it." 
 -- Brian Kernighan

___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux


Re: [Haifux] The 10th tip?

2009-02-07 Thread Oron Peled
On Saturday, 7 בFebruary 2009, Yossi Gil wrote:
> Moreover, in their second semester "Introduction to Systems Programming"
> they learn about makefiles, shell programming and other "UNIX" stuff.
> We just do not do enough to make this learning effective...

I'd like to mention that this is probably one of the worst software
courses in the Technion (unless its curriculum was totally changed).
The primary mistakes are:

 * Trying to cover 3 disjoint subjects in one course fails miserably.

 * The only people that know C++ after this course are those who
   knew it before or took OOP later.

 * Trying teaching them about the importance of modularization and
   encapsulation when they only experienced "Mavo Letichnut" is
   simply pathetic -- they technically "understand" it, but they
   don't "get it".
   This should be given in a semester when they already had few
   sleepless nights debugging theirs (or other people) code.

 * The Unix part is tragic story in itself. Let's start with the simple
   fact it uses csh/tcsh (Nee, nee, nee, nee)
   It's only a third of a semester (actually less, as the more "important"
   subjects always rob some of the time). As a result, nothing useful can
   be taught.

If this poorly thought out course would be put to rest, it's hours
could be used to enforce some existing courses.
The best thing IMO would be not to use them for theory lecture hours,
but rather as extra labs or practice hours for the relevant courses.

-- 
Oron Peled Voice: +972-4-8228492
o...@actcom.co.il  http://www.actcom.co.il/~oron
Some people claim that the UNIX learning curve is steep, but at least
you only have to climb it once

___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux


Re: [Haifux] The 10th tip?

2009-02-07 Thread Oron Peled
On Saturday, 7 בFebruary 2009, Dave Roi wrote:
> Every single task a Linux user (user, not administrator) or even a
> programmer will ever want to do, he can do it using GUI alone.
--^^ What?

Let's start with iteration. Just inform us when your mouse
gets dizzy from going in circles...


  for i in `cut -d: -f1 /etc/passwd`
  do
if ! echo "Linux party in 5 minutes" | write "$i" 2>/dev/null
then
   echo "You missed a great Linux event" | mail "$i"
fi
  done

If that's hard, let's take something simpler -- try to achieve
what pipes are doing with a GUI -- here is a starter for you:

  ps -ef | cut -c53- | awk '{print $1}' | sort | uniq -c | sort -n

(the result is left as an exercise to the reader).

This doesn't mean there aren't tasks that are easier with a GUI.
As a generalization, GUI is simpler for rarely used tasks (because
it guides you), while command-line rules for repetitive tasks.

-- 
Oron Peled Voice: +972-4-8228492
o...@actcom.co.il  http://www.actcom.co.il/~oron
First we take Manhattan , then we take Berlin...(Leonard Cohen).
Linux and Open Source - The Revolution of Choice

___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux


Re: [Haifux] Student complaints.

2009-02-03 Thread Oron Peled
On Tuesday, 3 בFebruary 2009, Amichai Rotman wrote:
> I had the same problem when I tried to play content broadcasted by CastUP (a
> popular streaming provider).

I encountered two unrelated problems with video streamed from web-sites:

1. Codecs. Easily solved by VLC. I've yet to see a codec
   unsupported by it.
   Note that some distros (e.g: Fedora) do not distribute these by
   default due to specific legal problems (US patents on algorithms).
   In less bizarre countries this is easily solvable by installing
   the missing pieces from non-US repositories (e.g: rpmfusion.org
   for Fedora).
   Me (non-lawyer) thinks that Israel has no software patents yet
   so this should be safe (Naive? Don't know).

2. Web sites trying to obfuscate the links from their page to the
   video stream so people would have to see it interactively instead
   of (e.g) reaping it to their computer/mp4-player/other-device for
   off-line viewing at their own leisure.

   This can usually worked around using "Mazrim" by Ilan Shavit:
http://sourceforge.net/projects/mazrim/

Cheers,

-- 
Oron Peled Voice: +972-4-8228492
o...@actcom.co.il  http://www.actcom.co.il/~oron
"It's almost like we're doing Windows users a favor by charging them money
 for something they could get for free, because they get confused otherwise."
 - Larry Wall.

___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux


Re: [Haifux] Party????

2009-01-27 Thread Oron Peled
Hello Yosi, "long time no see". Welcome aboard.

Wow, just browsed my inbox and got smashed with this
huge (multi)-thread subject -- browsed rapidly all (good) suggestions.

1. Technical problems:
   * From complaints, seems like disk-space is causing a lot of collateral
 damage. Since disks are very cheap (500Gb for less then 300NIS) it
 should be easy to put 3-4 likes these in one "server" host in the lab.
 (Maybe as a striped volume group for extra performance).
 Having these disks shared among workstations would:
 - Avoid students most common complaint.
 - May reduce unexplained technical problems (at least some crashes
   were reported as a direct disk-space problem).
 - Since it looks as if students are having general quota problems (as
   usual in big places like Technion), it may seduce them to use the
   lab services more often ("Hey, I have so much storage here, that I
   save some other projects temporarily. This lab is really cool").

   * CR/LF problems are mostly archaic non-issue for the last 10 years.
 Any reasonable editor (VIM, kate, gedit, notepad++[windows]) and IDE
 displays both without a problem (including syntax highlighting etc.)
 I suggest ignoring it instead of giving it a prominent space on the
 wiki (OK, as Schachar pointed, there are some arcane cases, but
 that's true for everything).

   * DOK -- https://fedorahosted.org/liveusb-creator has a windows
 executable as well.

2. Change control and maintenance:
   * A choice of distribution and update policy is critical. I won't
 state my personal preference so we don't divert into distro-wars,
 but would like to give concrete examples about the effects:
 - The version you used contained OpenOffice.org-2.4x while current
   version carries OOo-3.x -- as pointed out this is a major change
   both in interoperability with MS-Office as well as other features
   (select language and zoom directly from the bottom status bar).
 - Distribution specific policy regarding big (and changing) platforms
   like Eclipse. What versions are packaged? Which plugins are packaged?

   * Update policy -- are your workstations fully updated? or are they in
 the same state as first installed? This has a big impact both on
 security and "normal" bugs you hit every day.

   * There is a constant conflict between having "stable" lab and having
 current and up to date software. One possible idea is to have
 a "rolling-lab":
 - Let's assume we have 15 computers, select 2-3 of them and upgrade
   them to the bleeding edge version of your distro.
   CLEARLY MARK THEM (labels on the monitors).
 - Proactively ask students for feedback: What aspects got improved,
   what's got worse.
 - The feedback would gradually lead you to migrate more and more
   machines to this version.
 - Lather, rinse, repeat...

   * There are other advantages to such scheme:
 - The students have an active role, instead of being passive moaners
   and groaners.
 - The same idea could be expanded later to having 1-2 "sampler"
   workstations with different distributions. You'd gradually see
   which are the favorites.
 - This way, the students would not only compare "A Linux" with Win*
   but rather see several different "Linuces".
 - On the same page, do you install more than one desktop?
   (e.g: GNOME, KDE, icewm). Having choice is one of the key features
   and may help students understand the richer world in free software
   ("A: I hate this desktop. all shortcuts are wrong. B: Come look
 at my desktop. It's so better. C: A -- I can configure the
 same on yours, you won't need to change desktops").

   * About lab engineers:
 - What happened to masters degree students? Don't they work in the
   labs anymore, or are they Windows-gurus nowdays?
 - If not, maybe undergrads can take over or help with the maintenance
   core? Then the community would need to help them, but not
   actually do the day to day routine.

> Does Wednesday 12:30-14:30 fit your schedules? It would be real nice if we
> could have a Linux event every two weeks or so that time in the lab, and
> this particular time slot woudl assure nice attendance.
> 
> Tentively I set Feb 18th for the first such event.

Sheesh, we do work sometimes. Anyway, if a "Happy Linux Friday" would
help you can count me in.

Cheers,

-- 
Oron Peled Voice: +972-4-8228492
o...@actcom.co.il  http://www.actcom.co.il/~oron
linux/reboot.h: #define LINUX_REBOOT_MAGIC1  0xfee1dead

___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux


Re: [Haifux] Some options for talks by a CEO from the silicon valley (on a special day)

2008-12-09 Thread Oron Peled
On Tuesday, 9 בDecember 2008, Orr Dunkelman wrote:
> Cathy Malmrose, the CEO of ZaReason, is about to visit Israel soon.
> ...
> I think that only if 10 people could "commit" for coming, it would
> be worth to schedule it. Of course, if you have any 
> preference, please let me know as well.

If someone from Affordy (http://www.affordy.com/) would meet her
before, there may be a chance for some cross-company sales effort
(we'll represent you here, you'll represent us there, market niches etc.).

If that miracle happens, then maybe the best lecture would be:

 "Buying non-MS-taxed laptop in Israel without going to small claims court"

Which would be an excellent sequel to Zvi Dvir's lecture about his case.

Hey, Affordy, do you listen?

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron
Problems cannot be solved at the same level of awareness that
created them.
 -- A. Einstein
___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux


Re: [Haifux] Successful Windows Vista refund!!

2008-12-03 Thread Oron Peled
On Wednesday, 3 בDecember 2008, Zvi Devir wrote:
> News Flash: The first Windows refund in Israel!

Just read the news. This is a very big WOW and the PR was
also very good. Thanks for your time and effort.

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron
"From Microsoft's perspective, there's a sucker born every minute" 
___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux


Re: [Haifux] GIMP workshop(s): Any interest?

2008-09-12 Thread Oron Peled
On Thursday, 11 בSeptember 2008, Eli Billauer wrote:
> I'm sure that most of you are aware of the existence of GIMP (The GNU 
> Image Manipulation Program) which is the free software's answer to 
> Photoshop (and for once, not an attempt to clone it).
> ...
> The intention is to leave the complicated effects out, and focus on how 
> to import 20 images in a second, paint the whole screen with one color 
> in much less, and a lot of playing with layers. Etcetera.

 * Great idea. I hope I would be able to attend.

 * Also -- "Meet The Gimp":
   - Site URL -- http://meetthegimp.org/
   - Videocast link -- http://feeds.feedburner.com/meetthegimp

   It's a series of video lectures (current is #60) showing various
   tasks with gimp. The author is German so his English is very
   easy to understand (unlike somebody from e.g: Texas.)

 * For videocasts, one of the best tools is Miro (previously
   Democracy Player):
   - For people on that other OS: http://www.getmiro.com/
   - People on sane OS's:
 yum install miro
 apt-get install miro
 emerge something?

Cheers,

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron
"The speed of light really is too slow nowdays." -- Alan Cox 
___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux


Re: [Haifux] UBUNTU instalation

2008-09-09 Thread Oron Peled
On Tuesday, 9 בSeptember 2008, Shahar Dag wrote:
> Sorry I forgot to attach the result of dpkg-query. The files are
> available at http://www.cs.technion.ac.il/~ssdl/linux/ (if it helps)

I don't use Ubuntu, so I can only help you focus on the differences.

First sort the lists (they are sorted by version, not by line text)
than use comm(1).
E.g:
comm -3 pkgs.1 pkgs.2

It shows pkgs.1 have a lot more packages than pkgs.2, but pkgs.2 versions
are a bit newer (look at anachron for example).

If you strip the versions (s/=[^=]*$//) and re-sort, you'll see there
are only 6 packages on pkgs.2 which aren't on pkgs.1 (because they
contain the version in their name...)
However, there are some +700 packages on pkgs.1 which are not on pkgs.2

Hope it helps,

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron
Code Red, Blue or Green there all a symptom of a far more pervasive
and insidious virus, it costs around $200.
-anonymous
___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux


Re: [Haifux] Let's face it! (was W2L discussion)

2008-09-05 Thread Oron Peled
On Friday, 5 בSeptember 2008, Rafi Gordon wrote:
> Hi,
>   How about starting a Facebook entry for Haifux as
> a  (free and widespread and modern) channel of advertisement ?

If it points to haifux.org for the real info, than that's fine.
However, I would not like it to become *the* principal haifux
announcement board.

As an example, facebook was used to pre-register August-Penguins
attendance which is why I didn't pre-register (I don't have a
facebook account and currently I don't plan to have one).

My 2 (devalued) cents...

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron
Make it idiot proof and someone will make a better idiot.
credit: http://www.jr.co.il/humor/signatur.txt
___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux


Re: [Haifux] [W2l] New "Welcome to Linux" Series

2008-08-19 Thread Oron Peled
On Tuesday, 19 בAugust 2008, Dotan Cohen wrote:
> ... My Microsoft boots,...

Yes, I also want Microsoft boots, where can I get them?

[couldn't resist]


-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron
... Complex problems have simple, easy to understand wrong answers.
___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux


Re: [Haifux] Autoconf/Automake lecture tomorrow - please cancel

2008-07-27 Thread Oron Peled
On Sunday, 27 בJuly 2008, Hai Zaar wrote:
> I was going to give autoconf/automake lecture tomorrow.
> Unfortunately I can't make it - unexpected business meeting came in.
> 
> We can reschedule it somewhere in late September/October.

If anyone want, I'm willing to do tomorrow my autotools
lecture (autoconf/automake/libtool). Just let me know
if anyone interested.

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron
But it does move!
-- Galileo Galilei
___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux


Re: [Haifux] Git Lecture discussion

2008-02-05 Thread Oron Peled
On Tuesday, 5 בFebruary 2008, Ohad Lutzky wrote:
> Regarding keyword substituion: It turns out that Linus thinks it's a
> horrible idea: http://kerneltrap.org/mailarchive/git/2006/10/9/223932

His argument is that it may destroy binary files.

This is bogus since keyword-substitution is *off* by default.
It will occur only for files that were explicitly marked for
substitution. For example in subversion:

   svn propset svn:keywords "Id Author Revision" *.h *.c

As a substitute (pun intended) for the lack in this feature he gives
a hand crafted, build system dependent, manual (i.e: error prone) method.

What a lame excuse.

[the .sig came out right this time...]

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron
ICQ UIN: 16527398

Linux is a trademark of Linus Torvalds in the USA and other countries.
___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux


Re: [Haifux] [hackers-il] My "Stop Using (and Teaching) C-Shell and Tcsh" Page

2007-10-19 Thread Oron Peled
On Friday, 19 בOctober 2007, Shlomi Fish wrote:
> My problem with FISH is that...

What? You of all people have a problem with FISH?

[couldn't resist ;-]

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron
ICQ UIN: 16527398

It's not the software that's free; it's you.
- billyskank on Groklaw
___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux


Re: [Haifux] Linux Ubuntu in Haifa - help was needed , now some advise

2007-04-30 Thread Oron Peled
On Monday, 30 בApril 2007 11:10, Ohad Lutzky wrote:
> I see you haven't tried Ubuntu Feisty yet... it automatically detects
> those cards (at least nVidia, from my experience), warns about the
> drivers being properietary, asks if you want to install them anyway,
> and goes ahead to install... :)

Yes, I was aware of this fact when I replied about the Nvidia/ATI
situation. It's good to have these wizards to help you out from
a tough place. But we should not forget the real questions:

  - In two years the vendor would be several hardware generations
ahead. Would they still support the driver for your (than old)
hardware? If not, how would you upgrade your system to the
next (or next-next) version?

  - Many times it further limit your other hardware choices. E.g:
You want to move a graphics card from 32bit system to 64bit system.
Or from Intel to PPC. Does the vendor provides drivers for all
your needs?

  - And it also limits your software choices. E.g: you need to use
Ubuntu (it's not a bad choice, it's just an example of a limitation).

To take this to a bigger context, that's exactly like Firefox helps
you install Flash plugin automatically. It's good to have this wizard
to ease the pain, but it involves the same problems:

  - Would the vendor (Macromedia, now Adobe) release the versions
you need (Only lately we got Flash-9).

  - Would it limit my hardware choices? (search the archives for zillion
questions regarding 64bits).

  - Would it limit my software choices? Hmmm... and what if I prefer konqi
or epiphany? (yes, I know konqi can locate and use Mozilla plugins...)

In short, all these Aspirin pain relievers are good, as long as it's clear
they don't solve the real problems.

If we have a choice (e.g: when planning before we buy hardware), it's
better IMO to avoid Aspirin-invoking choices.

Bye,

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron
ICQ UIN: 16527398

The most exciting phrase to hear in science, the one that heralds new
 discoveries, is not "Eureka!" (I found it!) but "That's funny ..."
 -- Isaac Asimov

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



Re: [Haifux] Linux Ubuntu in Haifa - help was needed , now some advise

2007-04-30 Thread Oron Peled
On Monday, 30 בApril 2007 09:33, [EMAIL PROTECTED] wrote:
> Any recommendation for HW to be used?
> ...
> -  VGA and sound: on board or are you
> recommending a low-cost add on card

Since these days anybody with Nvidia/ATI card has to fight to have
minimal 3D (even to play tuxracer, not to mention beryl/compiz fun)
I think that rules them out.

That basically leaves Intel on-board chipsets which are supported
out of the box by any modern Xorg.

An exception: One of my Pentium 4's have an on-board old ATI chipset
(Radeon 9100 IGP) -- it was bought before found about better alternatives.
This board "magically" started to have 3D acceleration after a normal
update of Xorg ~6 months ago (the chipset is old and featureless enough
that new versions of the free radeon driver caught up).
While miracles like that may happen, I keep myself away from depending on
them by avoiding ATI/Nvidia.

Cheers,

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron
ICQ UIN: 16527398

"write your own operating system.  It has worked every time for me"
   -- Linus Thorvalds

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



[Haifux] OLPC talk by Zvi Devir

2007-04-16 Thread Oron Peled
Hi,

The talk today:
  http://haifux.org/lectures/163/
Was excellent (at least the part I saw, I got late).

Few photos of the toy:
  http://www.flickr.com/photos/oron_peled

Photos of some people were sent to the guilty by private mail ;-)

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron
ICQ UIN: 16527398

"Man cannot discover new oceans unless he has the courage to lose sight of
the shore..."

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



Re: [Haifux] Suspend-to-RAM on IBM r50e

2006-03-26 Thread Oron Peled
On Sunday, 26 בMarch 2006 23:12, Ohad Lutzky wrote:
> That's regrettable, seeing as the power button is better used, IMHO,
> for a 'halt' command rather than a violent shutdown. Have you tried
> using acpi_listen and attempting to generate various events (such as
> closing the lid) to see what other ACPI events you can catch?

1. Yes, in the beginning I assigned it to lid closing. The drawback
   is that there are times when I move the laptop around (e.g: during
   OSDC, at other peoples offices, etc.) and having it suspend each
   time I shut the lid for a few seconds wasn't convenient (network
   disconnect, etc.)

2. After using suspend2ram for a while, I found that poweroff was
   rarely needed (It can be suspended to ram for 3-4 days without
   a single charge).

3. If I really want to poweroff, there's no need to crash the machine,
   just run the poweroff command. Since it's a rare occasion now, I don't
   miss the shortcut key for it.

4. Also the power key is very intuitive for this and is well separated
   on the keyboard (easy to find, but hard to hit accidentally).

5. I'm now looking for new ideas for the, now unused, lid switch...

BTW: Today I just found a new idea for the ac_adapter ACPI event:
 whenever it get disconnected, the script start repeatedly sounding
 a "siren" sound -- an improvised anti-theft system (which is also
 controlled by a presence of a specific 'trigger' file).
 (Maybe i should patent this as an innovative "business method" or
 some such :-)

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron
ICQ UIN: 16527398

"Linux is free. Clue is not." - Eric S. Raymond

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




Re: [Haifux] Suspend-to-RAM on IBM r50e

2006-03-26 Thread Oron Peled
On Sunday, 26 בMarch 2006 19:52, Shachar Shemesh wrote:
> Save me the RTFM and tell me where to hook this so it works with fn+F4?
> I'm sure "hotplug" has something to that effect.

As others noted, you need ACPI support. In my laptop (regretfully
an HP one), I found it far easier to catch via ACPI the *power* button
instead of the Fn-keys. So now it functions as follows:
 - A short press activate my suspend2ram script.
 - It is revived automatically with LID open -- probably BIOS magic).
 - A few seconds press is total poweroff (normal BIOS behavior,
   not configured by me).

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron
ICQ UIN: 16527398

"The future is here,  it's just not evenly distributed yet." 
- William Gibson

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




Re: [Haifux] compiling

2005-12-27 Thread Oron Peled
On Tuesday, 27 בDecember 2005 14:02, yakouba abaya wrote:
> suppose i have :  ABC.h  ,  A.c ,  B.c  , C.c 
> is it possible to build all three  source files to one object file ?

1. Yes it is possible -- read ld(1) documentation and search for
   the -r (relocatable) option. Remember that gcc is using ld for
   linking.
2. As others already pointed, it is normally not needed since
   you can either link the 3 object files separately or create
   a static/dynamic library.
3. One place this "trick" is used is in building kernel modules
   created from several source modules, since in this case normal
   libraries are not possible (of course the actual running of gcc/ld
   is done by the kernel build system and not manually).

Cheers,

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron
ICQ UIN: 16527398

Hi! I'm a .signature virus! Copy me into your ~/.signature to help
me spread!

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




Re: [Haifux] Suggestion for a haifux lecture

2005-12-07 Thread Oron Peled
On Wednesday, 7 בDecember 2005 16:32, Paramahansa Polo wrote:
> BTW, can somebody suggest an especific topic related to udev that is of
> his/her interest or that him/her considers a must-be-mention topic?

Actually, it's hard to talk about udev without giving context
about:
   - hotplug
   - hal
   - dbus
Or in other words, "Project Utopia" (Robert Love et.al).

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron
ICQ UIN: 16527398

"The speed of light really is too slow nowdays." -- Alan Cox 

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




Re: [Haifux] Lecture Proposals

2005-08-29 Thread Oron Peled
On Monday, 29 בAugust 2005 20:53, Alon Altman wrote:
> Here are some topics I have suggested in the past:
> ...
> Please vote for one or more of these lectures you would like to hear.

That's easy: 1+2+3+4

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron
ICQ UIN: 16527398

"The speed of light really is too slow nowdays." -- Alan Cox 

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




Re: [Haifux] Real-time write on *ANY* filesystem

2005-06-21 Thread Oron Peled
First, thanks for an interesting test plan.
Just a quick note (I currently don't have time for retesting):
  On Wednesday 22 June 2005 03:41, Eli Billauer wrote:
  > And finally: Does an RAM FIFO help? Surprisingly, the answer is no.

Since you use stdio (fwrite), which by default does full buffering
in user space (c.f: setvbuf(3)) this does not surprise me.
Repeating the test with open/write/close etc, would give more
significant results (altough I suspect they would only be worse :-(

Tzahi mentioned XFS. While I'm not sure XFS would help with small
write chunks (Reiserfs seems like better candidate for these),
I'd like to mention a related feature the original XFS had on Irix
(I think this feature wasn't ported to Linux) -- You could assign
a special sub-volume in the filesystem as "real-time". The kernel
would then give absolute priority to I/O requests related to that
sub-volume -- In marketing speech this would give you "guaranteed
I/O response time" (although I don't remember seeing any specific
constraints on this [that's why I call it "marketing"]).

Any other ideas anybody?

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron
ICQ UIN: 16527398

"If I have been able to see farther,
it was only because I stood on the shoulders of giants."
-- Sir Isaac Newton

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




Re: [Haifux] RAM FIFO

2005-04-27 Thread Oron Peled
On Wednesday 27 April 2005 15:08, Eli Billauer wrote:
> So I thought: Hmmm, how about a simple application, which allocates,
> say, 16 MB of non-pageable RAM (peanuts in today's terms), behaving
> like a simple data FIFO, which I put in the pipeline?

If you have enough RAM than the non-pageable requirement isn't
mandatory (it won't be paged since it's in the working set).
In that case, maybe a simple dd(1) [check the ibs= and obs= options]
may do the trick.

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron
ICQ UIN: 16527398

Promises are like babies: fun to make, but hell to deliver.
   -- Nadav Har'El

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




Re: [Haifux] Proposed lecture - the Debian package acceptance procedure

2005-02-28 Thread Oron Peled
On Monday 28 February 2005 08:51, Shachar Shemesh wrote:
> Anyone interested?

Sure. Writing .spec's for RPMS became boring, now we'll
get to the real stuff :-)

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron
ICQ UIN: 16527398

Prof:So the American government went to IBM to come up with a data
 encryption standard and they came up with ...
Student: EBCDIC!

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




Re: [Haifux] Lecture proposals

2005-02-15 Thread Oron Peled
On Monday 14 February 2005 20:19, Alon Altman wrote:
> Lecture proposals for Haifux:
> ...
> Do you want to hear any of these lectures?

Yes, Yes, Yes...

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron
ICQ UIN: 16527398

I just found out that the brain is like a computer.
If that's true, then there really aren't any stupid people.
Just people running Windows. 

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




[Haifux] Announce: Kernel Course Slides

2005-02-04 Thread Oron Peled
Hi everybody,

My kernel course slides are available under a creative commons
license. Actually, this is their status since I first wrote
them at the end of 2003, but I wanted to test them for a while
before formally announcing them.

The slides are in PDF and planned for a 5 days course.
They were prepared using only free software tools (mainly
LaTex of course) and the sources are available too.

You are welcome to use them for any purpose while preserving
the license terms for the slides:
  http://creativecommons.org/licenses/by-sa/1.0/
and the code samples:
  http://www.gnu.org/licenses/gpl.txt

I welcome any fixes, enhancements etc. You may get your
name added to the one listed on the THANKS page (let's
see if you can guess his name *before* peeking at slide
number 'IV' on the PDF file :-)

The files (source, pdf, signatures, etc.) are scattered
under my home page: http://www.actcom.co.il/~oron
go grab them.

Last shameless plug: Of course you may ask the author to
teach the course personally at your company, just
remember the saying --
  The slides are free, the instructor time isn't :-)
  [shamefully picked that paraphrase from Gilad]

Bye,

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron
ICQ UIN: 16527398

"A standard for copy protection is as premature as a standard
for teleportation."
 --- Noted computer security expert
 and Princeton University Professor
 Edward Felten.


pgp8mojHLQEjO.pgp
Description: PGP signature


[Haifux] A lecture, maybe, if you like?

2005-01-18 Thread Oron Peled
Hi,

Does anybody want to hear a (yet unwritten) lecture about

 Gnucash: How I manage my money and stay alive to
tell the story...
   
In which I'll present a great piece of free software which
is not (yet?) famous.

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron
ICQ UIN: 16527398

"A standard for copy protection is as premature as a standard for 
teleportation."  --- Noted computer security expert
 and Princeton University Professor
 Edward Felten.

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




Re: [Haifux] linux ipc

2005-01-16 Thread Oron Peled
On Sunday 16 January 2005 13:45, Muli Ben-Yehuda wrote:
> On Sun, Jan 16, 2005 at 01:40:28PM +0200, yakoub abaya wrote:
> 
> > Is there a special interface for communication
> > between  : device driver  <-> daemon ,
> > other than conventional ipc ?
> > ( i know of pipes , signal & kill )
> 
> read and write on a device file, a new file system, /sysfs, /procfs,
> ioctl (not a good idea), add your own syscalls, etc, etc. 

And to make his life more interesting: NETLINK sockets...

> A better question is what do you want to do?

Maybe we should add this question to the FAQ. sigh :-(

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron
ICQ UIN: 16527398

...there are two types of command interfaces in the world of
 computing: good interfaces and user interfaces.
- Dan Bernstein, Author of qmail

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




Re: [Haifux] Xen and the art of giving talks

2005-01-12 Thread Oron Peled
Yes,

Comparisons to other free (Qemu, Bochs,...) and non-free (vmware)
are of course welcome...

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron
ICQ UIN: 16527398

If it's there and you can see it, it's REAL
If it's there and you can't see it, it's TRANSPARENT
If it's not there and you can see it, it's VIRTUAL
If it's not there and you can't see it, it's GONE!

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




Re: [Haifux] man

2005-01-12 Thread Oron Peled
On Wednesday 12 January 2005 18:04, Ori Idan wrote:
> yakoub abaya wrote:
> > Q: what is the number following in the parentheses ? (--> 2 in write(2) )
> The number is the man section number
> 
> Sections are:
> ...

Ori, you gave him fish (good ones I must admit), but he need also a
fishing pole (AKA RTFM).  Each section has an intro man page,
so we can run:
   man 1 intro
   man 2 intro
   

> > Q : how do i man write(2) ? , how do i use the 2 ?
> >
> do man 2 write

And even better:
  man man

:-)

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron
ICQ UIN: 16527398

"If I have been able to see farther,
it was only because I stood on the shoulders of giants."
 -- Sir Isaac Newton

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




Re: [Haifux] biulding drivers on linux2.6

2005-01-02 Thread Oron Peled
On Sunday 02 January 2005 08:36, yakoub abaya wrote:
> i don't understand how to build a simple driver i wrote
> i looked into  linux/Documentation/kbuild and read about makefile rules
> but what make command do i issue ?
> i tried :
> make  -C  /usr/src/linux SUBDIRS=$pwd modules

1. Using SUBDIRS= is still supported, but the new and prefered
   syntax for what you want is M=
2. It looks like your real error (unless you happen to use
   csh/tcsh), is writing $pwd (lower case) instead of $PWD.

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron
ICQ UIN: 16527398

"First they ignore you, 
then they laugh at you, 
then they fight you, 
then you win." -- Gandhi

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




Re: [Haifux] IBM Linux Study Group announcements on or off topic?

2004-11-26 Thread Oron Peled
On Thursday 04 November 2004 13:13, Muli Ben-Yehuda wrote:
> Would you be interested in receiving announcements of these biweekly
> sessions? Let me know.

It's a rhetoric question, isn't it :-?

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron
ICQ UIN: 16527398

"When you understand UNIX, you will understand the world.
When you understand NTyou will understand NT" - Richard Thieme


pgpo9hunjmx4m.pgp
Description: signature


Re: [Haifux] Proposed Lecture - Linux USB Subsystem Layer (in Video4Linux Context)

2004-10-28 Thread Oron Peled
On Thursday 28 October 2004 14:14, Muli Ben-Yehuda wrote:
> Seconded. Looking forward to the talk. 

Me too, me too :-)

Moreover, it will force me to add a chapter to the "Kernel
internals" course slides:
  http://users.actcom.co.il/~oron/oron/docs/kernel/kernel-1.15.pdf

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron
ICQ UIN: 16527398

"Software is like Entropy: it's hard to grasp, weighs nothing and
obeys the  Second Law of Thermodynamics, i.e. it always increases" 
-- Norman Augustine 


pgpFaAJezUC5u.pgp
Description: signature


Re: [Haifux] proposed lecture(s) - linux VFS and writing a real file-system

2004-10-19 Thread Oron Peled
On Wednesday 20 October 2004 01:33, guy keren wrote:
> 
> i was wondering if these will be of interest. in the past month i've been
> working on writing a silly file-system, and found that there is no good
> document (or book?) explaining the gory details (or does 'understanding
> the linux kernel' cover this _properly_?), so i that giving a proper intro
> would be interesting.

Yes.

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron
ICQ UIN: 16527398

Mary had a little lambda,
Its syntax white as snow,
And every program Mary wrote,
She wrote in Lisp, you know.
  -- Karl Pflästerer

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




Re: [Haifux] Lecture after W2L

2004-08-18 Thread Oron Peled
On Wednesday 18 August 2004 16:15, Orr Dunkelman wrote:
> After a lot of crypto stuff went here, I was wondering whether an
> introducary lecture about [EMAIL PROTECTED] would interest you.
> ...
> Nee's and Ya's?

Yes, yes, yes.

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron
ICQ UIN: 16527398

God is real... unless declared an integer.

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




Re: [Haifux] MD5 collisions

2004-08-17 Thread Oron Peled
On Tuesday 17 August 2004 14:56, Orr Dunkelman wrote:
> AFAIK, Eli (my advisor) is working for quite some time on this.
> 
> I hope he'll succeed.
> 
> When this happens - use tiger.

But could it be that messages with same MD5 and messages
with same SHA1 do not have an intersection?

If so, than it may be easier to compute MD5 + SHA1 for each
protected tarball (or ISO).

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron
ICQ UIN: 16527398

"We've heard that a million monkeys at a million keyboards could produce
the Complete Works of Shakespeare; now, thanks to the Internet, we know
this is not true."   --Robert Wilensky, University of California

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




[Haifux] W2L summary

2004-08-14 Thread Oron Peled
Hi,

Here is a summary of the haifux meeting today (oops, it's just
became yesterday :-)  after Orna left. I hope I didn't messed
anything.


* Two parallel tracks:
- For newbies (I'll call this "What's Linux", a proper
  name should be chosen later).
- The "Power Users" track.

* The activities would be scheduled on the same days so people
  can be directed when they arrive to the proper forum.

* Both tracks would be unified from the Linux-Day onward.

* The general layout (details bellow):

WeekDay "Power Users"   "What's Linux"
1   Wed Blitz   Introduction
2   Mon Multimedia  Introduction (replay)
2   Wed InstallationFOSS
3   Mon Q&A FOSS
3   Wed Q&A2
\-- Join tracks --/
4   Wed Linux Day
5   Wed Basic Admin

* Notes:
- The Blitz lecture should be all-in-one, fast paced
  and have "marketing" appeal.
- The Multimedia is similar to the Blitz. The idea is
  to keep the momentum and show more stuff (each lecture
  is pretty short, ~1 hour).
- The Installation is just before weekend so that power
  users would have a chance to try this at home. This
  lecture should include an actual demo on a *tested computer*.
- The two Q&A sessions are meant to help people who
  have installed by themselves to finish the post install
  phase.
- People who still have problems should come to the Linux
  Day.
- The FOSS sessions are the place to talk about things like
  history, ideology, etc.
- All other subjects would be pushed into SiL.

* The Linux Day:
- Not only for new installs, but also as post-install
  central for people who installed by themselves (power users).
- Therefore, some installation stations should be reserved
  for this cause.
- A projector should be connected to one of these. This way,
  interesting (or frequent) problems may be presented to
  all power users and diagnostic techniques can be shown.
- More emphasis is required to prevent wasting "guru" time
  on fixing human errors on the part of the installers.
  A actuall pre-run of the install procedure is essential
  for this.

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron
ICQ UIN: 16527398

.--.
   |o_o |
   |:_/ |
  //   \ \
 (| | )
/'\_   _/`\
\___)=(___/

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




Re: [Haifux] Embedded OS Research

2004-05-17 Thread Oron Peled
On Monday 17 May 2004 16:09, Phillip Mousseau wrote:
> The information obtained by VDC will only be used to develop market
> insights.

When a programmer contributes a piece of code to a FOSS project
at least she knows she will be able to use the result.

And what do VDC offer the community in return for the information?
Satisfaction for helping VDC?

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron

"There are lies, damned lies, and statistics" -- Benjamin Disraeli
"...and benchmarks" -- Garry Hodgson


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




Re: [Haifux] Re: "Digital darkroom with the GIMP" lecture slides

2004-04-12 Thread Oron Peled
Usefull LaTeX tip (especially for PDFs):

\usepackage[colorlinks=true]{hyperref}

% some more text...

and now let's put \url{http://www.gimp.org}

You can get all your URL's automagically linked in your PDF's.
BTW: The docs for hyperref are worth reading for other nice effects.

Cheers,

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron

We don't do windows...


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




Re: [Haifux] 'Bad magic number in super-block'

2004-03-14 Thread Oron Peled
Hi,

My first suspect is corrupted partition table. This make the disk driver
to "think" that the partition starts in a wrong position (happend to me
once many years ago when I had a dual-boot machine and some crappy
DOS utility messed the partition table).

The way to diagnose this is to search for superblock signatures:
  1. Find the correct magic number. in /usr/./linux/ext2_fs.h there
 is a line:
#define EXT2_SUPER_MAGIC0xEF53
  2. Write (on a different machine of course) a small program that:
 - Open the device file representing the whole disk (/dev/hda)
 - Search occurances of this number.
 - Print the containing block number (There are many)
  3. Ignore the false alarms and choose the numbers that are spread
 equally (8K or 16K or 32K apart -- read fsck.ext2(8)).
  4. Now use (-n just checks, no fixes yet):
fsck -n -b  /dev/hda
 And pick a block number which *is not* the first one.
  5. Was it corrupted?
  6. Repeat with the first block number -- is it corrupted?

If 5. and 6. show everything is OK, than use some binary editor to
fix your partition table.

Luck...

On Sunday 14 March 2004 13:07, Dita Jacobovitz wrote:
> We have a Linux machine (IBM ThinkCentre) with Red Hat 9.0 installed which
> suddenly failed to boot. It was working fine before. We have tried 'linux
> rescue' from an installer disk and when we type e2label /dev/hda2 we get an
> error 'Bad magic number in super-block' which We  think it indicates that
> something has gone wrong with the main disk partition. We would like to
> recover the data on the partition instead of reformatting since it contains
> some important data.

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron

"Linux: like the air you breathe, ubiquitous and free"


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




Re: [Haifux] Lecture offers

2004-03-12 Thread Oron Peled
On Friday 12 March 2004 09:55, Baruch Even wrote:
> I thought to offer my (free) services to provide a lecture on various
> topics.
> 1. GnuCash and personal accounting for Israelis

Yes, yes, yes...

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron

"LINUX is tied fairly closely to the 80x86. Not the way to go." 
- LINUX is obsolete, Andy Tanenbaum, 29 Jan 92. 


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




[Haifux] LaTeX sources for the autotools lecture

2004-03-10 Thread Oron Peled
Hi,

Some people were interested in the LaTeX sources for the lecture I gave.
They are now at:
   http://users.actcom.co.il/~oron/oron/docs/autotools-1.5.tar.bz2

I tried to bundle everything needed to use it in a LyX/LaTeX Linux
environment. If anything missing or not working, please let me know.
(it's wasn't trivial to find all dependencies in my personal environment).

Asside from the LaTeX sources and PS/PDF outputs, this contains:
  - A Makefile with many pattern rules I use for LaTeX/LyX
  - An rcs.sty which wasn't included in my RedHat tetex installation
  - A modified LyX seminar.layout (with a "chapter" environment)
  - A small script I use to strip file extensions from 'includegraphics'
directive in LyX generated LaTeX files.

NOTES:
 - I haven't included TOC in these slides (to save space), but if you
   want them just add a \tableofcontents macro. The entries will be
   hyperlinked of course.
 - Running pdflatex (but not latex) issue warnings about \lstinputlisting
   with duplicate indexes. These may be ignored. However, I would be very
   pleased if someone hacked away this nuisance (hint, hint...)

Enjoy,
   

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron

Mary had a little lambda,
Its syntax white as snow,
And every program Mary wrote,
She wrote in Lisp, you know.
  -- Karl PflÃsterer


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




[Haifux] Re: slides for shell lecture

2004-03-01 Thread Oron Peled
On Monday 01 March 2004 21:54, Shlomi Fish wrote:
> You can bind the history-search-backward and history-search-forward commands 
> of GNU readline. I have these lines in my $HOME/.inputrc:

I know about key binding in bash (readline really), but...

That what happens when not reading release notes for too lng time.
http://www.dee.isep.ipp.pt/docs/bash-1.14.7/RELEASE:
  "...
  g. New history-search-forward and history-search-backward to search
 for the characters between the start of the current line and point
  ..."

(bash-1.14.7 was released in 1996 btw)

Shame on me, the functions are even named like in tcsh so dumb users
(yes, me) should find them easily.

Thanks shlomif,

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron

"UNIX was not designed to stop you from doing stupid things, because
that would also stop you from doing clever things."
 --Doug Gwyn


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




Re: [Haifux] slides for shell lecture

2004-03-01 Thread Oron Peled
On Monday 01 March 2004 13:20, Kohn Emil Dan wrote:
> On Mon, 1 Mar 2004, Orna Agmon wrote:
> > How do you redirect only Error in tcsh?

This isn't really possible in csh/tcsh (one of the ~30 reasons not to
write scripts in csh/tcsh).

> ( command > /dev/null ) >& file
> 
> Now ain't that cute? ;-)

An old trick, but not really equivalent. You *eliminated* stdout and then
redirected *both* to the file. Try to redirect only stderr without touching
stdout and you'll see what I mean.

if you think about:
   (command > /dev/tty) >& file

This won't help if stdout should continue to some other place (like a pipe).

BTW: I'm not trying to bash (pun intended :-) tcsh. I use tcsh as my default
interactive shell. But "csh/tcsh why not" (as a scripting tool) is a very
old FAQ.

Now let's bash bash... Is there any interactive equivalent to tcsh 'ESC-p'
and 'ESC-n' (history-search-backward, history-search-forward)?
I don't look for bash "incremental search" (which is very good in itself), but
the feature that enables me *after* writing a command prefix to search for
this prefix in the history. E.g:
   prompt> viESC-p
would pull the last 'vi' command.

I think this feature is the only show-stopper to convert my login shell
to bash (since programmed completion is already well supported).

Thanks,

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron

If Windows is the answer, you ask the wrong question


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




Re: [Haifux] Fetchmail: The Mail Herschale [1]

2004-02-05 Thread Oron Peled
On Friday 06 February 2004 02:45, Eli Billauer wrote:
> And this is where we reach the philosophic question: How do you know? ;)

Remind me of a different and sad mail-related problem I ran across.
I lately have started using kmail (for its hebrew support) after backing up
my mail directory (since kmail uses maildir/mbox and my previous MUA
used mh/mbox). It worked reasonably, so I have been using it for the
last several months. Two weeks ago something interesting happened:

  - My /home partition ran out of space (several big core files suddenly
filled the last free ~100MB).
  - While kmail failed to write the new mails it opened warning dialogs
for each failure (all of a sudden 5-10 dialogs appeared during mail
reception).
  - However, it happily vacuummed /var/spool/mail/oron :-O

So I've restarted my quest for a decent MUA. May go back to sylpheed
which is excelent, but no hebrew -- GTK-1.x app :-(

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron

Hi! I'm a .signature virus! Copy me into your ~/.signature to help
me spread!


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




Re: [Haifux] Fetchmail: The Mail Herschale [1]

2004-02-05 Thread Oron Peled
On Thursday 05 February 2004 22:35, Eli Billauer wrote:
> If the SMTP is up, all is good. But if I kill the daemon, it attempts to 
> connect, fails, then resorts to procmail, fails, gives up and... DELETES
> the messages from the POP server (as the transcript below shows).

That's really weird. From fetchmail man page (this section worth reading
in entirety):

  RETRIEVAL FAILURE MODES
   The protocols fetchmail uses to talk to mailservers are next to bullet-
   proof.   In  normal operation forwarding to port 25, no message is ever
   deleted (or even marked for deletion) on the host until the  SMTP  lis-
   tener on the client side has acknowledged to fetchmail that the message
   has been either accepted for delivery or rejected due to a spam  block.
   ...

This is a bug worth investigating (on some dummy mails... don't loose more)
BTW: you may want to check the 'keep' option. I used it a long time ago.

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html


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




Re: [Haifux] RHN on Fedora stations

2004-02-02 Thread Oron Peled
On Monday 02 February 2004 14:25, Dita Jacobovitz wrote:
> We need an automatic solution for the RHN up2date service for these 12
> stations,

One solution for up2date is 'current' (don't have the URL under my hand now)
from Duke university (IIRC). Haven't tested lately, so YMMV.

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron

Promises are like babies: fun to make, but hell to deliver.
   -- Nadav Har'El


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




Re: [Haifux] Re: InstaParty Thought - Buy/Receive the CD or Bust

2004-02-01 Thread Oron Peled
On Sunday 01 February 2004 11:18, Adir Abraham wrote:
> [a lot of valid points]
> ... You can conclude what happens with faster
> machines or those that include rich hardware features. I also assume that
> we'll have faster machines next year, so it will not take more than 40
> minutes in average.

Just adjusting some over-optimism: installation is very I/O bounded, and
disk speed is advancing very slow (comparing to Moore's law for CPU).

So unless next year you'll have everybody with SCSI disks, you won't
see a lot of speedup.

Still, I completely agree that the ~5GB full install is a wise decision in
the context of install parties to newbies who would have hard time
adding software. Worse, the typical newbie would assume that
if some 'Z' software isn't on her system -- than Linux doesn't have 'Z'
at all (actually, if an icon for 'Z' isn't on the menu than Linux doesn't
have 'Z' software :-)

So keep it that way, and it'll keep taking ~1hour/install...

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron

"I love deadlines, especially the whooshing sound they make as they go by." 
  -- Douglas Adams


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




Re: [Haifux] encoding/decoding from mime / 1-D MR / 2-D MR / 2-D MMR formats to pdf or tiff

2004-01-29 Thread Oron Peled
On Thursday 29 January 2004 12:00, David Sapir wrote:
> I'm using Hylafax to receive faxes, and the machine emails the faxes as an 
> attachment. The OS is RH9.
> My qustion is: can anyone tell my how to convert the received data to pdf 
> files?

You can use tiff2ps (part of libtiff) to convert it to Postscript and then
ps2pdf (a wrapper around gs(1)).

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html


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




Re: [Haifux] ANN: Lectures: Writing device drivers in Linux and Windoze

2004-01-27 Thread Oron Peled
On Tuesday 27 January 2004 02:56, Muli Ben-Yehuda wrote:
> The first draft of the slides for this one are now available at
>http://www.mulix.org/lectures/intro_to_linux_device_drivers/intro_linux_device_drivers.pdf.

Very good. Small remarks/questions:
  - I assume they learn the actual build procedure elsewhere. If not, than at
least some pointers are needed.
  - The idea to patch the core for hooking into timer interrupts is very
good for learning (the power of open source...). However, because
the interrupt you talk about is (by incident) the timer, people may
get the wrong idea that in Linux patching is needed for timing...
(which is a very common task). You may want to mention the existance 
of the simple timer_* API.
  - Some mention (maybe verbally) about kernel versioning (which is used
for their exercise?) -- Understanding the Linux kernel API's are
a moving target (intentionally...)
  - Are they getting (maybe in their lectures) some orderly view about:
  * Different locking schemes? (spinlocks, reader-writers, semaphores,...)
  * Different schemes for defering work? (softirqs, tasklet API,
work-queues, timer API's)

Bye,

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron

Linux lasts longer!
-- "Kim J. Brand" <[EMAIL PROTECTED]>


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




Re: [Haifux] Seminar Demos by Denis Girou

2004-01-18 Thread Oron Peled
On Sunday 18 January 2004 15:27, Gustavo Halperin wrote:
> Now when I compile the sem-dem0.tex I receive the next error:
>   ! TeX capacity exceeded, sorry [pool size=70945].

TeX is designed with static allocation (no mallocs) so all memory
comes from static pools. The only way to enlarge pools (IIRC)
is to rebuild TeX (not trivial at all) with bigger constants.

However, something looks fishy, as the last time I got this error was
under some old TeX in DOS (when you had real memory constraints).
Under Linux (or any Unix for that matter), there is no reason to
build TeX with small pools since we use virtual memory. Also, the
big pool memory isn't "wasted" if unused (since Unices and Linux
are overcommiting memory).

So I guess something in your macros is "eating" TeX memory
(some endless recursion maybe?)

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron

3Com only purchased rights to the numbers '3' '5' and '9', Intel
owns '4', '8', '6', and '2'. '0' and '1' are still in the public
domain ;-)
 -Donald Becker


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




Re: [Haifux] Seminar Demos by Denis Girou

2004-01-18 Thread Oron Peled
On Sunday 18 January 2004 11:40, Gustavo Halperin wrote:
> For example the package   "pst-fr3d" I can't find.
>   Do you now this class ??, Where I can download it??

Google for it -- first and second hits...

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html


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




Re: [Haifux] slides for monday's lecture

2004-01-03 Thread Oron Peled
On Sunday 04 January 2004 00:53, guy keren wrote:
> the (updated) slides for monday's lecture are temporarily available at
> http://www.actcom.co.il/~choo/users-processes-files-and-permissions/ .

On the last slide:
* Hard Links - when two Files are actually the same File.

Can be corrected (and in my experience be explained with less confusion
to newbies):

* Hard Links - when a file has more than one name.

Cheers,

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron

"If you have an apple and I have  an apple and we  exchange apples then
you and I will still each have  one apple. But  if you have an idea and I
have an idea and we exchange these ideas, then each of us will have two
ideas." -- George Bernard Shaw (sent by  shaulk @ actcom . net . il)


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




Re: [Haifux] Immortal artsd process

2003-12-26 Thread Oron Peled
(With some reordering)

On Friday 26 December 2003 14:29, Eli Billauer wrote:
> After all, it's not the process that volunteers 
> to kill itself. It's the system that kills it.

Yes, but we talk about a code section within the kernel. This means
that the code has more control on "the rules of the game" than normal
user-space code.

> This little discussion still hasn't answered my first, and most 
> interesting question: How can a process be running, and yet not 
> killable.

In kernel space many code section have to acquire locks to protect
access to shared data. The kernel programmer can use:
  - Locks that can break with signals. So he must deal with the case
the lock is broken.
  - Locks that cannot break with signals.

The later type is easier for the programmer (no need to handle special
cases), but the process is not interruptible during this period.

Normally, the programmer should use this type of locking only when
there is no alternative and the protected code fragment is bounded
in execution time.

> But if context is switched every now and then, I would expect the 
> OS to check for signals.

Yes, but in your case there was no context switch because:
> spin_lock_irqsave(&state->card->lock, flags);
> i810_update_ptr(state); <-- This is where it was caught!

The spin_lock*(...) family of locks is doing busy waiting and so no
context switch happens. If you'll check the definition of this specific
call, you'll see that it disable even the 2.6 kernel preemption.

Hope this explanation clears it out. What is still interesting is to
know if this case of non-preemptible locking was due to programmer
laziness or was inherent to the task this code was doing.

Bye,

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron

We don't do windows...


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




Re: [Haifux] Sendmail

2003-12-11 Thread Oron Peled
On Thursday 11 December 2003 15:18, Amir Spivak wrote:
> Sendmail doesn't want to process these messages which now sit in mqueue,
> i changed ownership and mode but still, the mqueue doesn't want to be
> flushed from these...any idea why?

Run 'mailq' (which is a synonym to 'sendmail -bp'). You should see a list
of all pending messages. For each message you should see a "reason"
string that would tell you the problem. If you cannot figure it out, than
tell us the output of this command (just change sensitive info before
posting).

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron

Linux lasts longer!
-- "Kim J. Brand" <[EMAIL PROTECTED]>


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




Re: [Haifux] linux kernel swap thingi (fwd)

2003-11-27 Thread Oron Peled
On Thursday 27 November 2003 16:35, Alon Altman wrote:
> (2 make it clear we r a part of our gigantic group that realy tries 2 do
> something).

Can't be any clearer than that!

> we have some problems and tried various solutions that failed
> completely.

Let's see if I get it, you have some problems.. you tried various
solutions... the solutions failed...

> if u know anything about it or know anyone else that may help us,
> that could be realy realy great.

You'll bet I know something about *IT* (it was swap wasn't it?)

Don't despair Alice, eventually we would understand what 'U R Looking 4'
But it would really help if you can be more specific about at least
some details.

Cheers,

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron

"UNIX was not designed to stop you from doing stupid things, because
that would also stop you from doing clever things."
 --Doug Gwyn


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




Re: [Haifux] SOLVED: Permission denied

2003-11-17 Thread Oron Peled
On Monday 17 November 2003 14:49, Ron Artstein wrote:
> So we're back to the manual. I can see why the writers of a manual
> think that mount options belong in a section about mounting. But a
> good manual will also include a cross-reference from the section on
> permissions, 

Traditionally, man pages had a special section for this type of non-obvious
things. It was called "BUGS" or "CAVEATS".

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron

"write your own operating system.  It has worked every time for me"
   -- Linus Thorvalds


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




Re: [Haifux] SOLVED: Permission denied

2003-11-13 Thread Oron Peled
On Thursday 13 November 2003 10:16, Ron Artstein wrote:
> ...
> bash: ./a.out: Permission denied
> ...
> Also, I don't know what is the information that system calls get
> when they can't access a file. But if they can discriminate between
> denied access as a result of file permissions and denied access as
> a result of mount options, it would be nice if they could return
> this useful information to the user in the form of a meaningful
> error message.

I must say that I was also surprised errno returned by the system
in this case was EACCES (Permission denied). I would intuitively
expect the kernel to return in this case EPERM (Operation not permitted)
as this is the common error for "unsupported operations" --
E.g: making a hard link on filesystem that doesn't support it, etc.

Indeed, checking fs/exec.c in the kernel source (open_exec function)
reveals that the kernel returns EACCES in both cases which is a pitty
(I'm almost sure there isn't an official standard relating to this case, as
mounting with "noexec" is pretty Linux specific).

Cheers, (well not so much)

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron

"Don't worry about what anybody else is going to do. 
 The best way to predict the future is to invent it."

  -- Alan Kay


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




Re: [Haifux] W2L0, second thoughts about kdevelop

2003-09-14 Thread Oron Peled
On Sunday 14 September 2003 15:53, Maor Meir wrote:
> When looking at the built-in documentation I found plenty if
> information on using kdevelop to create QT applications,
> this is way beyond the scope of W2L lecture 0.

Actually, creating any decent GUI program is way beyond the scope
for newbies (whatever platform/environment they use):
- Heavy OOP
- Callbacks/Listeners/Slots/What-you-call-them-today
- Containers and layout management
- Event propagation and widget (instances) tree

Not exactly "Introduction for Programming" stuff.

However, Kdevelop may be used as a "show off" stuff if it would be shown
together with other tools. Examples:
- Anjuta
- Eclipse (the free software one...)
- If there's an Emacs guru I would ask him to demo it
  as well (but drop it if there isn't someone who can
  really make it shine).

Showing several tools of the same family (IDE's) is important
because a lot of our potential audience suffers from uni-dimentional
vision simptom caused by inhaling too much Visual-Studio for too long
time.

It is extremely important to show there are *different* strategies
to reach the same goal. Once they understand this -- they already
got half of what Linux is all about.


-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron

"Windows is NOT a virus: a virus is small and efficient."
 --Jonathan Leffler, Informix


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




Re: [Haifux] How to specify a separate directory for objects, whileusing configure.in and makefile.am?

2003-05-30 Thread Oron Peled
On Thu, 29 May 2003 18:06:03 +0300
Muli Ben-Yehuda <[EMAIL PROTECTED]> wrote:

> On Thu, May 29, 2003 at 06:01:47PM +0200, AndreyB wrote:
> 
> > I have no problem with compiling and linking, but all the objects live in
> > the source directories - bad habit.
> 
> There's no automatic way to do it, that I know of. You can it with a

Wrong. This is a standard feature of autoconf/automake:
1. Start with unconfigured source (make distclean)
2. mkdir a subdir bellow toplevel source dir (one bellow configure)
3. ../configure [... normal configure options ...]
4. You'll find that configure built a nice build tree
5. make
6. make install

Automake uses and test that separate build directories are working
during 'make distcheck'. It is also documented in the standard
INSTALL file supplied by automake (Compiling For Multiple Architectures).

In configure scripts created by modern autoconf (I use 2.53) you may
try 'configure --help' and it will show you the '--srcdir' option
(which defaults to '.' or '..')

No need for mere mortals like us to dive into make trickery anymore...

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron

The most exciting phrase to hear in science, the one that heralds new
 discoveries, is not "Eureka!" (I found it!) but "That's funny ..."
 -- Isaac Asimov

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