Re: Math optimization in... Java?
unfortunately, java indeed is a performance hog in various areas - and just by saying it is not, you're not going to burst anyone's bubble ;) Benchmarks can be found all over the web, don't take *my* word for it. ;) i won't even mention java GUI programs. it could be that you can write a GUI program in java that'll not appear slagish (i've seen some minimalistic java applets that run quite fast) - but looking at the various GUI programs i have met so far, it looks like it is much harder to achieve this with java, then with C++ (or C). sorry - you did not burst my bubble just yet :P~~ Well, I happen to work at a place and in a team of programmers responsible for a very *heavy* sort of speak system. I'm sorry to tell you this again but if we can do image manipulations at run-time and have a very robust GUI then I'd say that kind of nullifies your claim. yes, Java will never be like optimized C++ but people should try to leave their prejudice behind. And yes, excellent GUI in Java is hard to get right. True, the GUI in Java is easy to code and manipulate even so an inexperienced programmer can do it easily, but it won't run well. SWING was designed to be used by pros but it will also work with beginners. I don't have to tell you that MFC for example is far from reaching this level. MFC not convincing enough ? How about Qt or GTK+ ? Whichever toolkit you'd prefer, if it's based on C/C++, we're talking harder work. And btw, writing good C++ code in comparison to writing good Java code is at least an order of magnitude tougher. At the very least it is significantly harder. Regards, Eli = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Math optimization in... Java?
Sharon Dagan wrote: Hi All, Putting the JIT aside for a moment, consider an arbitrary C/C++ application optimized for Xeon - will it run faster, unconditionally, on Itanium? Describe optimized for Xeon. What extensions are you referring to ? (and please don't say SIMD). I guess that 'to get better performance on Itanium' this guy should get an optimized JVM *for* Itanium. In Java, performance varies dramatically depending on the JVM and JIT implementation. I'm not sure what kinds of optimizations are available by different versions of the JRE. Most likely none. Even more likely that you don't really need them (if they are at all possible). Just my $0.02: IBM's implementation of the JVM is *not* optimized for Itanium (and probably won't be). It is optimized, however, for other 64bit processors such as AMD64 and Power4/5. That's a different kind of optimization. In any case, if you write your code properly and you run your program in the correct environment, Java math speed is comparable to native code. To all those people who believe that Java is a performance hogging monster, let me burst your bubble right here and now. Eli = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: C++ problem
Couple of points, 1. In normal circumstances the compiler automatically generates a bitwise copy constructor if none is present. This can be verified easily. Note that in this case, the copy ctor is declared but not implemented which means the compiler will not create a default copy ctor. (Myers explains this very well :). 2. explicit constructors are used to prevent the compiler from converting a basic type to an object, if indeed such a conversion is possible. For example, class A that has a constructor that receives an integer would cause a constructor call in the following code: A a = 5; Why is this ? Even before the assignment operator function is called you have to understand that the result of the expression should be an object of class A. Therefore, the 5 has to be converted to an A. If a trivial manner to do so is possible (as in this case, the ctor only needs an int), the compiler will generate a temporary object and then call the assignment operator. Using an explicit constructor is telling the compiler that he can't perform the conversion. It's like std::string and char *. If the ctor was explicit you wouldn't be able to use code like: string s1 = abc; Explicit ctor means that YOU have to perform the construction yourself (in this case coversion). In order for this code to work you either have to use the proxy method, remove the explicit declaration from the ctor or create an object yourself (not a temporary one). Eli Shachar Shemesh wrote: Hi all, Here is a small program for your viewing pleasure: class a { public: explicit a(int param); a operator= ( a that ); }; int main() { a var1(3); var1=a(5); return 0; } = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: KDE Apps under CVS
On Thursday 22:04:42, Oron Peled wrote: ... QT does not ship these tools as Trolltech probably assume you will use their qmake tool... Yes, I mentioned the possibility of qmake, but but for developing Qt/KDE apps, it is THE easiest tool that I've seen. Exactly. The question is if your project is *only* a QT/KDE app? Many projects have QT/KDE gui but uses many other libraries as well as an example of (non-QT) project with many dependencies: $ ldd /usr/bin/gnomemeeting | wc -l 70 (for the curious, of these maybe ~20-25 are gui related). Would qmake save you work with the other 40-50 libraries? No. Would most of these libraries have autotools macros? You bet. So I would use qmake for pure QT/KDE jobs with almost no other dependencies/options. Real world apps (for some definition of real world), regretfully require build environment which is more complex. There is no doubt in my mind that you're right my friend, just as there is no doubt in my mind that our friends from Trolltech provided us with qmake not only to make our lives easier but to make us use their tools :) The problem with autotools is that they are hard to use if you're inexperienced with them and have to do something *special*. In order to be able to extend autotools and do special feats you need a better understanding that just specifying source files and link stuff in your Makefile.am :) At least there's a free book (although the problem is - you have to READ it hehe) Eli -- Eli Kara Beyond Security Ltd. http://www.beyondsecurity.com/ http://www.securiteam.com/ The First Integrated Network and Web Application Vulnerability Scanner: http://www.beyondsecurity.com/webscan-wp.pdf = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: OT: MySQL question
PostgresQL seems to have something like this, see: http://www.sql.org/sql-database/postgresql/manual/arrays.html (for those who need yet another reason to switch :-) ) Yes, PostgreSQL is a fine DB and there is every good reason to switch :-) It only suffers from two main problems that I can see: 1. It's annoying to create a table with an auto-incremented field (i.e: serial int) For some reason you have to issue 4 commands... go figure their design decision. 2. It still lacks a native Win32 port (for those who need it). This is a big one as it is currently only available for Unix/Linux. Luckily it handles UNICODE and other encodings really well out of the box, as opposed to MySQL :-) Eli -- Eli Kara Beyond Security Ltd. http://www.beyondsecurity.com/ http://www.securiteam.com/ The First Integrated Network and Web Application Vulnerability Scanner: http://www.beyondsecurity.com/webscan-wp.pdf = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: socket shutdown and friends
On Mon, 12 Jul 2004 16:24:10 +0300, Shachar Shemesh [EMAIL PROTECTED] wrote: Gilad Ben-Yossef wrote: Howdie, Someone (i think it was Shachar) asked about shutdown and loosing messages - well, I jsut came across the SO_LINGER socket options (man 7 socket) and though it can help: SO_LINGER Sets or gets the SO_LINGER option. The argument is a linger structure. struct linger { int l_onoff;/* linger active */ int l_linger; /* how many seconds to linger for */ }; When enabled, a close(2) or shutdown(2) will not return until all queued messages for the socket have been successfully sent or the linger timeout has been reached. Otherwise, the call returns immediately and the closing is done in the background. When the socket is closed as part of exit(2), it always lingers in the background. Cheers, Gilad That does not solve my problem, as the whole purpose of the program was to do things asynchronously. Making shutdown block is not an option. Thanks anyways, though. Shachar Hi all, Shachar, I've missed the thread where you describe what your problem is and I can't seem to find it in the Linux-IL archive. I'm actually quite curious about the problem (as always about network programming). If it would bother others perhaps you could send me the problem description privately. Eli -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: retrieving network interface information
On Mon, 12 Jul 2004 12:08:48 +0200, Gershon Geva [EMAIL PROTECTED] wrote: Hi. I have a server (kernel 2.4.20) with a network card and a cellular modem. On that server I run an application That waits for incoming connections on a known port. It is important to me to know to which Network Interface (in this case ppp0 and eth0) each incoming connection belongs to. How do I do it? I know the Solution involves the usage of ioctl() , but the documentation I found about this issue is very scarce. I would appreciate any idea (sample source code could be Even better :-)). Thanks. I'll suggest the following steps (mind you there are a LOT of small details to cover though): 1. Enumerate all interfaces on your server using ioctl's interface option SIOCGIFCONF. It's not trivial to cover all aspects of all interfaces as Stevens clearly shows in his full-blown code that does this exact thing :) The code is in UNIX network programming in the ioctl chapter. I'd suggest AGAINST using it as it's exceedingly long and annoying. (much to learn from it though). Once this is done, keep the IP addresses of all your interfaces in whatever way you prefer. For IPv4 you can just save an array of in_addr types (along with names if you prefer..) 2. When a new connection is establihed, call getsockname to retrieve the IP address of the local end of the connection. 3. Look up the IP you got from step 2 in the array from ioctl(). Since the connection arrived on one of the interfaces, one must match and that is the interface you were looking for. Eli -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Various performance problems
I must say, from my own experience with RH9, it is actually much faster than my old distro (7.3). My educated guess is as good as any but it doesn't *feel* like a kernel problem (hehe, yes I am a Zen master :). I might be tempted to look into the standard C library or any other general component of the system that practically everything uses... Eli On Mon, 15 Dec 2003 19:07:10 +0200, Noam Meltzer [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 This is not the 1st time that I hear that RedHat9 is slower than earlier ver. I think that I read somewhere that the DMA of the HD is turned off in RedHat9, but maybe i'm just fantasyzing. I tried googling a little (but i don't have a lot of time right now for it), but didn't find intersting stuff. Maybe i'll have time l8er, i'll take a look at it.. Noam Shachar Shemesh wrote: | Hi list, | | I have a (couple of) client(s) that have performance problems | across linux distirbutions. That is - they try an operation on a | given platform with a given (redhat both cases) distribution, and | get a certain performance. Then they try the same operation on the | same hardware with a newer distribution, and get considerably lower | performance. | | In one case, the fast distro is RedHat 7.2, and the slow one is 9. | In another I'm not sure what the fast one is, but the slow on is AS | 3. I suspect that RedHat screwed something up with their newer | kernels (perhaps something incorrectly backported from 2.6?). | | So far, I have seen neither computers myself, and I only had chance | to do repetitive try this, what now? with one of them over the | phone. The problem is that nothing shows problems! The tasks seem | almost unrelated. In one case it's copying stuff over the net to | another computer (1:2 performance ratio), in another it's running | ./configure (1:4 ratio). In both cases, there does not appear to be | any clear-cut curlpit. In one case I asked the client to try out | the 7.2 kernel with the 8 distribution, but I don't have the | results in yet. | | The questions: a. Does anyone have a recommended benchmarking tool? | I found this page (http://lbs.sourceforge.net/), but I'd really | rather not start messing around with each and every one of those | until I find the one I like. If anyone here has prior experience, | I'd love it if you could share. b. Occasionally, I get a system | that responds slow, but aside from a high load average, there | seems to be nothing wrong with it. CPU is idle most of the time, | etc. Any ideas how I can find out what and why is going on? | | Many thanks, | | Shachar | -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE/3eo9cgxJvekqy4kRAtERAKCVUZZoFjE0pzNULE2+Iujc4YVKlgCdED4m GbY35NlAMMKOu9KdGcbsHI8= =xaUq -END PGP SIGNATURE- = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Pixelated output when exporting from Lyx to PDF
Hello all, Not too long ago I was still using Lyx version 1.2.x to write my technical papers. It used (as some of you must know) the xforms frontend. Now that I've migrated to a newer version of Linux (and KDE, etc...) I'm using the newer Lyx with the Qt frontend. Now, this shouldn't matter much when exporting documents but I think that *something* is not quite right in my Lyx installation. I haven't changed any important things. I still have the same heblatex/ivritex macros installed (heck I'm writing in english anyway :) What's weird is that before the upgrade, exporting using pdflatex produced really smooth-looking and beautiful PDF files and using export to PDF gave pixelated output. Now both produce pixelated PDF files and I've no clue as to why. What I want to do is basically find how to control the output. Are there any special configuration files used when conevrting from DVI to PDF ? Are there any issues with fonts I should be aware of ? No one seems to know.. Eli -- We can't afford to be innocent, Stand up and face the enemy, It's a do or die situation, We will be Invincible!! Invincible - The Legend of Billy Jean = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Pixelated output when exporting from Lyx to PDF
Well, After reading the short but informative section and searching using Google and even trying to figure out what is going on manually from the files I think I understand the problem. According to the manual, Lyx uses the T1 encoding, and thus the newer EC fonts. I'm assuming that's because of the multilanguage support, right ? It can easily be verified using dvips. Here is the output (part of it): kpathsea: Appending font creation commands to missfont.log. dvips: Font ecrm1728 at 8000 not found; scaling 600 instead. dvips: Such scaling will generate extremely poor output. Exactly what is desribed in the manual. What I don't quite understand is why everything was fine with Lyx 1.2.x. I mean, what's the difference ? Lyx 1.2.x had multilanguage support as well. Did it not use the newer EC fonts and/or the T1 encoding ? So, adding the ae package is the only option (aside from using pslatex) ? Eli On Sunday 14 December 2003 06:16 pm, Dekel Tsur wrote: On Sun, Dec 14, 2003 at 04:44:11PM +0200, voguemaster wrote: Hello all, Not too long ago I was still using Lyx version 1.2.x to write my technical papers. It used (as some of you must know) the xforms frontend. Now that I've migrated to a newer version of Linux (and KDE, etc...) I'm using the newer Lyx with the Qt frontend. Now, this shouldn't matter much when exporting documents but I think that *something* is not quite right in my Lyx installation. I haven't changed any important things. I still have the same heblatex/ivritex macros installed (heck I'm writing in english anyway :) What's weird is that before the upgrade, exporting using pdflatex produced really smooth-looking and beautiful PDF files and using export to PDF gave pixelated output. Now both produce pixelated PDF files and I've no clue as to why. RTFM (Extended.lyx, the section on PDF export) = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] -- We can't afford to be innocent, Stand up and face the enemy, It's a do or die situation, We will be Invincible!! Invincible - The Legend of Billy Jean = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: MSN messanger for linux and linux compatible webcam
Maybe the new version of KMess ? I have yet to unpgrade my Qt libraries to support it but from what I understand it supports the newest MSN protocol. Eli On Mon, 01 Dec 2003 23:29:04 +0200, Diego Iastrubni [EMAIL PROTECTED] wrote: , 1 2003, 22:52,Shachar Shemesh: Hi gang, Two questions, on the same thread. 1. Where can I find a linux compatible webcam? How much is one expected to cost? 2. Is there a Linux MSN messanger client that supports the new features? In particular, the voice and camera connection? none that i know. (kopete, gaim, others?) Many thanks, Shachar -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
#ifdef vs. #if defined(...)
Hi list, I'm writing a portable set of classes for a network application (the classes will be reused) for Win32 and Linux. I don't wish to use external libraries since those are simple primitives. I'm generally using some #ifdef statements (although I've minimized their use using a header file for a class and 2 source files (one per platform). Now, as it seems, #ifdef doesn't support something like this: #if defined(..) .. #elif defined(..) .. #endif I only recently discovered the GNU preprocessor actually supports those (hehe, dumb, i know..) but I was wondering if anyone knows the earliest version of Linux in which this set of directives is supported on. (I would like to be able to compile this thing on RH6.2, for example). My biggest concern is portability. I'd like to make sure the code compiles nicely on any system this thing is going to be compiled on :) Thanks to anyone who might know. Eli PS. A related question I once posted was how to detect the platform on which a program is compiled on. Seems there are plenty of macros defined in various platforms. Encountered a few good ones in Doxygen's headers :). -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Cost of qt development license
On Sun, 31 Aug 2003 19:26:01 +0200, Alexander Maryanovsky [EMAIL PROTECTED] wrote: At 17:54 31.08.2003 +0300, Aviram Jenik wrote: Hi, We are currently debating on what GUI infrastructure to use for one of our products, and the main downside of qt seems to be its constraining license. Can anyone shed more light on this subject? How much does the qt license cost to develop a non-GPL product that uses qt library? Does it also apply for tools like kdevelop? Are there any free (read: completely free, with no we're-free-but fine print) alternatives other than gtk and WxWindows? Java/Swing? Java/SWT? Not Free, but certainly free. Alexander (aka Sasha) Maryanovsky. That might work, I'm a great supporter of Java. Again, it all depends on the type of application. If it's a local administration tool, that might be a viable option. A remote administration tool for example would require a little extra. Other interesting options exist, like HTML and server-side code. User interfaces such as those found in routers are a prime example. Aviram, can you provide some more details ? E -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: [SOLVED] Re: YES IR parameters
I've a question on the matter: How do you go about setting up such a system ? What are the hardware/software requirements ? Eli On Mon, 18 Aug 2003 13:59:45 +0300 (IDT), Jonathan Ben Avraham [EMAIL PROTECTED] wrote: Hi, The YES remote control is apparently an OEM Pace RC 10. That solved the problem, as the Pace RC 10 unit is documented. Thanks, - yba On Mon, 18 Aug 2003, Boris Ratner wrote: If there is a way to record the signals from the remote control and reuse them? They might be using non-standard codes. kind regards Boris. Jonathan Ben Avraham [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 18/08/2003 08:39 To:ILUG [EMAIL PROTECTED] cc: Subject:YES IR parameters Hi linux-il list, I want to control my YES settop box using an IR transmitter on a Linux box. The problem is that the YES box only recognizes the command I send about 50% of the time. Has anyone controlled a YES box reliably from Linux? - yba -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: [OT] Java linkage
This is indeed a viable and good solution. What strikes me odd is that you have the sources, you KNOW the changes made (obviously you also document them :). You should at least have an idea about your class interfaces. Following good OO design for your class interfaces usually means almost no problems in this sort of situations. Also, any added functionality that imports other classes not found in build 18 should be trivially obvious.. Eli On Thu, 14 Aug 2003 00:22:02 +0300, Oded Arbel [EMAIL PROTECTED] wrote: On Wednesday 13 August 2003 19:04, Tal Achituv wrote: I'm looking for a solution for internal affairs :-) not with clients... we do that class changing thing allot here, and looking for a way to resolve this dependency issue.. I have the sources.. no need to decompile... here's the problem: I have to supply a patch for a software build 18, and am currently working on build 22 of the same software. I wonder if I can just give them the class from the b22 and put it instead the patch requiring class of the b18... Now I need to wait until runtime to see if this class really fits... :-) I don't think I understood the issue here : you simply want to know if your class from build 22 will work with the system from build 18 ? if you have a decent configuration management (versioning and building system) simply reconstruct build 18 somewhere safe, put in the new class and run it - see what the JVM complains about. another options is simply to simulate build 18 environment while you compile - set the compile class path to only include source versions from build 18. then the compiler itself will tell you what you are missing. while it is true that linking only occures at run time, the compiler tries its best to make sure you have all your linking dependencies in place by checking them at compile time. As Amos noted - this is only good if you're not using dynamic class loading. if you do, then all bets are off and you are on your own. -- Oded = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Good english linux books
Linux Administration, a beginner's guide. Very good IMO. Mine deals with RH6.1 but it's a good starting point and I'm sure there is a newer version or something.. Eli On Thu, 17 Jul 2003 14:21:47 +0300, Shachar Shemesh [EMAIL PROTECTED] wrote: Hi there, Is there anyone here who can recommend to me a good Linux begginers book, preferably from the administration/security standpoint. Shachar -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Attaching a driver name to eth-n
Regarding interfaces that are up, consider looking at the source of ifconfig (yes I know it's a lame suggestion but it works :). With interfaces that are down it's a bit more problematic. I'm guessing looking for configuration scripts or aliases for the relevant modules might do the trick (??). Eli On Sat, 19 Jul 2003 00:40:31 +0300 (IDT), Matan Ziv-Av [EMAIL PROTECTED] wrote: On Fri, 18 Jul 2003, Itay 'z9u2K' Duvdevani wrote: I am looking for a way to do these two: 1. Finding out how many eths the system have (eth0, eth1 ... ethn) 2. Knowing the string of each eth as shown in lspci I'm trying to write an app that will output something like: # ./geteths You have 2 ethernet cards, eth0: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ eth1: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ In general it is not easy to do, since ethernet devices can be renamed arbitrarily. But I think of two ways that might work in the vast majority of cases: 1. Search dmesg for lines such as eth0: VIA VT6102 Rhine-II at 0xe800, 00:50:8d:48:2d:e7, IRQ 11. eth2: NatSemi DP83815 at 0xfd002000, 00:0b:8c:ff:ff:02, IRQ 5. 2. Use a modular kernel, and for every interface, bring it up and see which module has its ref count increased. -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Cross platform code
On Fri, 04 Jul 2003 12:03:26 +0300, Eliran Gonen [EMAIL PROTECTED] wrote: Shlomi Fish [EMAIL PROTECTED]: Python is your friend. http://www.python.org Or Perl - http://www.cpan.org/. Or Ruby... There's no need to discriminate against languages. It was just an example. Generally, interpreted languages are doing quite a good job when it comes to portability. Well actually, if I wanted to save myself the headache I would have done it in Java :) Extremely easy to develop, I just love that language. There is only one major drawback which annoys me and that's speed. This application I'm writing has to be able to handle many requests per second if need be. This is the only reason why I wouldn't wanna do this with an interpreted language, or a bytecoded language for that matter.. :-/ Eli -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Cross platform code
Hi all, For the life of me, I can't seem to find anything that will help me write code that can compile under Linux AND Win32. Basically I want to write a small network application (details later) that will be cross platform. The problem is very basic: Linux and Win32 have different include files for some things and placing #include directives inside #ifdef doesn't do the trick (it nullifies the #ifdef possibly ?). I'm not sure how to go about this and I couldn't find anything useful elsewhere! Most projects just have a *nix source tree and a Win32 source tree (that I could see). I don't want to use autotools as this project is small, quiter small. Any tips ?? Thanks, Eli -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: C flame (was: FS/OS in schools)
On Sat, 07 Jun 2003 17:49:39 +0300, Vadim Vygonets vadik-linux- [EMAIL PROTECTED] wrote: I wasn't talking about speed and overhead, I was talking about all the different features of C++. Vadik. How do you consider those features as bloating ??? Those features are great for good program design. Eli -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Equipment (clarification)
On the other hand (and in a totally non-related non-attached way), I am looking for some junk myself. I don't necessarily expect a trade, although that would be nice. What kind of junk ? ;-) Eli BTW, I've been to BeyondSecurity. Nice place... :) -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Equipment
Damn, I could use an ISA soundblaster... hehe Couldn't find one anywhere! Eli On Sun, 02 Mar 2003 12:20:23 +0200, Aviram Jenik [EMAIL PROTECTED] wrote: My contribution to the junk pile: - Several 10Mb combo network cards (ISA) - 10b2 (yes, with a BNC connector only) net card (ISA) - Buslogic SCSI adapter (ISA) - 33.6k modem/sound card combo (ISA) - ~10 EDO RAM chips (in sizes from 1MB to 8MB) - several soundblaster sound cards (ISA) - 22.8k modem/sound card combo (ISA) - various ISA modems in all speed and sizes (but no greater than 33.6) including one US robotics(!) - unidentified PCI SCSI card - ATI Rage IIC AGP - S3 Virge AGP w/line out - several ISA video cards - one very interesting ISA IDE card with on-board slots for RAM(!) All of the equipment MAY OR MAY NOT be in working condition! In exchange, I'm looking for any IP-based machines, either new or old. This means switches (if they talk IP), routers, network devices, old Macintosh machines, old Sparqs, whatever. As long as they can boot and have an IP address, I'm interested :-) - Aviram = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: graphics programming (more details)
I myself would go bltting a 2D image using OpenGL. Assuming of course you actually need fast block transfers, which I'm almost sure you don't. Well, you do, for smoother animation, but that's diferent (in order to do double buffering). However, fractals and other parametric generated graphics can be done in any of the APIs. Eli On Sun, 23 Feb 2003 08:50:29 -0800 (PST), Shamir Adi [EMAIL PROTECTED] wrote: Sorry, I forgot the little things... What I want to do is 2D graphics. A good example of what I want are (but not limited to) fractals. The language is C/C++. No 3D, no UI, no work with image files (jpg, gif etc.) And no connection to the famous Adi Shamir either... Thanks for the comments until now. Adi. __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Reply to list vs. no - suggeted solution to accomodate everyo ne
I personally do this too, though... sometimes I forget. Since I don't post that often, it's not too much of a problem to edit the To: field, and I never have more than 1 address for the list there to edit anyway. Eli On Tue, 18 Feb 2003 12:21:34 +0200, [EMAIL PROTECTED] wrote: I'm not familiar with previous instances of this discussion, I just know I'm very annoyed from having to keep editing the to field every time I reply to this list. Why are there three addresses for this list? -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: My ADSL connection report
Hey, I've a question: Why did you have to recompile your kernel ? Eli On Mon, 17 Feb 2003 10:50:57 +0200, Eli Segal [EMAIL PROTECTED] wrote: Hi all, well, I went and bought the samsung ADSL modem for 249 nis, and an ST Lab ethernet card (Realtech chipset) for 70 nis Ethernet: On box it says that this card supports linux, and to my surprise there are instruction (on the supplied disk) on how to install the card on linux (just load the 8139too module) ADSL: Well.. this took time as I didn't knew nothing about networking nor adsl installation so after few attempts i turn to the bezeqint support, and, I was pleasenlty tell you that they instruct me step by step through the installation on my Debian system I talk to this guy barak, who also has debian, and after done with him, all i needed is to recompile my kernel (once more ofcourse) and WALLA ! adsl is here ! thanx for your comments now faster that ever Eli = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: ADSL modem
My suggestions, You might want to call you ISP and let them know to forget about the PCI modem. I'm not sure on the status of drivers for PCI ADSL modems but I'm sure it's far from perfect. The best way is to get an Ethernet modem. The Alcatel would obviously be the 1st choice but the old versions are not sold anymore and the new ones cost a bit much. Therefore you can get the Samsung ethernet modem which costs 240 nis at Bezeq store. There is more than one reason for doing this: 1. By getting an ethernet modem you remove the necessity of your OS supporting an exotic hardware such as an ADSL modem. In place, your OS only needs to support an Ethernet card and support for those is GOOD, VERY GOOD! :-) 2. By not getting a modem from the ISP, you don't need to commit to any time period. This is quite important nowadays. 3. The Samsung is much better than either the USB or the PCI crap modems. It will not give you a hard time, probably.. :) Eli PS. I forgot a few reasons... sorry. On Sun, 16 Feb 2003 09:27:47 +0200, Eli Segal [EMAIL PROTECTED] wrote: I've ordered ADSL from yes and I've asked the PCI modem so they wont bring me the usb thing will it work on my Debian ?? pls answer quick thanx Eli = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Fwd: Re: ADSL modem
--- Forwarded message --- From: Voguemaster [EMAIL PROTECTED] To: Eli Segal [EMAIL PROTECTED], Linux-IL [EMAIL PROTECTED] Subject: Re: ADSL modem Date: Sun, 16 Feb 2003 19:39:09 +0200 My suggestions, You might want to call you ISP and let them know to forget about the PCI modem. I'm not sure on the status of drivers for PCI ADSL modems but I'm sure it's far from perfect. The best way is to get an Ethernet modem. The Alcatel would obviously be the 1st choice but the old versions are not sold anymore and the new ones cost a bit much. Therefore you can get the Samsung ethernet modem which costs 240 nis at Bezeq store. There is more than one reason for doing this: 1. By getting an ethernet modem you remove the necessity of your OS supporting an exotic hardware such as an ADSL modem. In place, your OS only needs to support an Ethernet card and support for those is GOOD, VERY GOOD! :-) 2. By not getting a modem from the ISP, you don't need to commit to any time period. This is quite important nowadays. 3. The Samsung is much better than either the USB or the PCI crap modems. It will not give you a hard time, probably.. :) Eli PS. I forgot a few reasons... sorry. On Sun, 16 Feb 2003 09:27:47 +0200, Eli Segal [EMAIL PROTECTED] wrote: I've ordered ADSL from yes and I've asked the PCI modem so they wont bring me the usb thing will it work on my Debian ?? pls answer quick thanx Eli = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: samsung PPPoE instructions?
Hmmm, I don't have a URL but I know the Broadband forum in Tapuz have a site with instructions for using PPPoE, for both Linux AND Winblows. In any case, a driver is only needed for the Ethernet card, just reminding you :) Eli On Sun, 16 Feb 2003 10:54:43 +0200, Hetz Ben Hamo [EMAIL PROTECTED] wrote: Hi, I'm on my way to install a PPPoE Samsung to a friend on RH 8. I didn't find the instructions/howto on IGLU's. Could someone give me a URL for instructions (and, if needed, a driver) please? Thanks, Hetz = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: ADSL modem
Well, I'm not sure about newer kernels but from my experience, the linux kernel doesn't have built-in support for some Intel chipsets. It actually surprises me. I had to compile a kernel module for an onboard chip (forgot which) on my RH 6.2 (yes, it still works :) ). Eli On Sun, 16 Feb 2003 14:46:54 +0200 (IST), Tzafrir Cohen [EMAIL PROTECTED] wrote: On Sun, 16 Feb 2003 [EMAIL PROTECTED] wrote: As far as I can tell Linux supports practically any card you'll find in the market. What I would do if I were you is: 1. see what your favourite store offers, make double-sure they give you the right model number (make it clear to them that if it doesn't work with your PC then you'll give it back for money) Na... The last card I saw had on its back works with windows NT and also something like works with Novell and even mentioned it had drivers for SCO! . The vendor has not bothred updating this box for some 4 years! The diskette inside had some linux drivers (some .c files, and a README on how to compile them. Needless to say that the card is well supprted with linux , w2k, xp, etc. In other words: PCI ethernet cards are well supported under linux. :-) -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Linux Administration Bible recommendations
Hi, I'd recommend the following book: Linux Administration: A Beginner's Guide - Steve Shah This book, albeit older is quite good as a starting point for administration. It also touches the usage of the CLI and it covers some very basic administration functions. It even shows how to incorporate your linux server into a windows workgroup. The only problem with it is that it covers RH 6.1 and many things have changed since then... Eli On Fri, 14 Feb 2003 10:31:42 +0200, Oleg Goldshmidt [EMAIL PROTECTED] wrote: Hi, A friend of mine asked me for a recommendation for one or two comprehensive intermediate level (i.e. not for complete novices or idiots) reference books on Linux system and network administration, and though I am usually able to find the right FM for a question at hand, I found myself unable to recommend any single reference source in a form of a dead tree or parchment. Assuming responses like Why does he need a book at all? are redirected to /dev/null, can anyone recommend anything generic enough and comprehensive enough? Updated and correct to a reasonable degree... It's OK if it is specific to a major distro. If it isn't - so much the better. If there are none - it's a good answer as well. -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Fwd: Re: OT: PROG question: regarding returning errors in libraries
--- Forwarded message --- From: Voguemaster [EMAIL PROTECTED] To: guy keren [EMAIL PROTECTED] Subject: Re: OT: PROG question: regarding returning errors in libraries Date: Fri, 07 Feb 2003 15:52:36 +0200 Well, I can only speak from my exprience. When I wrote a mail relay server, I've used a model where each module defines it's functions and the error codes they can generate. For example, the module that handles all TCP related issues contain several wrapper functions and these functions are returning predefined error codes to the calling function. This is part 1 of the error reporting scheme. Part 2 is all about logging errors but i'll get there soon enough. As for the caller, I've implemented a way to take the error code and generate a specific string from it, much like perror does for standard library errors. In addition I've included the optional user string to be added, along with another string that is automatically pre-added that actually represents the function name. The function names are also predefined in my header files and there is a lookup function that returns the function name per ID that you pass to it. Using this I could also write a nice logging mechanism that tells when an error occured (say, a broken pipe when sending data to the TCP socket) or some other condition occured and sends the info either to syslog or to some specific log files. So to sum up, the method I've used is predefined function error codes per function, per module. In addition, function IDs that can be added to the error string that can be generated with a function that behaves much like perror (or GetLastError if you'd like). Thinking back, I might've used a scheme more closely related to exception handling, but for plain C. The only annoying thing with my scheme is that there are literally LOTS of error IDs and you have to be very careful when you assign new ones. You don't want collisions naturally. Also, adding a bunch of functions to a library is also annoying since you need new IDs and add the necessary names to your lookup function etc.. Eli i wonder what people here have to add regarding these models, or regarding other models (again - for the C language) they have used, or wanted to try to use. if you comment - please state if you're talking about somehting you used, something you've started using lately, or something you didn't yet use. or if its soemthing you've read about somewhere. and please be fair - i.e. when you describe your magnificent no-problem error reporting system, please also state what are the bad parts of it - where it was annoying, what in it would you improve if you had the time, or if you had an idea how to do, etc. thanks, -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Samsung ADSL modems
Alcatels are pretty rare commodity now. I've heard you can find some at BezeqStore but whether they've got some in their inventory at the moment, who knows. I've also heard that Bezeq have ordered more Alcatels. I wonder when we'll see those... Eli 20/01/03 12:22:51, Ishai Parasol [EMAIL PROTECTED] wrote: - Original Message - I don't know about driver for Linux for the ADSL modem, simply because my boss didn't give me any sample to test and play with, but again - GO buy an Alcatel, even at eBay, which you can find for $20-$50 a piece. Any idea where can I buy one of those (or the pro one) in Israel ? Ishai. = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] There's so many different worlds So many different suns And we have just one world But we live in different ones.. - Dire Straits - Brothers in Arms = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Samsung ADSL modems
Indeed that was what they've intended. However, their Samsung modems have failed completely (from my understand they discovered a problem with them) so they've stopped issuing them. The Rotal and others are causing problems so Bezeq decided to order another batch. Eli 20/01/03 19:30:21, Hetz Ben Hamo [EMAIL PROTECTED] wrote: On Monday 20 January 2003 17:37, voguemaster wrote: Alcatels are pretty rare commodity now. I've heard you can find some at BezeqStore but whether they've got some in their inventory at the moment, who knows. I've also heard that Bezeq have ordered more Alcatels. I wonder when we'll see those... I had on the contrary things - that Bezeq decided to stop ordering Alcatel modems. Thanks, Hetz There's so many different worlds So many different suns And we have just one world But we live in different ones.. - Dire Straits - Brothers in Arms = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Samsung ADSL modems
Muli (and others), Just for the record, examples of problems with ADSL modems such as the Samsung and others can be easily found in Tapuz's networking and broadband forum. As for myself, I wouldn't trade my Alcatel for anything right now.. I'm actually going to call 199 and buy it from them (costs 240 nis as you know). Not only that would make it MINE, I would also stop paying for leasing it (20 nis per month, for.. well... ever!). Eli 19/01/03 10:28:39, Muli Ben-Yehuda [EMAIL PROTECTED] wrote: On Sun, Jan 19, 2003 at 10:06:30AM +0200, Hetz Ben Hamo wrote: If you have Alcatel, then stick with it. Don't replace it (yet). I have Orckit, and I'm very happy with it thus far. The problem is that Bezeq is making noises as though they are replacing their entire Merkaziya, and you have to switch to the Samsung modem. I have heard lots of problems about the Samsung ADSL modem (external) Such as? please be specific, maybe we can solve some of them. -- Muli Ben-Yehuda http://www.mulix.org = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] There's so many different worlds So many different suns And we have just one world But we live in different ones.. - Dire Straits - Brothers in Arms = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Close all open sockets
Hi Michael, Well, getting the list of open sockets and their respectable processes is ONE thing, but closing those file descriptors that 'reside' (to remind you) in different processes' address space is an ENTIRELY DIFFERENT thing altogether. That's basically what you need to do. However i'm unsure on the mechanism of how to do this. How does one share FDs with a process that didn't intend to share them in the first place ? The proc filesystem should contain info on the FDs but i don't know if it would be of any help... Eli 05/01/03 17:06:04, Michael Sternberg [EMAIL PROTECTED] wrote: Hello How can I gracefully close all TCP connections from external program (i.e. those sockets were opened not by this program) on shutdown ? I'm looking for a way to send RST or FIN to both sides of all currently established TCP connections of computer that I'm run on it.. Let's say I can get a list of such connections from `netstat -an | grep ESTABLISHED` or even better - from `lsof | grep ESTABLISHED`. What I'm doing next ? Thanks, Michael. P.S. I tried to use tcpkill from dsniff package without much success.. P.P.S. Of course I can write some spoofer that will create RSTs and fill in appropriate IPs/ports. The problem is to put right sequence numbers.. -- = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] There's so many different worlds So many different suns And we have just one world But we live in different ones.. - Dire Straits - Brothers in Arms = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: You asked - we do !
I'll definately be attending. However, I'd like to suggest re-arranging the priorities a little :-) Seems more logical, at least to me, to have printing and hardware issues before development and the web server thing. Just a thought... Eli 04/12/02 13:57:24, Eddie Aronovich [EMAIL PROTECTED] wrote: Following some requests for lectures about Linux at Tel-Aviv University ( Ariel Biner Didi Bar-David talked about it over the mailing list) - it comes to be true. For now there are lectures planned once on 2 weeks, on Mondays. The coming lectures appear on the web site: http://www.cs.tau.ac.il/lin-club/ Ideas are welcomed. The lectures are open for all. According to the number of participants further activities would be planned. C U Eddie = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] There's so many different worlds So many different suns And we have just one world But we live in different ones.. - Dire Straits - Brothers in Arms = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: units - was [OT] Story: The case of the 500-mile email
02/12/02 11:52:53, Ehud Karni [EMAIL PROTECTED] wrote: On Sun, 01 Dec 2002 19:07:50 +0200, voguemaster [EMAIL PROTECTED] wrote: 3. Using SIGALARM. I forgot how this is implemented. Never did go into this since it has problems (also among platforms). SIGALARM can be used by setting a signal handler (that does nothing). It functions by interrupting (and thus terminating) the current IO operation. You activate the timer by calling `alarm' (simpler, whole seconds) or `setitimer' (more complicated, allow microseconds). I use both `select' with timeout, and `alarm' in client-server TCP applications. Was merely saying I forgot the details of it. Using SIGALARM is a bad scheme for timeouts. The ping proves nothing. Most of the ping delay is computing delay caused by the NICs and the switches (and routers and bridges for WAN). Some of the delay is caused by the bandwidth. Thanks for saying exactly what I did. The ping shows that information on the network doesn't even come close to the speed of light. That was my point. Eli There's so many different worlds So many different suns And we have just one world But we live in different ones.. - Dire Straits - Brothers in Arms = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Alternatives to Mozilla
there you go. the fact that IE runs slow on some hardware, does not mean that every other browser has to run as slow. if we looked up to misrosoft for comparing stuff, linux would have crashed every few days and we'd be filling fine. is that the kind of standard you're looking for? Of course not. However I've been hearing arguments against Linux products such as OpenOffice.org and KOffice being much less robust or having poor performance in comparison with the MS Office products. Comparing browsers is inevitable. Some people also claimed that one of the best advantages with IE is the fact that it takes next to no time for it to load up (since most of it's components are present in memory already, in part). I'm not sure why Mozilla is so bloated or runs poorly on slower systems. I don't even know the effect of the desktop environment on the performace. We know there are differences in performance between desktops and window managers. I'd guess in order to measure the performance of Mozilla optimally, we should run it under the simplest, fastest desktop + WM. Can you honestly say that the computer's sluggishness is caused *only* because of Mozilla ?? not even by a combination of Mozilla and the desktop environment ? That's not great evidence you know... Eli There's so many different worlds So many different suns And we have just one world But we live in different ones.. - Dire Straits - Brothers in Arms = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: units - was [OT] Story: The case of the 500-mile email
01/12/02 07:55:04, Ira Abramov [EMAIL PROTECTED] wrote: second that sendmail as a user process, manages it's own TCP connection timeout when that's a kernel thing. I'm no great programmer, but I think creating a TCP connection is a blocked call and the timeout is fixed in the kernel Actually, it's quite easy to create specific timeouts. It's possible to specify timeouts in more than one way: 1. Using the SO_RCVTIMEO and SO_SNDTIMEO socket options on a file descriptor will cause it to have timeouts applied, almost. It's actually an inactivity timer, not a *real* timeout mechanism. Those two options are not even required by Posix.1g though, been added since BSD 4.3. Note: not all implementations support these new options. 2. Using select() to wait on a non-blocking file descriptor. This is the prefered way and quite a good one I might say. It allows the programmer to place any desirable timeout on a read or write operation. 3. Using SIGALARM. I forgot how this is implemented. Never did go into this since it has problems (also among platforms). Regarding the speed of light, beeing a physicist myself I have to agree :-) The signals don't even come close to traveling at the speed of light, as any ping can show... Eli There's so many different worlds So many different suns And we have just one world But we live in different ones.. - Dire Straits - Brothers in Arms = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Alternatives to Mozilla
when i say something is bloated, i mean it takes too many resources. as you quite well know, two programs doing the same things can use different ammounts of resources. in fact, the same program can do the same thing in two manners - one optimized and one not. And what would you say were the minimum system requirements for Mozilla to run with (not too sluggish) ??? I can tell you exactly how the computers in the CC at TAU are behaving with IE (the computers in the basement). The are all P2's I think, and most of them act sluggish as well with IE, so I wouldn't just come to Mozilla with complaints. Eli There's so many different worlds So many different suns And we have just one world But we live in different ones.. - Dire Straits - Brothers in Arms = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: [OT] LyX and LaTeX
Of course there is direct TeX/LaTeX support in LyX. Simply go to insert-TeX (CTRL-L in the default keybinding) and enter your TeX code in the box. Obviously, but since I've no real knowledge in LaTeX, it would be pointless. That's what I was saying by no direct LaTeX for me... E This is the single most important feature of LyX. It makes it an open-ended application and enable TeX power users to complete missing features (e.g: tables in LyX-0.7 before it has good table support). BTW: I which more GUI apps had this capability of exposing the internal working to power-users. You get the best of both worlds: GUI for simple tasks and power for what GUI cannot express. (another good example is ddd(1) which exposes the gdb(1) prompt). Oron Peled Voice/Fax: +972-4-8228492 [EMAIL PROTECTED] http://www.actcom.co.il/~oron 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 There's so many different worlds So many different suns And we have just one world But we live in different ones.. - Dire Straits - Brothers in Arms = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: [OT] LyX and LaTeX
But then again: if you want to put an image here, don't put it in a float. Indeed, but it's customary to have a caption below a figure (sometimes above) and as far as I can tell, the only *good* way of doing this is using float figures. Eli -- Tzafrir Cohen mailto:[EMAIL PROTECTED] http://www.technion.ac.il/~tzafrir There's so many different worlds So many different suns And we have just one world But we live in different ones.. - Dire Straits - Brothers in Arms = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Writing Mixed Hebrew/English Documents on Linux
Have you tried LyX with the Heb-LaTeX and the necessary KB bindings etc.. ?? It can export to pdf and html, although I'm not sure how well the html would look in different browsers (I haven't tried it yet). Eli 28/11/02 18:22:26, Shlomi Fish [EMAIL PROTECTED] wrote: On Thu, 28 Nov 2002, Tzafrir Cohen wrote: On Thu, 28 Nov 2002, Shlomi Fish wrote: Hi! I have began writing a story title The Pope Died on Sunday which is written in Hebrew but some words and sententences need to be in English. You can find it here: http://t2.technion.ac.il/~shlomif/humour/Pope/ In any case, for now I write it in MS Word XP which is very convenient and nice for these kind of things (I use very little formatting, no sectioning, etc.). The problem is that it cannot run on Linux where I do most of my work and so have to boot the computer to Windows to work on it. I'd like to find a convenient alternative that will enable me to write mixed Hebrew/English documents. Very convinient, but produces very large html. Have a look at the html code. Any paragraph that includes enough mixed English/Hebrew is loaded with formatting codes. I think that it can be easily slashed (and be made better, in the process) The magic html entities you'll need are rlm and lrm (for HTML readers among you: amp;rlm; and apm;lrm;) I don't care too much how big the HTML is as long as it looks well in Internet Explorer and in Mozilla (which it does). I know it is very bloated and does not validate, but it is a good HTML. What I need is: 1. Ability to convert to logical HTML (very important). 2. Ability to produce PDF (not necessarily the best PDF) 3. Ability to be inputted into Word somehow (I guess it can input any HTML document that is valid enough). Now, working on Hebrew/Latin LaTeX using he2 is very nice, and I can easily trade it for Word. The question is how well can I generate HTML with it? Any other options? Open Office? AbiWord? (I don't need tables) I had bad experience with Mozilla Composer which is full of bugs and annoyances. Will one of the KDE or Gtk2 editors do for Bi-Di HTML editing? BTW: OpenOffice and Abiword run on a number of platforms. Whatever. I need something that runs primarily on Linux. MS-Word, OpenOffice-Writer and AbiWord (And Lyx) are word processors. You can't compare them to text editors. In this case, I can. I need something in which I can write Hebrew and English and produce good output without losing my mind. I don't care if it's a text editor or a word processor - I just need something that will do the job well. I also don't like depending on a program I can't run from the shell (lyx can be run from the shell: at least to export to any format from an existing lyx document, BTW), because time and again I needed to copy the file from another place and 'make copy' or 'make mail' or 'make print' in the last minute. Very well, building the files entirely from a shell script would be a nice bonus. But I'm still waiting for an answer. Can Mixed Hebrew/English LateX be easily converted to good HTML that can be viewed on MSIE and Mozilla? Can I simply use a Unicode and Bi-Di enabled text editor to write HTML. (no gvim is not the answer - I don't want to reverse and reverse again the HTML) Regards, Shlomi Fish -- Tzafrir Cohen mailto:[EMAIL PROTECTED] http://www.technion.ac.il/~tzafrir -- Shlomi Fish[EMAIL PROTECTED] Home Page: http://t2.technion.ac.il/~shlomif/ Home E-mail: [EMAIL PROTECTED] Let's suppose you have a table with 2^n cups... Wait a second - is n a natural number? = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] There's so many different worlds So many different suns And we have just one world But we live in different ones.. - Dire Straits - Brothers in Arms = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Writing Mixed Hebrew/English Documents on Linux
That reminds me, I've been messing with float-figures in LyX but don't seem to be able to put them in the proper place. I've used the '!ht options for floats but in any case, when lyx doesn't have enough space left in a page it will stuff more text into it and the figure on the next page. What is weird is that I've had 2 floats in a document. On the page I've inserted them there wasn't enough space, but LyX didn't put it on the next page either!. In fact, it placed the two figures 2 pages afterwards, in a diff section. Any tips on float placement I should know ? Another thing is, is it possible to do double-column documents (such as in many academic papers) ?? I'm assuming it can, but I haven't found anything on this in the user guide. Eli 28/11/02 23:40:11, Oron Peled [EMAIL PROTECTED] wrote: On Thu, 28 Nov 2002 18:22:26 +0200 (IST) Shlomi Fish [EMAIL PROTECTED] wrote: But I'm still waiting for an answer. Can Mixed Hebrew/English LateX be easily converted to good HTML that can be viewed on MSIE and Mozilla? Can I use LyX for several years (English) and in the last year or two in hebrew as well (time to thank Dekel Tzur again for his LyX patches...). It is definitely a winner for large complex documents. LyX support LaTeX really good, and SGML (to a lesser extent). I would suggest you check first the hebrew support for SGML (DocBook) If it works ok, than this should be your choice as there are converters for HTML, PDF, Text (all/most of LDP is done with DocBook). I normally use LyX/LaTeX as my formatting needs are much more complex (slides, multi-page tables, figures, screen-shots, source fragments etc.) The options I have checked so far are: - PDF, no problem, excelent support, either through PostScript (with Ghostscript) or directly from LaTeX (though pdflatex). - HTML, There is LaTeX2HTML which has no chance against complex LaTeX (HTML doesn't have as much formating info as LaTeX). I checked it lately with some simple stuff and the result wasn't to my taste (your may be different though :-) Oron Peled Voice/Fax: +972-4-8228492 [EMAIL PROTECTED] http://www.actcom.co.il/~oron Microsoft is NOT the answer. Microsoft is the Question. The answer is: NO! = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] There's so many different worlds So many different suns And we have just one world But we live in different ones.. - Dire Straits - Brothers in Arms = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Writing Mixed Hebrew/English Documents on Linux
Well, i'm using LyX at the moment... so no direct LaTeX for me yet.. I've tried 'here', even with an exclamation mark before them (to tell LaTeX that I REALLY want it HERE) but it didn't work... Finally I had to insert a manual page break before the section with the figures... I'm not too happy about this. Eli 29/11/02 02:11:54, Tzafrir Cohen [EMAIL PROTECTED] wrote: On Fri, 29 Nov 2002, voguemaster wrote: That reminds me, I've been messing with float-figures in LyX but don't seem to be able to put them in the proper place. I've used the '!ht options for floats but in any case, when lyx doesn't have enough space left in a page it will stuff more textinto it and the figure on the next page. why not just 'here'? IIRC 't'op and 'b'ottom are not guaranteed to be in the current page (that's what labels and references are for) What is weird is that I've had 2 floats in a document. On the page I've inserted them there wasn't enough space, but LyX didn't put it on the next page either!. In fact, it placed the two figures 2 pages afterwards, in a diff section. Any tips on float placement I should know ? 't' in action, indeed Anybody knows how to tell latex 'top of this page'? Another thing is, is it possible to do double-column documents (such as in many academic papers) ?? I'm assuming it can, but I haven't found anything on this in the user guide. The standard option 'twocolumn' \documentclass[twocolumn]{article} BTW: 'info latex' -- Tzafrir Cohen mailto:[EMAIL PROTECTED] http://www.technion.ac.il/~tzafrir There's so many different worlds So many different suns And we have just one world But we live in different ones.. - Dire Straits - Brothers in Arms = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Open Office VS. MS Office (performance)
Hmm, Performance in a word processor is not just about typing. Try to stuff big tables and Excel worksheets into the doc (with graphs and all) and some other things. Word crawls like a baby. It's quite possible for a word processor to be a burdon on the system. While on the subject, there are also other operations that might take more time than the trivial type interval. Eli 12/11/02 07:40:37, Ira Abramov [EMAIL PROTECTED] wrote: There's so many different worlds So many different suns And we have just one world But we live in different ones.. - Dire Straits - Brothers in Arms = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
OpenOffice.org and equations
Hi list, I've posted a similar question at the Linux forum at Tapuz but no one really answered my question. My question is simple: Does OpenOffice.org has any mechanism to incorporate mathematical formulas in the document (like much MathType for MS Word) ?? One day I'll move to LyX and LaTeX, when I'll need'em more.. Eli There's so many different worlds So many different suns And we have just one world But we live in different ones.. - Dire Straits - Brothers in Arms = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: InstaParty at TAU?
Hi, By CC you mean Computational Center ? Do they do Linux or just SGI and Win/Netware ? In any case, I thought about investing time in helping an instaparty if I can, I just donno who to talk to about this. Eli 09/11/02 16:24:33, Ariel Biener [EMAIL PROTECTED] wrote: On Fri, 8 Nov 2002, voguemaster wrote: It is also a great and better idea to coordinate InstaParty at TAU with the TAU/CC, for much improved facilities and possiblities (network and otherwise). = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: InstaParty at TAU?
Although I was present for a brief period of time (about 40 minutes) I saw that there was responsiveness by people in general. I think InstaParties at TAU is an excellent idea. Eli 07/11/02 16:04:33, Alexander Maryanovsky [EMAIL PROTECTED] wrote: Currently installations only. We might respond to a demand for lectures, in case there is such a demand. On the fly, or at some later date? Because I don't need anything installed, but would love to hear lectures :-) Alexander Maryanovsky. At 15:39 07.11.2002 +0200, Yedidyah Bar-David wrote: Hi, On Thu, Nov 07, 2002 at 12:51:03PM +0200, Alexander Maryanovsky wrote: Hi, I saw a note on the luach modaot in the Schreiber building this morning about an InstaParty at 18:00 today at TAU... Did I miss something? When was this announced? Was this announced? Will I announced it on linux-il on Nov 3. there be only installations or lectures too? Currently installations only. We might respond to a demand for lectures, in case there is such a demand. Alexander Maryanovsky. = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] Didi = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] There's so many different worlds So many different suns And we have just one world But we live in different ones.. - Dire Straits - Brothers in Arms = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: bttv and emu10k1
Hi, My card is an AverMedia AverTV card. From what I could tell when playing with VirtualDub (for some vid captures I did), and from the filenames of the drivers themselves I think it's a bttv based card.. Regarding the kernel: I'm not looking into compiling a new kernel or DLing a diff one, if possible. In fact, I use my RH7.3's kernel for my workstation and it works great. Does it support bttv ? I'd rather see kernel modules than a new kernel. I'm not too keen on changing kernels Eli they are on the kernel already. Those are experimental drivers. voguemaster: which card? I have writen a nice howto in http://dgi_il.tripod.com/linux/flyvideo.html it explains also about lirc. If you wait a few weeks I will upload a kernel that will support lirc. as precompiled generic rpms. (any requests should be made in private to me). Tal: played with all pll settings? tried all flyvideo cards (autodetect should work quite well on those cards btw). - diego There's so many different worlds So many different suns And we have just one world But we live in different ones.. - Dire Straits - Brothers in Arms = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: bttv and emu10k1
Mind my ignorance for a second, but I wasn't even aware linux supports bttv based video capture cards, i'm dying to use mine on it as well!! Any pointers ? Eli 11/10/02 22:09:48, Amir Tal [EMAIL PROTECTED] wrote: hi, i am using bttv with my FlyVideo II TV card, under mandrake9 (decided to play with it for a while, i used debian until not to long ago..). its mandrake's default kernel (2.4.19-16mdk). i had a SB128 sound card until 2 days ago (es1371) and it worked fine. yesterday I've purchased SB Live! (emu10k1) and the problems started : the default bttv driver (in mandrake's kernel) is loading, but i cant get any reception (no channels are displayed, even when scanning). i tried to compile and install the latest bttv driver, and after it loads, all it displays is a blank screen (both in XawTV and Zapping). are there any known issues with bttv and emu10k1 ? here are some of the settings : # lsmod |grep bttv bttv 66880 0 (unused) i2c-algo-bit7432 1 [bttv] videodev5792 2 [bttv] i2c-core 15332 0 [bttv i2c-algo-bit tuner] soundcore 3780 0 [bttv emu10k1] # cat /etc/modules.conf |grep bttv options bttv radio=1 gbuffers=4 card=19 tuner=5 pll=1 card model : 02:09.0 Multimedia video controller: Brooktree Corporation Bt848 Video Capture (rev 12) when modprobing for bttv, it loads with no errors. thanks, -- == Amir Tal Founder, Owner Whatsup, Hebrew Linux Portal Voice:+972-8-9363164 Fax: +972-8-9363164 Cell: +972-58-978979 Email:[EMAIL PROTECTED] URL: www.whatsup.org.il == To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] There's so many different worlds So many different suns And we have just one world But we live in different ones.. - Dire Straits - Brothers in Arms = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: The new build of openoffice
07/10/02 21:32:22, Sagi Bashari [EMAIL PROTECTED] wrote: On 10/7/2002 11:13 PM, Noam Meltzer wrote: Where is it avail. for download? http://www.openoffice.org/dev_docs/source/643/index.html BTW - It took me awhile to figure this - to change to full BiDi RTL mode you need to add the toolbar icons - right click on the toolbar - visible buttons - right-to-left/left-to-right. Sagi Which version/build is this again ?? At their site they claim 1.0.1 is merely a bug fix version, while 643 is a development build and therefore NOT so stable... Eli There's so many different worlds So many different suns And we have just one world But we live in different ones.. - Dire Straits - Brothers in Arms = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: xmms rh8
07/10/02 01:31:04, Oded Arbel [EMAIL PROTECTED] wrote: áéåí øàùåï, 6 áàå÷èåáø 2002, 19:38, Dvir Volk ëúá: I highly doubt it's legal. I've looked in fraunhofer's site, which refered me to an mp3 licensing site, that said: snip From that QA it seems to me that developers are required to get a license, but not users - you are expected to use a licensed software, but if you don't, nobody expects you to buy a private license. This is unlike the GIF issue where Unisys wants you to buy a license if your GIFs were not created by a licensed software - even if the files were not created by you. -- Oded heh, since xmms doesn't have a license, it's illegal. Altho the german company said they don't care about this.. hm :-) I wonder.. Eli = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: xmms rh8
04/10/02 13:39:57, Mark Veltzer [EMAIL PROTECTED] wrote: What is so strange ? MP3 is a COPYRIGHTED format. A german research institution holds the copy right and has started to sue companies who distribute mp3 players without paying them royalties (since they can't sue the users themselves since there aren't enough lawyers for that. Maybe if we all sue ourselves in a civilian court and pay ourself the representation fees...). Move to Ogg Vorbis and be happy and patent free... MP3 is the GIF of audio... It will be remmembered as a small distraction on the high road to enlightenment...:) Well I kindly disagree that mp3 will be forgotten easily. It's so popular, and for a good reason! Just like jpeg. Forget it, I doubt it'll happen. At the end I think untill a much better format comes around, mp3 will rule, regardless. Eli There's so many different worlds So many different suns And we have just one world But we live in different ones.. - Dire Straits - Brothers in Arms = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: xmms rh8
04/10/02 15:58:09, Amir Tal [EMAIL PROTECTED] wrote: On Friday 04 October 2002 11:28 am, voguemaster wrote: Honestly I don't quite get it. How can they break such a behaviour or supported feature of the system ?? RH at previous versions could play mp3 easily, now you can't use XMMS ?? This makes me think twice about this release.. they did it because of piracy issues. you can always get the plugin's and add them manually. tal. Again, I'm asking: is getting the plugin manually legit ?? Eli There's so many different worlds So many different suns And we have just one world But we live in different ones.. - Dire Straits - Brothers in Arms = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: xmms rh8
04/10/02 14:11:16, Oleg Kobets [EMAIL PROTECTED] wrote: Besides, you can easily d/l the missing rpm from xmms website. Oleg. And is THAT legal ?? Those libraries use a technology which is patented, how is that allowed ??? Eli There's so many different worlds So many different suns And we have just one world But we live in different ones.. - Dire Straits - Brothers in Arms = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: xmms rh8
Honestly I don't quite get it. How can they break such a behaviour or supported feature of the system ?? RH at previous versions could play mp3 easily, now you can't use XMMS ?? This makes me think twice about this release.. Eli 04/10/02 04:40:42, Amir Sela [EMAIL PROTECTED] wrote: On Thursday 03 October 2002 23:56, Meir Michanie wrote: Hi list: I installed rh8 and xmms was unable to play mp3, running rpm -ql xmms I saw that libmpeg123.so and libmpeg123.la was missing from the packet. So I copied from another machine running rh7.3 Isn't it weird? From http://www.xmms.org/ : Redhat 8 + Can't play mp3's? Oct 02, 2002 If you are using Redhat 8 and the supplied RPMS of XMMS you will find that it is not possible to load any mp3 files. Redhat was supposed to have a placeholder plugin informing you of the change, but that seems to have gone missing. Available here is some additional information and a mpg123 RPM for Redhat 8 installation of XMMS. Hopefully, I've made myself clear on this subject, since Redhat apparently failed to get their message through. To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] There's so many different worlds So many different suns And we have just one world But we live in different ones.. - Dire Straits = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Useless kernel caching is annoying me
29/09/02 12:50:08, Nadav Har'El [EMAIL PROTECTED] wrote: Hi people, I have a question that has been bugging me for quite some time now. I'm using Redhat 7.3 and its 2.4.18-3 kernel. I have 128MB of RAM. I frequently use memory-hogging applications such as Mozilla and OpenOffice. The phenomenon that annoys me is that many times, after I've left one of these applications for a bit of time (say, an hour), returning to it requires a huge amount of swapping and sometimes as much as 10 seconds of wait. That's kind of odd, especially since programs like winamp and xmms don't cache all the files at once. It shouldn't be such a big deal Then again, some people have claimed that linux's VM sux, especially in comparison to the BSD unices memory management. Who knows, i sure don't... All I know is that the mp3 players don't keep a big memory signature.. Eli There's so many different worlds So many different suns And we have just one world But we live in different ones.. - Dire Straits = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: linux 2.4.20-pre?-ac? kernels
and by telling ariel you are talking bullshit because it works for us - you are not making a good case. fact is, that it didn't work. and as far as i know ariel, i don't think he would go saying something did not work without doing some proper testing, and without realy seeing it not testing. THAT was NOT my point. The only point I tried to make is that RH default kernels are quite stable, though maybe not feature/architecture specific. Take a look at the thread, who was it that bashed RH for it's kernels without bringing any kind of evidence/proof ? Eli There's so many different worlds So many different suns And we have just one world But we live in different ones.. - Dire Straits = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: linux 2.4.20-pre?-ac? kernels
The problems started after upgrading to 1GB memory, I assume because the pattern of operation changed (less swapping). The problem occurs in kjournaled in a reproductivable manner, but I do not think kjournald is the problem, but that something else gets stuck, which causes kjournald to fail, and then the system stops. --Ariel That actually brings me to another point I'm always not sure of. Sometimes it's damn hard to figure out if the problem/bug is within a library or the kernel, as opposed to an application. Any thoughts guys ? E There's so many different worlds So many different suns And we have just one world But we live in different ones.. - Dire Straits = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: RE: Mandrake Linux Dolphin 9.0 is released, and ready to downl
Just use 700mb CDs, they cost just as much nowadays :) Besides, the feature you were referring to about burning larger images on 650 CDs is called Overburning (just in case you didn't know..). You can usually set the maximum length to burn (in Nero for example) and specify a 700Mb CD or so... (actually, 80 mins + 30 seconds worked for me) Eli 27/09/02 12:11:52, [EMAIL PROTECTED] wrote: I'm downloading MKK-9.0 and I noticed that two of the three CDs are 700 Mega each (the third is 450 Mega). I don't know why they did this, but my question is - will I have problems burning these with cdrecord? In the past, when I accidently created an image greater than 650 Mega, I wasn't able to burn it. I read the man page and searched GOOGLE but couldn't find any reference to writing CDs bigger than 650 Mega. Is it enough to simply use media that support 700 Mega or is there some parameter I don't know about? Here's my version of cdrecord [root@shlomo1 root]# cdrecord -version Cdrecord 1.10 (i586-mandrake-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling TIA //- Shlomo Solomon E-Mail: [EMAIL PROTECTED] http://come.to/shlomo.solomon Date: 27-Sep-2002 Time: 12:59:23 Message sent by XFMail on a LINUX Mandrake 8.1 machine //- = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] There's so many different worlds So many different suns And we have just one world But we live in different ones.. - Dire Straits = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: linux 2.4.20-pre?-ac? kernels
26/09/02 15:46:11, guy keren [EMAIL PROTECTED] wrote: dear people, i think there's some great confusion here about the usa of the term 'stable'. ariel (at least as far as i know) runs systems that bear a rather heavy load over network connections. most people run machines that do not bear that heavy load. thus, your definition of 'stable' is quite different. and its a rather known fact, that for realy heavy network, memory and processing load on linux, most of the 2.4 kernel series was rather flowed, at least until 2.4.18 came out. a company i worked with encountered lots of woes in this area (running a machine with redhat's kernel or any vanilla 2.4.X kernel, about 8-12 month ago) year back, perhaps 8 month back) in the lab and bombing it with traffic while running their application on it (which used a lot of memory), caused networking to stop working after several hours or half a day, in a repeatable manner. only when then eventually installed a variant of the 2.4 kernel with the 'aa' patches - did they manage to have a machine running steadily - and that certainly wasn't a tested kernel, back then, not to mention QA. you can argue that your experience was different as much as you will - but the fact was that the VM code caused problems on a machine that was hammered heavily the same problem existed with pre 2.4.10 kernels, that is 2.4.7, 2.4.9, etc). and as far as i know, not all of arcanageli's patches went into 2.4.19 (muli - please correct me if i'm wrong regarding this merge). this VM fiasco apparently did not have a parelel during the 2.2 kernel release cycle, or with earlier versions - it did happen with 2.4 . btw, at the same time, another company that used much earlier 2.4 kernels with an appliction that performs network processing - did not encounter _any_ problem. ofcoruse, they handled traffic flowing at only 10 mega-bit per second - and that did not use as much memory. and they were using very early 2.4 kernels (including some 2.4-test kernels) - and had no problems. so from their point of view, 2.4 was stable since quite long ago. so, i'd say again - stability depends on what you're doing with the system. and QA alone cannot fix problems stemming from major bugs in the underlying system. -- guy True, but then how would you explain the article by Moshe ? He tested several 2.4 kernels and the RH 7.2 kernel, while a bit slower, was stable. Eli There's so many different worlds So many different suns And we have just one world But we live in different ones.. - Dire Straits = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Memory checkers
There are plenty of open source utilities: memory patrol, electric fence, checker - just to name a few. I don't have time to check every one of them. What you can propose ? I've had good experience with DMALLOC and a bit of electric fence. I haven't been able to find a VERY GOOD tool for multithreaded appications :-\ Can you elaborate a bit more on your problem ? Are you absolutely sure it's related to memory leaks ? could it be something else (such as heap corruption) ?? Have you tried wrapping around malloc()/free() calls and print some debug information ? After the program stops you might parse the info and look for indescrepencies just a thought.. Eli = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: RPM creator tool?
Supporting anything but your distro is quite impossible if you want to use the neat macros that each distribution supplies, and don't want to go for the lowest denominator or do all the hardwork about guessing architecture, library locations, etc'. my solution is to build RPMs for my distro, and anyone else can grab the SRPM and hack the SPEC file. So how is it that RH and Mandrake RPMs are sometimes interchangeable ? I know Mandrake was based on RH (in some aspects) but according to you this even shouldn't be possible.. Eli There's so many different worlds So many different suns And we have just one world But we live in different ones.. - Dire Straits = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Fwd: Re: KDE location [was Re: basic debian question]
--- Start of forwarded message --- From: voguemaster [EMAIL PROTECTED] To: Tzafrir Cohen [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Organization: Jurassic Park Subject: Fwd: Re: KDE location [was Re: basic debian question] Date: 02/09/02 11:29:35 What really annoys me about /usr/bin is that RH stuffed GCC's binaries there. A developer wishing to upgrade to a newer compiler version must use the package, because GCC binaries and libraries are all over the place!! If you compile a new version on your own, you can put it anywhere, and in a centralized location, including header files. It's annoying as hell Besides, where are the variables that tell the system which compiler version to use ??? it's so annoying!! Eli 02/09/02 10:05:29, Tzafrir Cohen [EMAIL PROTECTED] wrote: On Mon, 2 Sep 2002, Arie Folger wrote: Tzafrir Cohen wrote: /opt and /usr/local are the same: not part of the formal system, and intended for extra packages. Although debian places some a few config files in /usr/local But quite some flamers are upset at RH for putting everything in /usr/bin. In fact, a few months ago mosfet went beserk complaining about `ls /usr/bin|wc -l` returing a number greater than 1500. So I wondered whether debian guys were doing it differently. When you put all of KDE under /opt , you have to remember that you have config files not only under /etc, but also in /opt/kde[23]/share/config Debian (also redhat) finally moved those to /etc/kde[23] Actually, it seems an odd complaint to me: anything under /opt is for me not part of the system. Redhat (and also mandrake and debian, which also put KDE under /usr) mearly say that there is one version of KDE that comes with the system, and is part of the system. It makes upgrades slightly more complicated, but then again, if you use RPMs, you shouldn't go around deleting an old installation. There are better ways. On my solaris at the CS faculty my PATH includes (not limited to): /usr/bin , /usr/local/bin , /opt/sfw/bin , /opt/sfw/gnome/bin , /opt/sfw/kde/bin And I don't like it better. -- Tzafrir Cohen mailto:[EMAIL PROTECTED] http://www.technion.ac.il/~tzafrir = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] There's so many different worlds So many different suns And we have just one world But we live in different ones.. - Dire Straits End of forwarded message There's so many different worlds So many different suns And we have just one world But we live in different ones.. - Dire Straits = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Fwd: Re: KDE location [was Re: basic debian question]
--- Start of forwarded message --- From: voguemaster [EMAIL PROTECTED] To: Tzafrir Cohen [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Organization: Jurassic Park Subject: Fwd: Re: KDE location [was Re: basic debian question] Date: 02/09/02 11:56:17 But they are spread all over the place because it is easy to follow them: rpm -ql gcc Even if there is a package which you can use to track them all, it's still annoying. At least with RPMs you know where the files are (as opposed to Windows for example :p), and you have to know how RH structured the use of GCC in the system. It really is a hassle, so I deleted my newly compiler GCC3 hehe Luckily I got away without needing to really use it... Install it in /usr/local, and set CC I've put it in /usr/local2 hehehe... Are you telling me that setting CC and the inclue dir (forgot the exact name of the variable) is all I need ? sounds almost too easy.. Eli There's so many different worlds So many different suns And we have just one world But we live in different ones.. - Dire Straits End of forwarded message There's so many different worlds So many different suns And we have just one world But we live in different ones.. - Dire Straits = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: KDE location [was Re: basic debian question]
gcc has its own built-in include and libs parameters (set at compile time), right? I don't know about that. When you configure gcc before compilation you usually set the installation location, library dirs if you want'em changed, other compile options etc.. I don't know enough because I've only built gcc recently and I wasn't sure how to do it, it was my first time :) Another reason was that I didn't want the new gcc to break my system. Who knows what changes it can do. That's why I'm interested in finding out how exactly one should go about to replace gcc altogether, and how to keep two seperate versions.. Eli There's so many different worlds So many different suns And we have just one world But we live in different ones.. - Dire Straits = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: KDE location [was Re: basic debian question]
inside the top gcc source directory, mkdir somedir cd somedir ../configure --prefix=/usr/local/some/directory/for/this/gcc make install Then, put /usr/local/some/directory/for/this/gcc/bin in the beginning of your path. For c++ programs you will also want to put /usr/local/some/directory/for/this/gcc/lib in your LD_LIBRARY_PATH. I hold 3 versions this way, soon 4 (3.2). If you want to set a default, link to /usr/local/bin. Great, thanks!!! What about header files (C/C++), anything special to do ? Like, maybe set the paths for gcc to find those headers ? Eli There's so many different worlds So many different suns And we have just one world But we live in different ones.. - Dire Straits = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: internet, internal ftp dependency
Hmm, i just gave a reply similar to this one in Tapuz's forum. Look, wu-ftp is problematic. It insists on performing DNS queries for the client at login time, but fails to act whenever it isn't needed. I'm assuming your linux box has it's DNS servers configured in it's resolv.conf file. See, when you disconnect those servers can't be reached, and the DNS queries block wu-ftpd for a while (wait a few minutes, it should then respond). Using netstat at this point *should* show you an established connection to the DNS server with the target port being domain, although this is NOT the case in reality... Anyways, in order to see if this is the problem, comment out all the DNS servers in your resolv.conf file when you're not connected to the internet, then try to login to wu-ftp. Also, try to set the proper search order in the nsswitch.conf file, like so: hosts: hosts [NOTFOUND=return] It could help. If this is indeed the reason, you have two choices (that I can see): 1. Install a DNS server internally to handle those times where you are off the internet (and place that as the first server in your resolv.conf) 2. Use a script to replace the resolv.conf file with a backup when you disconnect. This is the easiest solution I believe... You can have the script do the opposite when you reconnect. Maybe you can do that automatically somehow, who knows... Hope this helps, Eli 02/09/02 14:46:45, Tal Achituv [EMAIL PROTECTED] wrote: Date: Mon, 02 Sep 2002 14:46:45 +0200 From: Tal Achituv [EMAIL PROTECTED] Subject:internet, internal ftp dependency To: [EMAIL PROTECTED] Hi! This is the setup: machine 1: windo*s XP 2 NICs, 1) Cable Internet 2) Local Network (nat-ing #1) machine 2: RedHat 7.3, xinetd.d modified to enable telnet wu-ftpd..., 2 NICs 1) Local Network (using dhcp) 2) manually configured and not connected to anything (in nead future will replace the xp's Cable Internet). for some weird reason - If I disconnect from the internet (on the XP box) I cannot ftp into the Linux box... NOT EVEN from the tty1 (ftp localhost). My guess is that there's something with DNS or something like that - but its still VERY weird! HELP! Tal. There's so many different worlds So many different suns And we have just one world But we live in different ones.. - Dire Straits = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: internet, internal ftp dependency
hat automatically somehow, who knows... 3. Manually (or by scripts) create a hosts file (/etc/hosts) with the addresses of all the relevant internal machines Should be enough for a two-computers network You know, I've tried that when I had the same problem. For some reason it doesn't help... :-\ Eli There's so many different worlds So many different suns And we have just one world But we live in different ones.. - Dire Straits = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]