Re: [gentoo-user] vmailmgr, qmail and courier-imap -- trouble w/ imap login
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 06 February 2004 02:56, john lawler wrote: what that message means. But there's still no /etc/init.d/ script for vmailmgr and the only way I can try to start it is from a 'run' script that's in /var/lib/supervise/vmailmgrd. These starts a daemon, but it emerge daemontools /etc/init.d/svscan start - --Erik -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQFAI1ZZds9m9uhAobARAjS4AJ90Fm0YXy3lym9fdzmI1VBF3V03pACeJ2O7 LQQ4NWzRL7trJGT397ZEGvI= =Xwo1 -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] DVD burner and Linux
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 05 February 2004 05:49, Andrew Gaffney wrote: I'm thinking of buying a DVD burner (for data backup, of course). I'm looking for one that is compatible with Linux, although, I assume they are just like CD-RW drives in that respect. I'm confused about which one of the umpteen different types of DVD recordable/rewritable media/drives are the most compatible with existing drives and DVD players. I think its something like DVD-++--+--+R++-W+ ;) Can anyone recommend a decent drive that would retail for =$150 and is compatible with everything else? IDE interface is a must as I don't have SCSI. Also, has anyone heard anything about when those nifty new dual-layer burners that can burn both layers of a DVD up to 9GB will be commercially available and how much they will run for? DVD-R and DVD+R: Standard burnable DVDs, new players should have no problems with either. You ofcourse need the correct media for the type of drive you choose. Rumour has it that DVD-R is slightly more compatible with older DVD-ROM readers, but I haven't seen anything to proove this. DVD-RW and DVD+RW: Handles DVD-R and DVD+R respectively, in addition to the two different brands of rewritables. DVD-RAM: Not compatible with regular DVD-ROMs, expensive media. Intended to be a backup solution not a DVD. I got one of these and it's more or less acting like a slow MO drive, never had problems with it but wouldn't recommend it due to the media prices. Just get a combo DVD-RW/DVD+RW, they're not expensive anymore. - --Erik -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQFAIe8Kds9m9uhAobARAlYlAJ4hltPrc5INxwaKc6wRnnQ/JuDHMwCgmIuu OR9Fh86RJv6pKvDt6pv7nJ0= =FcAV -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] SpamAssassin not as good as before :(
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 28 January 2004 17:16, Matthias F. Brandstetter wrote: Did so many spammers changed their spam technics? What could be done (if possible only with SA's help) to reach my hit rate of 99% again? An update to SA version 2.60 did not change anything :( I did a full wipe of SpamAssassin's bayesian DB a few weeks ago, trained it on about 1000 handsorted messages, added in some rules from http://www.merchantsoverseas.com/wwwroot/gorilla/sa_rules.htm and now have about 2-3 false negatives per 1000 mails. Also, make sure you catch all wrongly classified messages SpamAssassin's bayes db gets updated from (look for autolearn=ham or autolearn=spam in headers), and retrain it on those messages. If it starts learning spam as ham or opposite you're in for problems. - --Erik -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQFAF9aDds9m9uhAobARAk8QAJ9GJB74PVQRqCtSBq4+1Wu5mWyfJACeNb5u iSg898JokH9X/+2oko7UDQI= =wxNo -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Help! ACCEPT() returns an Invalid argument error after an emerge?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday 12 January 2004 15:07, Hareesh Nagarajan wrote: if( (newClientFD=accept(serverFD, (struct sockaddr*) newClientAddress, addrLength)) 0 ) perror(accept:); Do you set addrLength before this call? - --Erik -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQFAAqHJds9m9uhAobARAgfzAKCiX5a/VJrxCedafB11wwlCNEX2LgCgmhhs 9kxjV9c4ODj0t2JwZahIsOQ= =2Zji -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] 2.4.20-gentoo-r9 has issues (?)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 09 December 2003 01:41, Øyvind Stegard wrote: haven't been able to reproduce any crashes, though. Just wondering if anybody else has experienced problems with this latest gentoo-sources release. Definitely, it took 5-6 recompiles to even make it boot. I upgraded from 2.4.20, by starting off with the old config and verifying all settings. There's something related to APIC/HighMem I changed to make it work, I'm not entirely sure which change made a difference though. Additionally I've experienced Oops'es in usb related modules, these could be due to a externally compiled dsl modem driver, but then again this driver worked just fine under 2.4.20. - --Erik -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/1ZTIds9m9uhAobARAtXsAKCSQURCfkOuRfQB3TNY4BWTh3pY0gCeL/XF 0qiM6r8p3fikogYw7epu1mw= =GbK7 -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Way OT: Doesn't IP need TCP or UDP for transport?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 05 December 2003 05:39, Joshua Banks wrote: Hello, I thought for any type of IP packet to go out onto the internet Zone (passed the local default gateway) that the packet needed to use either TCP or UDP to accomplish transportation? Layer 3: IP - The protocol used to transport arbitrary packest from one endpoint to another endpoint. The endpoints are specified as IP numbers. The internet is mainly built around this protocol, with all routers knowing how to reach any given IP. Most everything transported on the internet is some form of IP. ICMP - This is a protocol with many of the properties of a layer 4 protocol, but as it is an integral part of IP it is implemented as a layer 3. ICMP used the standard IP header, and includes an additional type field (e.g. echo request and echo reply used for ping) + data relevant to the icmp type. ICMP is sort of a helper protocol, with which machines with an IP can transmit information in between each other in order to notify of events or request changes in the way IP is treated. Layer 4: TCP - A protocol that adds ports to IP's endpoint definition, support for streams (packet order is consistent) and delivery-guarantees (you know whether a packet has reached its destination). This protocol is built on top of IP, and the IP part is used to transport data from ip to ip. UDP - A protocol that also adds ports to IP's endpoint definition. Again, this protocol uses the IP part for transportation in between machines, and when a packet reaches the machine an IP belongs to the ports are used to further route the packet to the correct application. A typical traceroute happens as follows: A wants to traceroute E. In between them you have B, C and D. A sends a UDP (yes UDP is what default traceroutes use) packet to E, with a TTL (Time To Live) value of 1. B receives this packet, and sees that it has travelled TTL machine-machine hops. It then drops the packet as the TTL is exceeded, and sends an icmp ttl-exceeded back to A, including a specification of which packet it dropped. A now resends the UDP packet, this time with a TTL of 2. The packet travels to C this time, and again a ttl-exceeded icmp is sent back. This continues until the UDP packet actually reaches E. While this happens, the traceroute application shows the IPs of the machines it receives ttl-exceeded ICMPs from, and you'll get a nice map of how traffic *from A to E* travels. You still can't know how traffic from E to A travels, as that can be a totally different path (async routing), although in many cases it is the same. As others mentioned, there are several layer 3 and layer 4 protocols besides these mentioned here. Google for OSI Layer and you'll find it. - --Erik -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/0I3Mds9m9uhAobARAqu/AKCVV1DUA7Q9qeP1jrTFOA7Z4zn8vACgwZyi AUVj39Aj3KeOp7uKe3mqxSA= =VOr6 -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] removing color
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 14 November 2003 16:38, Andrew Gaffney wrote: I'm really looking for something more generic. I just used emerge as an example. I want to be able to strip color out of *any* output. otoh, sed -r s:[^[][[][0-9]{1,2}[;]{0,1}[0-9]{0,2}[m]::g should filter out ANSI. The first ^[ is inserted with CTRL+V ESC - --Erik -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/tRF/ds9m9uhAobARAtW/AKCDe3BbbCzbC52rCVFkzGEPZjh5ZwCfW9mq GAF3cZRwNw7Wqq7OdP49Bos= =vg60 -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] emerge -e missing over a quarter of installed packages
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Saturday 16 August 2003 04:19, William Kenworthy wrote: What gives? rattus# emerge -e --deep world -p|wc 135 5345612 rattus# wc /var/cache/edb/world 608 608 11445 /var/cache/edb/world rattus# Just out of curiosity... what does cat /var/cache/edb/world | sort | uniq | wc -l give you? - --Erik -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/Pz1fds9m9uhAobARAhFGAJ4xct9ff/tTdEGEl/pyIzp/y0S8SACgl8D6 pNNIT8Z6Kl+pYFXONFsLJOQ= =jXZi -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Gentoo Servers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 23 July 2003 04:29, Donny Davies wrote: Chuckle. Tell that to the people running 10,000 user setups on SAMBA with nothing but praise and admiration for the software. You could search Yes, for that setup you most likely can afford to pay someone to make it work as intended instead of leaving it to whoever knows most about linux at the office ;) Anyway, samba doesn't perform well with many users attached to large directories, as the dir rescan costs. I can however imagine that in a 10k user setup with a lot of shares (logon, homedirs) with limited contents, decent hardware would help samba perform quite well. For my setup it just didn't ;) - --Erik -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/Hksgds9m9uhAobARAjVMAJ41a7OTQYCriqqpk+dTlmvWyQJycwCfdLQN 2Ok6SFOC8g0G7chNtWv8LTQ= =IdOP -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Problems connecting to internet
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 22 July 2003 04:53, wrivera wrote: After running net-setup eth0 on the livecd, I am unable to reach an outside address. I can ping my router and other machines on my network but I can not get anoutside connection. Does anyone have an idea of what the problem can be. try: route add default gw 192.168.0.1 - --Erik -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/HOYwds9m9uhAobARAqy9AJsFXdYSZQA8Idbp5tlH/cQvNQeW2wCfT0Hi SEOgn2KOn6RfW7k7+2zguEg= =KkJS -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Gentoo Servers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 23 July 2003 00:14, Matthew Daubenspeck wrote: I have been researching Samba in efforts to slowly replace our current Novell Netware servers. Is anyone currently using Gentoo in such a production environment serving roughly 1000 users? I usually use Debian for such a server, but would like to hear thoughts and experiences for those currently using Gentoo. In my experience, Samba is not a good choice for anything resembling heavy load, mostly due to the resources required to simulate filesystem features that are native to Windows. I've had serious load and response-time problems in a 20-user setting with a few 100 GB of data shared through samba, most of these came from the continous directory rescanning Samba need to do in order to provide file-change notification to connected clients. There's also been a lot of issues with filenames containing non-us characters, and in general there's been more problems with this than it was worth. We moved file services to Windows 2k, and they now run properly for our 90% Windows LAN. There may be filesystems that provides file-change notification, and it might very well be possible to configure Samba to handle all character sets as transparently as Windows, but IMO Windows is way better suited for sharing out files to windows clients than Samba. Now, if you don't have windows clients, it's another story... But as you chose to look at Samba I'd guess your users are mainly windows. - --Erik -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/HcwIds9m9uhAobARAsDNAJ9RpKeF4ZrjIt+1n5clABzB0OlRzACfRHxk NeUByMSCBrfPvDpbDdL0wII= =m3TQ -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Removing broken symbolic links
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 find . -type l | while read ln; do if [ \! -s $ln ];then echo $ln; fi; done - --Erik On Friday 04 July 2003 22:06, [EMAIL PROTECTED] wrote: Hello. What is an easy way of finding and removing broken links in a given directory? -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/BdSNds9m9uhAobARAsdRAJ0UJ9THxcyHlhEjjraGwnqdXItpqACgjj5o TNk+xaM47PmEGG0J9MzVY/Y= =6Ocs -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Intel C++ compiler ICC
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 02 July 2003 02:30, Harald Arnesen wrote: Martin LORANG [EMAIL PROTECTED] writes: What is exactely the benefit of ICC ? It produces _much_ faster code than gcc (even the very latest 3.4-stuff) for most applications I have tested. And in addition compile-time is 30-35% of gcc's. Definitely would be great being able to compile kde in 1/3rd the time... - --Erik -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/AmjWds9m9uhAobARAhEDAJoDlXzRLc8VVnMIw/vO/Cj31KHOmQCgomg2 zEgjwAt2/BMentINxgylNX8= =cQcS -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] switching from GCC to ICC
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday 30 June 2003 04:30, Jerry McBride wrote: I explored the ICC package from intel a while back. It's nice compiler. It generated much smaller executables than gcc ever hopes to... sometimes ICC even made faster executables than gcc... but it wasn't really worth the aggravation getting ICC to fit into the linux platform. There is no total, painless conversion to ICC that I know of. I was never able to get a kernel compiled with it... If someone was to write a seamless wrapper for it, that translated gcc commands to icc ones, there may still be a legitimate use for ICC on linux. Until then, it's a curiosity. Most packages only need minor tweaking to get icc working. While testing out compilers for a work project I've found icc to use approximately 30-35% of the time gcc need to compile c++ sources, so we're definitely going to stick with it here. Most options map directly, Intel have done a lot of work to make it easy prefering icc over gcc. There's still a few tweaks that need to be done in some sources (like e.g. gcc's hton* macros), but these shouldn't be hard to incorporate in a general way. Intel has published a paper on gcc compatibility, and they plan on making icc even more compatible with gcc. They also made a 2.4.something kernel compile on icc, with a few patches for kernel code using gcc-specific features. A quick grep of /usr/portage shows less than 10 ebuilds currently honoring USE=icc. I just wish more ebuild developers would add icc awareness, allowing us who prefer the faster compile to have the choice ;) And, I'll ofcourse be very willing to start submitting patches for this myself, if it will be used at all. The one I tried submitting got ignored in favour of a gcc-only ebuild, so I've kept my patched ebuilds overlay'd locally for now. - --Erik -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/AAlOds9m9uhAobARAlIiAJ41y1K2cN8V/md4jhVPkFMkOrUB1wCeJwnJ TJ19MNYD6MwDMZgVVi/1h3o= =zdvX -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Portage tmp dir
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 18 June 2003 08:43, Timothy James Friesen wrote: Hello all, I have been trying to emerge OpenOffice. I created my / partition too small, and it fills up trying to emerge OO. I have tried changing make .conf and 'export Portage_TMPDIR' so that portage will use /usr/tmp instead of /var/tmp, but it seems that /usr/tmp/portage is acting as a symlink to /var/tmp as the disk free amount only changes on my / partition, never my /usr partition. Any help anyone can offer so that I can get portage to stop using /var/tmp and start using /usr/tmp would be greatly appreciated. [EMAIL PROTECTED] ~ # ls -lad /var/tmp lrwxrwxrwx1 root root8 Mar 1 03:18 /var/tmp - /usr/tmp [EMAIL PROTECTED] ~ # ls -lad /usr/tmp lrwxrwxrwx1 root root 10 May 21 00:54 /usr/tmp - ../var/tmp Any of those match your box? - --Erik -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+8Hs8ds9m9uhAobARAtUCAKC09pLP3KvMqFqLhbLz0Ml3tUD5CQCePEXw M0APS9bNv4rxZkHAx9vWDt4= =hElM -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Portage tmp dir
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 18 June 2003 18:01, Timothy James Friesen wrote: Erik, No, please see a post I recently made for the ls -la output that I get. Note the d option ls -lad - --Erik -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+8IIHds9m9uhAobARAitmAKC0O69alL5PFQmAl3pmSx4xRW/KywCeKiM2 IauDG5ho0TA2r5W3atKFd24= =fW8s -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] emerge and ~x86
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 When you want a single unstable package, it's worth a try doing ACCEPT_KEYWORDS=~x86 emerge -u --nodeps packagename You'd ofcourse have to do emerge -up packagename first, in order to verify that you have all the dependancies of the stable package installed. Odds are that the unstable depends on the same packages and that the --nodeps emerge will work just fine. - --Erik On Tuesday 17 June 2003 12:05, Michael Wenk wrote: Alright, I messed up last night. I wanted to update mysql to version 4. So I went ahead and did the following command: ACCEPT_KEYWORDS=~x86 emerge -p mysql And it said all it needed to do was mysql. So fine, I did the following: ACCEPT_KEYWORDS=~x86 emerge -u mysql And it updated a good 18 packages including gcc, glibc, and other fun ones besides mysql. so, now when I do an emerge -pu world, I get a list of packages it wants to downgrade. So here's my question, should I downgrade everything like it wants to, and then do the above emerge on mysql w/o the -u? or should I do something else? Mike -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+7u5nds9m9uhAobARAhatAJsG8qzwBwJHgPrd2gHTRlimkXyFgACeOhim ly1/WhzWKo1uxuG27FmIZGo= =Z3as -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] emerge and ~x86
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 17 June 2003 14:18, Marius Mauch wrote: On Tue, 17 Jun 2003 13:33:11 +0300 Erik S. Johansen wrote: When you want a single unstable package, it's worth a try doing ACCEPT_KEYWORDS=~x86 emerge -u --nodeps packagename You'd ofcourse have to do emerge -up packagename first, in order to verify that you have all the dependancies of the stable package installed. Odds are that the unstable depends on the same packages and that the --nodeps emerge will work just fine. Please don't use -u with single packages unless you're sure you know what you're doing. The description is a bit irritating, you can update a package without -u as it is for updating dependencies (and --deep is for 2nd level dependencies). So -u --nodeps is really pointless. Yes, if you know ahead you dont have the package installed it is. If you just want to upgrade if it can be upgraded -u --nodeps is good for ~x86 packages. - --Erik -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+7vpXds9m9uhAobARAlosAJ0eXn6+v5whzzThZ+WLku2SKAYp4ACcC2N8 hDCYdY8cuFGpAZBKsxgtt7E= =KO8K -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Java error
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 28 May 2003 16:31, Andrew Kirilenko wrote: Ha ha. I requested not byte array, but STRING! Try to convert this array to string and you will see that this is not so easy :) If you're unable to create a hex string representation of a byte array, you're hardly in posession of the competence required to judge the language, wouldn't you say? - --Erik S. Johansen http://www.darkfallonline.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+1Ls+ds9m9uhAobARAhNpAKCBBPl6hXeBGLfAoSk917hiE5D1MQCfZck/ CnVOHHjJfAFQGBxr2ExYF8E= =ulEv -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] system rebuild from chroot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 29 May 2003 09:24, Jeff Elkins wrote: I'd like to rebuild my gentoo partition using new cflags, but I'm loath to give up the machine for the many hours it takes. I'm considering chrooting into it from my debian sid partition (chroot /gentoo /bin/bash) and running the emerge. Are there downsides to this, other than slowing things down? Do a full rebuild, but only create binary packages dont install? Then, do a full install using binary packages... - --Erik -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+1esjds9m9uhAobARAq0+AJ0fhDFM+WCTHz8lFZBus5Kp164gnwCaAkmt redR0JysaXO2kPw2VBpkZ+4= =4DHW -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Java error
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 28 May 2003 13:17, Andrew Kirilenko wrote: Purchace good java book, or better purchace good C++ book - java isn't good language at all. That's bait if I've ever seen it ;) java *was* a bad language... in it's current state it runs at 70-80% of natively compiled code speed, and has features that definitely makes it the right choice for a lot of tasks. - --Erik S. Johansen http://www.darkfallonline.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+1JTKds9m9uhAobARAkVZAJ9GLSb5L8Mwy1kh35h+3KqnGg0jvQCdHyVn CplCPleDWUwZc454Mv/zAT4= =+pg5 -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Java error
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 28 May 2003 14:01, Andrew Kirilenko wrote: Can you please paste java code here, which will calc md5 sum? I'd like to get 5d41402abc4b2a76b9719d911017c592 from hello. I could mock something up, but it's besides the point actually. Any good programmer chooses the toolset that best suits the task ahead. I've been programming in a multitude of languages over the years, and the one thing I've learned is that there simply isn't any best language Currently I use C++ as a general purpose language, I use borland's delphi or kylix if i want a quick GUI, i use java if i want to build something that need to run as is on a few platforms. At the company where I work (ref. sig), I'm responsible for the networking core code, and as such use C++ for most my work due to strong ties to OS specifics. The people that work with the high-level logic parts use java, avoiding a memory management hell in an extremely complex design. The windows launcher for our product's currently a Delphi thing, because it took 30 mins to get a decent GUI for it. The core number crunching and graphics engine is C++, to squeeze as much performance out of it as possible. My point is, you can't simply claim that a language is bad. It might be bad for your purpose, but that doesn't mean it's a generally bad language. Sure, there might be failed languages that doesn't suit any particular task well, but most of the languages that're being used today are better than others for certain tasks. Now, back to MD5. If i needed MD5 functionality, I'd use OpenSSL's implementation. It's premade, it works. I could ofcourse write a MD5 implementation using shellscript and e.g. awk, but that would definitely be a bad choice of tools. I could write it in java if the main purpose of the project at hand was better suited to java. Or, I could write it in C or C++ if MD5 functionality was the core of the project, and I didn't want to depend on external libraries. But, let's not make this a flame war. You're just as entitled to your opinion as I am to mine, so let's just agree to disagree ;) - --Erik S. Johansen http://www.darkfallonline.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+1Jsods9m9uhAobARAkNHAJ9KdlPQyxhnC2JggIuoscx8z492KgCdH+ot yZd+/9fcuTvcw1+BmzzbmQU= =UPEe -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
[gentoo-user] Sunjdk, jni and libraries not found
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm currently working on a project requiring me to create a java VM from within a c++ application, using sun's jdk. After some fiddling with java-config and then manual mods of 20java, I'm stuck with the following problem: libjava.so (located in /opt/sun-jdk-1.4.1.01/jre/lib/i386) is not found unless i explicitly set LD_LIBRARY_PATH. libjvm.so however, in /opt/sun-jdk-1.4.1.01/jre/lib/i386/client is found just fine. No matter how much ldconfig -v finds libjava, the dynamic loader refuses to discover it. [EMAIL PROTECTED] ~ # ldconfig -v | grep libjvm.so libjvm.so - libjvm.so [EMAIL PROTECTED] ~ # ldconfig -v | grep libjava.so libjava.so - libjava.so [EMAIL PROTECTED] ~ # cat /etc/env.d/20java | grep LD LDPATH=/opt/sun-jdk-1.4.1.01/jre/lib/i386/client:/opt/sun-jdk-1.4.1.01/jre/lib:/opt/sun-jdk-1.4.1.01/jre/lib/i386 20java has been manually modified, with a few paths added. I've been running env-update a lot, no go. I'm stumped. Anyone able to offer some insight? - --Erik -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+YOD2ds9m9uhAobARArswAJ9+Vs7ZDtjgVRD9PrWIt6yDKKzLTwCgktq2 oPMZ+bh9jPp5n6n0OOi0nnw= =c1BE -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] net aliases and masks
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Saturday 01 March 2003 18:11, Paul de Vrieze wrote: In general ip aliases are independant of the main IP address. As such they get a default netmask if they are not specified. The IP appears to be I'd assume in most cases they live on the same subnet though. Well, at least on *my* boxes that's the most common setup ;) a C-class address and as such it gets a /24 netmask. The script could be so smart to enumerate all ip's on the computer and use that to get a better default netmask, but for most purposes such a script is not necessary. It should be possible to provide the netmask though, if not that is a BUG Not mentioned in the samples, but could be possible, I didn't bother to go through the scripts as it don't affect me either way. I guess an approach would be to allow a mask to be specified, and if it isn't then fallback to whatever netmask the primary IP on the relevant nic has. Or, alternatively, ignore it until it becomes a problem and rather fix emerge's dependancy on non-existant python threads (new problem, sigh ;) - --Erik -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+YOMjds9m9uhAobARAvrPAJ9O4i2QFzNN1EUK3bPzT6gLnS+/YwCcDsc2 F+OP9I6vQG7TWJfe9HWC1rQ= =w7d7 -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list