Re: [Haifux] Legal issues regarding iwlib and wireless linux extensions

2007-04-26 Thread Tzahi Fadida
Just a thought, what make you think that syscalls are slower? If i understand 
correctly, syscalls are not context switches, just passing into kernel mode 
which you will have to do anyway.

On Monday 23 April 2007 12:01:55 Ohad Lutzky wrote:
> Hello hackers :)
>
> I'm doing an academic project at the Technion, which relates to
> wireless networking. My host wants to use the project as a base for a
> free-beer application, but is not willing - at least at this point -
> to make the source code available to everyone.
>
> Now, to utilize wireless networking in Linux, the sensible path seems
> to be along iwconfig, which uses iwlib, which in turn uses ioctl calls
> to communicate with the wireless extensions in the Linux kernel. Using
> iwconfig directly with "system" calls is most likely out of the
> question, for being slow, unclean, and perhaps of changing interface.
> Using iwlib directly would be a far better option - but it's licensed
> under the GPL, and AFAIK linking against a library counts as
> 'distributing' it, which would force our software to be under the GPL.
> Using ioctl calls directly seems to be in the clear, but we might have
> to use hacks from libiw, which would, again, be problematic...
>
> Can anyone help make the legal situation here clearer?



-- 
Regards,
Tzahi.
--
Tzahi Fadida
Blog: http://tzahi.blogsite.org | Home Site: http://tzahi.webhop.info
WARNING TO SPAMMERS:  see at 
http://members.lycos.co.uk/my2nis/spamwarning.html

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



Re: [Haifux] another lecture proposal

2007-04-05 Thread Tzahi Fadida
Yes. Would like to hear it!

On Thursday 05 April 2007 18:46:14 Muli Ben-Yehuda wrote:
> If there's interest, I'll be happy to give this talk I'll be giving at
> OLS '07 at Haifux as well.
>
> The Price of Safety: Evaluating IOMMU Performance
>
> IOMMUs, "IO Memory Management Units", are hardware devices that
> translate device DMA addresses to machine addresses. Isolation capable
> IOMMUs perform a valuable system service, preventing rogue devices
> from performing errant or malicious DMAs, thereby substantially
> increasing the system's reliability and availability. Without an
> IOMMU, a peripheral device could be programmed to overwrite any part
> of the system's memory. An isolation capable IOMMU restricts a device
> so that it can only access parts of memory it has been explicitly
> granted access to. Operating systems utilize IOMMUs to isolate device
> drivers; hypervisors utilize IOMMUs to grant secure direct hardware
> access to virtual machines. With the imminent publication of the
> PCI-SIG's IO Virtualization standard, as well as Intel and AMD's
> introduction of isolation capable IOMMUs in all new servers, IOMMUs
> will become ubiquitous.
>
> IOMMUs can impose a performance penalty due to the extra memory
> accesses required to perform DMA operations. The exact performance
> degradation depends on the IOMMU design, its caching architecture, the
> way it is programmed and the workload. In this paper, we present the
> performance characteristics of the Calgary and DART IOMMUs in Linux,
> both on bare metal and hypervisors. We measure the throughput and CPU
> utilization of several IO workloads with and without an IOMMU and
> analyze the results. We then discuss potential strategies for
> mitigating the IOMMU's costs. We conclude by presenting a set of
> optimizations we have implemented and the resulting performance
> improvements.
>
> Cheers,
> Muli
>
> ---------
> Haifa Linux Club Mailing List (http://www.haifux.org)
> To unsub send an empty message to [EMAIL PROTECTED]



-- 
Regards,
Tzahi.
--
Tzahi Fadida
Blog: http://tzahi.blogsite.org | Home Site: http://tzahi.webhop.info
WARNING TO SPAMMERS:  see at 
http://members.lycos.co.uk/my2nis/spamwarning.html

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

2007-03-01 Thread Tzahi Fadida
On Thursday 01 March 2007 22:12, YigalB wrote:
> On the other hand, it did work at my home before I delivered them the PC.
> Perhaps the installation process set something that match my home setting
> and not that place?

It is possible, especially if you used a dialer script like netvision scripts 
etc... I.e. the routing tables have a default gateway that came from that 
scripts. Another possibility, if the ethernet cable is long like 15meters and 
the ethernet is on board, perhaps you need to change the interface to 
10MB-FD. This sometimes happen with the cheap boards.
Though if it worked on windows without touching anything in the drivers, than 
it shouldn't be a problem.

In the end, we need to have some output in order to help you.
I.e. ifconfig, route -n, cat /etc/network/interfaces.


> Can I run "re-installation" just for the network, something like a wizard?

I don't user gnome tools so i cannot say. I use kubuntu with kde.
In kde it is in the system settings.

-- 
Regards,
Tzahi.
--
Tzahi Fadida
Blog: http://tzahi.blogsite.org | Home Site: http://tzahi.webhop.info
WARNING TO SPAMMERS:  see at 
http://members.lycos.co.uk/my2nis/spamwarning.html

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

2007-03-01 Thread Tzahi Fadida
On Thursday 01 March 2007 20:47, YigalB wrote:
> Somehow, I couldn't make the internet work there. Before I donated the PCs,
> the PCs were working at my home, in a similar way (local network, router,
> DHCP).

You need to supply a bit more information. What exactly is not working.
Do you get a ping from the router? if not, perhaps this is a 100/10 mb thing 
or you don't have dhcp there and you need to define something manually.
If you do get a ping, perhaps you did not define the gateway properly.
Check out /etc/network/interfaces

-- 
Regards,
    Tzahi.
--
Tzahi Fadida
Blog: http://tzahi.blogsite.org | Home Site: http://tzahi.webhop.info
WARNING TO SPAMMERS:  see at 
http://members.lycos.co.uk/my2nis/spamwarning.html

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



Re: [Haifux] I am going to the army

2006-12-01 Thread Tzahi Fadida
Shirut Naim. :)

On Thursday 30 November 2006 13:08, Shai Shkolnitsky wrote:
> Hello there.
> I just want to tell you that I have received a notification from the army
> that I am recruiting on the 10th of December. That means that I probably
> will not be able to lecture on January. Maybe after the tironut (02) I will
> have some time to lecture. If not, I will lecture on my closest regila (if
> that is Okay with haifux staff).
>
> Anyways I have written this letter to say, that in my short time of being
> here I have learned alot  and had much fun. Thank you for this wonderful
> club, I will try my best to attend some lectures at least.
>
> I will try to keep in touch (if you don't mind).

-- 
Regards,
Tzahi.
--
Tzahi Fadida
Blog: http://tzahi.blogsite.org | Home Site: http://tzahi.webhop.info
WARNING TO SPAMMERS:  see at 
http://members.lycos.co.uk/my2nis/spamwarning.html

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



RE: [Haifux] Honey, I shrunk the club

2006-03-19 Thread Tzahi Fadida
Please do NOT flame.

I am a little reluctant to offer because I know someone
will say "do it yourself" but I don't have the 
time to do it all (maybe some). 
I think the problem is
"selling" linux to average joe in a non-too-geeky-for-me way
and making would be visitors more comfortable to get involved.

A few suggestions to haifux site:

1) In order to increase haifux involvement and keep in touch
with visitors and allow members to know lecturers more:

Allow (not mandatory) haifux visitors to register (Register button
big on top of main page) in haifux.org the registration can include:
Name, handle, Picture, email, ALL(IMs),register to mailing list
phone, comment on self, interests, RSA key.
Links to past lectures given, list of lectures attended (self editing),
link to home page, link to blog page, links to favorite linux/FOSS sites.
Perhaps, rudimentary blog.

2) Provide (little hype here) web 2.0 services:

Inside haifux.org allow to create presentations using WiKi methods
with permission to edit from lecturer (or not).
Or provide a trust ring, lecutrer know/vouch editor so its ok to edit.

Provide a request page, requesting to lecture on a ready lecture.
(good for when there are no lecturers available)

3) list of proposed lectures and member voting on prefered lectures.

Available ready lectures will be lectured first when no date was set.
Also, members can assign lectures to preffered date slots so a maximal 
number of members will be able to attend a desired lecture.

Maybe include incentives to lecture, like if you do a lecture you get
strong point to secure other lectures or get tshirts etc...

5) Main contacts/emails on main page to outside non-members who wish
to promote/lecture/sponsor.

6) Move clutter like logos etc... to the bottom and put registration, 
main contacts, arrival, etc.. on top.

7) Provide main page pictures on meeting place and people having fun :)

Increase sense of casual, fun, 
non technion-students-only-will-understand atmosphere.

Regards,
tzahi. 

> -Original Message-
> From: Haifux - Haifa Linux Club 
> [mailto:[EMAIL PROTECTED] On Behalf Of Shahar Dag
> Sent: Sunday, March 19, 2006 2:17 PM
> To: Haifa Linux Club Mailing list
> Subject: Re: [Haifux] Honey, I shrunk the club
> 
> שלום לכולם
> 
> אני אסתכן בכך שאעורר עלי את זעם ההמון בגלל העברית (אבל זה 
> הזמן שלכם להוכיח 
> שהעברית בלינוקס עובדת כראוי)
> 
> ראשית אציג את את עצמי: שמי שחר דג ואני עובד במדעי המחשב מזה כ 
> 6 שנים כאחראי 
> על מעבדת מחשבים (המעבדה לפיתוח תוכנה ומערכות - SSDL)
> לפני 6 שנים כל המחשבים במעבדה היו dual boot חלונות ולינוקס 
> ואני הייתי חדש 
> בתחום. ההרצאות של המועדון וההיכרות עם הפעילים עזרו לי מאד 
> בטיפול במכונות 
> הלינוקס. מאז מספר תחנות הלינוקס שלי פחת משמעותית, היכולת שלי 
> השתפרה קצת וגם 
> עברתי מלינוקס חינמי לחבילה קנויה (כשמדובר באקדמיה זה כמעט 
> חינם) המספקת גם 
> תמיכה (וגם הפקולטה העבירה את השרתים מ unix ללינוקס).
> מפעם לפעם (די נדיר למען האמת) אני בא לשמוע הרצאות, אבל רק אם אני חושב 
> שההרצאות תהינה מועילות לעבודה שלי (לדוגמא ההרצאה של אורנה 
> אגמון על כלי 
> דיבג). באופן אישי אני עסוק בימי שני בערב, אבל גם קודם לכן 
> ירדה הנוכחות שלי 
> בהרצאות.
> אני נוטה להסכים שכאשר מדובר על כלים / תוכנות חדשות הרצאה קצרה 
> שתציג את הכלי 
> מספיקה. כך הציבור יכיר בקיום הכלי ואם הוא נחוץ לו ילך וילמד 
> אותו. כמובן שאם 
> יש כלי מסובך במיוחד ואחד מחברי המועדון הוא מומחה לכלי זה 
> יעזור לקבל הרצאה 
> יותר מקיפה. כאשר מדובר בטכנולוגיה, אני חושב שאין להסתפק 
> בהרצאה קצרה אלא יש 
> לדבוק בפורמט הישן של הרצאה מלאה, או לפתוח בהרצא שלאחריה דיון 
> פתוח בין כל אלו 
> שמכירים את הטכנולוגיה.
> אני רואה בהיכרות עם האנשים אחד מהיתרונות הגדולים של ההגעה 
> להרצאות המועדון 
> וחבל לי שעם הזמן אני מאבד את הקשר עם הקהל הקבוע.
> 
> יש לי שני רעיונות:
> ראשית רעיון פרוע, אולי בהתחשב בכך שחלק מהחברים הם סטודנטים 
> בטכניון, כדאי לתת 
> חלק מההרצאות (אולי רק פעם בחודש) בצהרי יום ד' (יום ד' 
> 12:30-14:30) זמן בו לא 
> מתקיימים לימודים. כך יש סיכוי למשוך להרצאות את אילו מבין הסטודנטים 
> (והעובדים) שלא נמצאים בטכניון בערב
> בקשר לפרסום פעילות המועדון, אני מוכן לתלות אצלי במעבדה (ואני 
> חושב שגם מעבדות 
> נוספות תסכמנה לכך) פירסום של המועדון (ברגע שיהיה עמוד מקובל על הכל).
> 
> שחר דג
> __
___
> 
> I am looking for old Vinyl record.
> If you have any that you don’t need please call me at 
> 972-52-5919063 or send 
> me mail to [EMAIL PROTECTED]
> 
> Thanks
> Shahar
> 
> - Original Message - 
> From: "Eli Billauer" <[EMAIL PROTECTED]>
> To: "Haifa Linux Club Mailing list" 
> Sent: Tuesday, March 14, 2006 14:53
> Subject: [Haifux] Honey, I shrunk the club
> 
> 
> > Hello all,
> >
> > I think it's time to talk about this: The number of 
> participants in Haifux 
> > lectures seems to be shrinking lately. It was notable in 
> particular in 
> > Orr's and Guy's recent lectures, which both covered highly 
> technical 
> > issues, which have plenty of implications even if you don't 
> deal direct

RE: [Haifux] Honey, I shrunk the club

2006-03-14 Thread Tzahi Fadida
Yesterday was purim, and I personally wanted to come but couldn't
because we had to read the megilla at that time.
I guess that others couldn't too.

As per lecture, I think its also subject based. It's subjective per
person to evaluate if a lecture is relevant to him.
I am sure that if a technical person like a linux guy feels
that a lecture is important for his edjucation, he will be there.

Also, raw information can be found on the internet and people
won't come if they feel they can find this info on the net without
any added value. For example, I liked the Ruby Rails lecture because
of the examples there and personal zeal.

I like the C lectures, portability programming, gnucash,
stam disk, linux memory allocations,xen, probably forgot a few,
because they gave first hand important experience from
the "field". etc...


Regards,
tzahi. 

> -Original Message-
> From: Haifux - Haifa Linux Club 
> [mailto:[EMAIL PROTECTED] On Behalf Of Eli Billauer
> Sent: Tuesday, March 14, 2006 2:54 PM
> To: Haifa Linux Club Mailing list
> Subject: [Haifux] Honey, I shrunk the club
> 
> Hello all,
> 
> I think it's time to talk about this: The number of participants in 
> Haifux lectures seems to be shrinking lately. It was notable in 
> particular in Orr's and Guy's recent lectures, which both 
> covered highly 
> technical issues, which have plenty of implications even if you don't 
> deal directly with the subjects involved.
> 
> I remember far more participants in much more esoteric issues.
> 
> There has been suggestions that slides shouldn't be published on the 
> site, because people read the slides instead of coming (!!?). 
> Personally, I behave in the opposite way (no slides, won't 
> come), but I 
> believe this issue is worth a discussion.
> 
> And of course, I would suggest to discuss the reasons of what 
> appears to 
> be a decline of the great Haifux empire. Standing at 142 
> lectures (w2l 
> and SiL not included) could it be that we've already covered 
> it all? Are 
> we getting settled down, old and rusty? Are we missing the 
> fun of being 
> underground?
> 
> Your opinions are mostly welcome. And if possible, please 
> talk about why 
> *you* don't show up. I believe it's more interesting than general 
> theories about what happens.
> 
> Hag Sameah,
> Eli
> 
> -- 
> Web: http://www.billauer.co.il
> 
> 
> 
> --
> 
> Haifa Linux Club Mailing List (http://www.haifux.org)
> To unsub send an empty message to [EMAIL PROTECTED]
> 
> 
> 
> 



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




RE: [Haifux] Lecture proposal: DB internals and CBO

2006-03-07 Thread Tzahi Fadida
VERY Much!

Regards,
tzahi. 

> -Original Message-
> From: Haifux - Haifa Linux Club 
> [mailto:[EMAIL PROTECTED] On Behalf Of Meir Maor
> Sent: Tuesday, March 07, 2006 11:13 AM
> To: haifux@haifux.org
> Subject: [Haifux] Lecture proposal: DB internals and CBO
> 
> I propose to give a lecutre on DataBase internals(not very 
> FOSS related I know).
> Focousing on the Cost Based Optimizer(CBO),
> 1. How is data stored in the DB, How are indexes(indices) 
> built and how
> they differ from your classical B-trees learned in a 
> data-structure course.
> 2. What are the diffrent access paths available for the DB to 
> access the data,
> how does a CBO choose the most efficent path, when is it worng?
> 3. compare and contrast Oracle with Postgres. in these regards.
> 
> such a lecture would be high level, and require basic 
> knowledge of SQL and
> the conscept of Balanced trees.
> 
> Any takers?
> 
>Me.
> 
> --
> 
> Haifa Linux Club Mailing List (http://www.haifux.org)
> To unsub send an empty message to [EMAIL PROTECTED]
> 
> 
> 
> 



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




RE: [Haifux] Ruby tutorial

2006-01-25 Thread Tzahi Fadida
Where can I find the lecture slides of the "Ruby on Rails"?

Regards,
tzahi. 

> -Original Message-
> From: Haifux - Haifa Linux Club 
> [mailto:[EMAIL PROTECTED] On Behalf Of Ohad Lutzky
> Sent: Wednesday, January 25, 2006 11:07 PM
> To: Haifa Linux club
> Subject: [Haifux] Ruby tutorial
> 
> All present hackers, you'll much enjoy this - an excellent 
> Ruby tutorial. Starts
> out slow, but proceeds with really cool examples.
> 
> http://tryruby.hobix.com
> 
> --
> To necessity... and beyond!
> 
> Ohad Lutzky
> hÉzʱnj



--
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 Tzahi Fadida
1

Regards,
tzahi.

> -Original Message-
> From: Haifux - Haifa Linux Club 
> [mailto:[EMAIL PROTECTED] On Behalf Of Alon Altman
> Sent: Monday, August 29, 2005 7:54 PM
> To: Haifux
> Subject: [Haifux] Lecture Proposals
> 
> 
> Hi,
>I volunteered to give a lecture today. Here are some 
> topics I have suggested in the past:
> 
> 1. SPAM and spamassassin - detailed analisys of various 
> anti-spam methods,
> spammers and the spam arms race. The lecture will revolve around
> spamassassin and it's various rules, and will include many modern
> approaches such as HashCash, Habeas, and Bayesian.
> 
> 2. Web hacking for fun and profit - a lecture about accessing webpages
> without a conventional browser for compatbility or 
> privledge escalation.
> The lecture will focus on the web hacker's arsenal (curl, 
> wget, sniffers,
> LWP, etc.) and will look into some "hypotheic" test cases 
> including
> "Sherutei Briut Tzlalit", the known cellular company 
> "Purple", and the
> bus company "Begged".
> 
> 3. Proxying II - A continuation of http://www.haifux.org/lectures/85/
> Can cover caching DNS server, FTP proxy, SOCKS generic proxy, etc.
> 
> 4. Software Suspend II. May evolve to a "linux on laptop" 
> lecture.  Software
> Suspend is a mechanism to allow you to retain your system 
> state when your
> system power is off. It allows you to quickly power off 
> and on your
> system. Especially useful for laptops.
> 
> Please vote for one or more of these lectures you would like to hear.
> 
>Alon
> 
> -- 
> This message was sent by Alon Altman ([EMAIL PROTECTED]) 
> ICQ:1366540 GPG public key at http://8ln.org/pubkey.txt Key 
> fingerprint = A670 6C81 19D3 3773 3627  DE14 B44A 50A3 FE06 7F24
> --

>   -=[ Random Fortune ]=-
> Rome was not built in one day.
>   -- John Heywood
> 
> --

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



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




[Haifux] [Job Offer] - Senior programmer (web)

2005-08-03 Thread Tzahi Fadida
Hi, 
I am forwarding this job description.
I appologize in advance if you somehow got this mail more than once.

Subject: [Haifux] Hiring: Senior programmer (web)


---
Hi, 
 
We're looking for an experienced programmer to join an exciting Internet
start-up. 
 
If you know of anyone appropriate, please refer them to
[EMAIL PROTECTED] (feel free to forward this email)
  

Position description
A leading software development position of a web service for the mass
market involving internet telephony & local search. Potential for team
leading in the future.


Required experience
.   3+ years experience in C#/C++/Java programming and OOP
methodology
.   Experience in web technologies (HTTP, HTML, web services,
sessions, IIS, security)
.   Experience in Microsoft components and development environments
.   Ready to work in a dynamic start-up environment - high
motivation and flexibility 
.   Capability for quick and independent learning skills of new
technologies


Advantage
.   Experience in .NET and C#
.   Dynamic web client technologies experience
.   Team management experience
.   Exposure to different application levels, including server side
and DB
.   Non-.NET GUI programming experience

[EMAIL PROTECTED]



--
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 Tzahi Fadida
General insight. Try XFS, it tries to avoid disk operations as much as
possible.
It should outperform ext3 on large files.

Regards,
tzahi.

> -Original Message-
> From: Haifux - Haifa Linux Club 
> [mailto:[EMAIL PROTECTED] On Behalf Of Eli Billauer
> Sent: Wednesday, June 22, 2005 2:42 AM
> To: Haifa Linux Club Mailing list
> Subject: [Haifux] Real-time write on *ANY* filesystem
> 
> 
> Hello again,
> 
> It turns out that it's not a FAT issue, but that the same 
> problem occurs 
> on ext3 systems as well. I've written a small program to test 
> the delays 
> between writes, and the results are not very encouraging. 
> Specially when 
> the disk gets full (it always does, doesn't it?).
> 
> In my opinion, this should concert anyone who want to use a Linux box 
> for storing a data stream (audio, video, whatever).
> 
> I've attached the source of the program I used. Basically, it 
> loops on 
> writing 32kB chunks of data to a file, creating a list of 
> number telling 
> how much time (in microseconds) elapsed since the last loop 
> (to stdout). 
> There are two modes of testing: One is to let it write as fast as 
> possible, and the second is to put delays between writes, which 
> simulates waiting for incoming data. If there is enough room, the 
> program will write slightly less than 2 GB (guess why?).
> 
> Since Linux is a multitasking system, the results are not exactly 
> repeatable. But the general impression is that writing to FAT or on 
> ext3, on my laptop or on my desktop, they all behave more or 
> less the same.
> 
> First test regards full-speed write. Data was simply written 
> as fast as 
> possible. For a  non-full partition, the write operation dwelled 
> typically 5.5 ms, with occasional bursts of 0.7-0.9 *seconds* 
> delay on 
> the write operation. When the partition gets full, things get even 
> nastier. Several seconds of blocking was observed. 5 seconds, 
> and up to 
> 14 seconds delay typically appeared a few times for a 2 GB 
> writing session.
> 
> Then I added a short sleep in the loop, in order to simulate data 
> written at ~ 3MB/sec (which is reasonable for video 
> capturing). This is 
> far below the disk's physical capicity. The disk LED showed 
> occasional 
> flushes.
> 
> Results: For a non-full partition, occasional peaks of up to 
> 60ms were 
> observed, which is something one can live with, probably. At 
> 3 MB/s this 
> means 180 kB stuck in the buffer. But when the partition 
> started to get 
> full, peaks of 0.2-0.3 seconds started to appear. The latter 
> means 900 
> kB waiting to go out, and this maybe explains why I 
> originally had problems.
> 
> If you want to see how your system behaves, just compile the attached 
> code and go:
> ./writefat output-junk-data-file > listfile
> 
> The list of loop timings will be in listfile. Use your 
> favourite number 
> cruncher to view graphs. (The program's name is due to "historic 
> reasons"...) If you want to test the slower writing speeds, check the 
> typical delay in the listfile, or see how fast the output file grows. 
> The sleep period defined in the program itself is not reliable, since 
> the operating system may not be able to sleep for too short periods.
> 
> And finally: Does an RAM FIFO help? Surprisingly, the answer is no. I 
> did the following:
> 
> mknod mypipe p
> mbuffer -i mypipe -o /fatfs/output-file &
> ./writefat mypipe > listfile
> 
> and was quite surprised to find delays of 0.2 sec. BTW, 
> mbuffer seems to 
> force the data to be flushed to disk much more often. The disk LED 
> showed that writes occured all the time, unlike the direct write to 
> file, in which flushes occured occasionally. And "mypipe" and 
> "logfile" 
> are on an ext3, while outfile-file is on FAT.
> 
> Insights, anybody?
> 
> Eli
> 
> -- 
> Web: http://www.billauer.co.il
> 
> 



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




[Haifux] c with a spoon and pointer arithmetic

2005-03-08 Thread Tzahi Fadida
As we talked about in the c with a spoon lecture, I tried the
pointer arithmetic and then free and at least for me it didn't
work.
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)

[EMAIL PROTECTED]:~]$ gcc nis2.c
[EMAIL PROTECTED]:~]$ ./a.out 
char y[0] a
char y[1] b
char y[2] c
char y[3] d
Segmentation fault (core dumped)

#include 
#include 
main(){
  char *y = (char *)malloc(4*sizeof(char));
  char *x = y + 2;
  y[0]='a';
  y[1]='b';
  y[2]='c';
  y[3]='d';
  printf("char y[0] %c\n", y[0]);
  printf("char y[1] %c\n", y[1]);
  printf("char y[2] %c\n", y[2]);
  printf("char y[3] %c\n", y[3]);

  free(x);

  printf("char y[0] %c\n", y[0]);
  printf("char y[1] %c\n", y[1]);
// printf("char y[2] %c\n", y[2]);
// printf("char y[3] %c\n", y[3]);
  
  exit(EXIT_SUCCESS);
}

Regards,
tzahi.

WARNING TO SPAMMERS:  see at
http://members.lycos.co.uk/my2nis/spamwarning.html



--
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 Tzahi Fadida
yeah sounds great.

Regards,
tzahi.

> -Original Message-
> From: Haifux - Haifa Linux Club 
> [mailto:[EMAIL PROTECTED] On Behalf Of Orr Dunkelman
> Sent: Wednesday, August 18, 2004 3:16 PM
> To: Haifa Linux Club
> Subject: [Haifux] Lecture after W2L
> 
> 
> 
> After a lot of crypto stuff went here, I was wondering 
> whether an introducary lecture about [EMAIL PROTECTED] would interest you.
> 
> The idea is to talk about:
> a) private key encryption - why, who and how (and what do we 
> mean when we say something was broken)
> b) public key encryption - why who and how.
> c) a bit on PKI
> d) about signatures - what it is, how it is done.
> e) cryptographic hash funtions - what is a collision.
> 
> if time permits I'll try to cover
> f) Secure multi party computation and Private information retrival
> g) election schemes
> h) electronic cash
> 
> Nee's and Ya's?
> 
> -- 
> Orr Dunkelman,
> [EMAIL PROTECTED]
> 
> "Any human thing supposed to be complete, must for that 
> reason infallibly be faulty" -- Herman Melville, Moby Dick.
> 
> Spammers: http://vipe.technion.ac.il/~orrd/spam.html
> GPG fingerprint: C2D5 C6D6 9A24 9A95 C5B3  2023 6CAB 4A7C 
> B73F D0AA (This key will never sign Emails, only other PGP keys.)
> 
> --

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



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




RE: [Haifux] Would you like to hear lectures about...

2004-08-08 Thread Tzahi Fadida
lecture 1 would be interesting.
There are some disabilities that are overlooked in both Oss.
specifically in the learning disabilities department.
and lecture 3 and its association to complex projects with teams, etc...

Regards,
tzahi.

> -Original Message-
> From: Haifux - Haifa Linux Club 
> [mailto:[EMAIL PROTECTED] On Behalf Of Orna Agmon
> Sent: Sunday, August 08, 2004 10:48 PM
> To: [EMAIL PROTECTED]
> Subject: [Haifux] Would you like to hear lectures about...
> 
> 
> Hi All,
> 
> We still have a few slots before "Welcome to Linux" begins, 
> and all hell breaks loose. And we have some lectures and 
> lectureres, willing to give those lectures.
> 
> Please say if you would like to listen to any of those 
> lectures. You do not need to choose only one.
> 
> 1)
> Accesibility in Linux by Omer Zak.
>   - Review of the disabilities, which impact computer use.
>   - How does Linux provide for each disability (if at all).
>   - Where Linux has a shortcoming, what does MS-Windows provide.
> 
> 2)
> Apache II advantages and Internals (temporary name) -
>   by Eli Marmor
>  (comparing and contrasting with Apache I, which many people 
> still use)
> 
> 3)
> Bugzilla for the end-user - Shoshana Forbes
> Slides available from: 
> http://www.cs.tau.ac.il/telux/lin-club_files/bugzilla_for_end_uses.pdf
> 
> Your input is appreciated,
> Orna.
> -- 
> Orna Agmon http://vipe.technion.ac.il/~ladypine/
> ICQ: 348759096
> 
> --

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



--
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 Tzahi Fadida
What is the planned scheduele for the lecture?
Maybe it would be nice to add examples of before and after images to the
photographs enhancements tips.

* - * - *
Tzahi Fadida
MSc Student
Information System Engineering Area
Faculty of Industrial Engineering & Management
Technion - Israel Institute of Technology
Technion City, Haifa, Israel 32000
Email [EMAIL PROTECTED]
Technion Email: [EMAIL PROTECTED]
* - * - * - * - * - * - * - * - * - *

WARNING TO SPAMMERS:  see at
http://members.lycos.co.uk/my2nis/spamwarning.html
 



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




RE: [Haifux] [FW for Amihai] Re: 'Hibernate' on Linux

2003-07-01 Thread Tzahi Fadida
I hope its joke because that link shows a java/sql software that has nothing to do 
with what the men
asked.

* - * - *
Tzahi Fadida
[EMAIL PROTECTED]
Technion Email: [EMAIL PROTECTED]
* - * - * - * - * - * - * - * - * - *

WARNING TO SPAMMERS:  see at http://members.lycos.co.uk/my2nis/spamwarning.html

> -Original Message-
> From: Haifux - Haifa Linux Club [mailto:[EMAIL PROTECTED] Behalf Of Orr Dunkelman
> Sent: Tuesday, July 01, 2003 12:08 PM
> To: Haifa Linux Club
> Subject: [Haifux] [FW for Amihai] Re: 'Hibernate' on Linux
>
>
> Date: Tue, 1 Jul 2003 10:07:50 +0300
> From: Amihai Silverman <[EMAIL PROTECTED]>
> To: Haim Cohen <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: Re: [Haifux] 'Hibernate' on Linux
>
> Shalom,
> You my go to the website hibernate.sourceforge.net download Hibernate for
> Linux and install it on your computer.
>
> Good luck,
> Amihai.
>
> --
>  **  ***
>   **  *   Dr. Amihai Silverman
>**   **   Taub Computer Center
> ** **   Technion - Israel Institute of Technology
>  ***   Haifa 32000, Israel. Phone: 972-4-8293870, Fax: 972-4-8236212
>   *   email: [EMAIL PROTECTED]   Web-site: www.technion.ac.il
>
> --
> Haifa Linux Club Mailing List (http://www.haifux.org)
> To unsub send an empty message to [EMAIL PROTECTED]
>
>
>
>



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




RE: [Haifux] 'Hibernate' on Linux

2003-07-01 Thread Tzahi Fadida
I am no expert on the subject, and i never seen it happen but:
You forgot to mention what type of laptop do you have?
if its a thinkpad or something that uses its technique for hibernation, you can create 
a dos
partition that is as large as your memory (and add some 10mb just to be sure) on the 
first partition
of the disk. i.e. so it will be c:\. the bios will try to wake from hibernation and go 
to
hibernation to that partition using a file called hibernation.sys.
There are some problems that you will need to fix using some utilities that you can 
find for
thinkpad on the net that fixes, times, etc...
better use the apm thingie in combo, or if it has support for this kind of things.

* - * - *
Tzahi Fadida
[EMAIL PROTECTED]
Technion Email: [EMAIL PROTECTED]
* - * - * - * - * - * - * - * - * - *

WARNING TO SPAMMERS:  see at http://members.lycos.co.uk/my2nis/spamwarning.html

> -Original Message-
> From: Haifux - Haifa Linux Club [mailto:[EMAIL PROTECTED] Behalf Of Haim Cohen
> Sent: Tuesday, July 01, 2003 11:35 AM
> To: Nadav Har'El
> Cc: Haifa Linux Club Mailing list (E-mail)
> Subject: RE: [Haifux] 'Hibernate' on Linux
>
>
> I did so, but when turning on the computer, it did not wake up from its 
> hibernation...
> By 'hibernate' I mean to save all the memory contents to disk, so the computer seems 
> like
> turned off.
>
> Thanks, anyway.
>
>
>
>
> @/'
> Haim Cohen
> Software Engineer
> Analog Devices
> Israel
> (972) - 9 - 9715 406
>
> > -Original Message-
> > From: Nadav Har'El [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, July 01, 2003 10:11
> > To: Haim Cohen
> > Cc: Haifa Linux Club Mailing list (E-mail)
> > Subject: Re: [Haifux] 'Hibernate' on Linux
> >
> >
> > On Tue, Jul 01, 2003, Haim Cohen wrote about "[Haifux]
> > 'Hibernate' on Linux":
> > > Hi,
> > >
> > > I have RH-9.
> > > Does some one know how can I hibernate my computer ?
> > > When I had windows-XP, I could hibernate, so I know for
> > sure the hardware supports it.
> >
> > Try running "apm -S" (as root). Is that what you mean by "hibernate"?
> >
> > --
> > Nadav Har'El|   Tuesday, Jul 1
> > 2003, 1 Tammuz 5763
> > [EMAIL PROTECTED]
> > |-
> > Phone: +972-53-245868, ICQ 13349191 |I started out with
> > nothing... I still
> > http://nadav.harel.org.il   |have most of it.
> >
>
> --
> Haifa Linux Club Mailing List (http://www.haifux.org)
> To unsub send an empty message to [EMAIL PROTECTED]
>
>
>
>
>



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




RE: [Haifux] [MSG from Mark Silberstein] Sandboxing in linux

2003-06-24 Thread Tzahi Fadida
I am probably of the mark because you probably know that, but chroot is a sandbox of a 
shell. i am
not a linux programmer, but i think there are libraries for this chroot thing, so 
maybe it will suit
your needs. also, maybe there are already products that uses these libraries for these 
ends.
User Mode Linux, seems exsesive for just one application, and will definetly will 
lower performance
by a few precent. Definetly not, Vmware or plex thingie, since performance will go 
down the drain on
these babies.
Only if this is an application that needs a dedicated server, then i won't rule out 
using the
emulators, otherwise chroot looks like the choice.

* - * - *
Tzahi Fadida
[EMAIL PROTECTED]
Technion Email: [EMAIL PROTECTED]
* - * - * - * - * - * - * - * - * - *

WARNING TO SPAMMERS:  see at http://members.lycos.co.uk/my2nis/spamwarning.html

> -Original Message-
> From: Haifux - Haifa Linux Club [mailto:[EMAIL PROTECTED] Behalf Of Orr Dunkelman
> Sent: Tuesday, June 24, 2003 4:53 PM
> To: Haifa Linux Club
> Cc: Mark Silberstein
> Subject: [Haifux] [MSG from Mark Silberstein] Sandboxing in linux
>
>
> Hello all,
> I am looking for the solution to run application in sandbox. That is, I
> want to control everything the application is doing except of CPU and
> memory accesses.
> I'd be grateful for links. (googling gives thousands ;)
> Thanks
> Mark
>
> --
> Haifa Linux Club Mailing List (http://www.haifux.org)
> To unsub send an empty message to [EMAIL PROTECTED]
>
>
>
>
>



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