[gentoo-user] gtk2 and fonts

2003-10-21 Thread Andrew Kirilenko
Hello!

I have got following problem. After some update (not gtk2 or xfree or
other font-related) and rebooting I have got very small (something like
10pt instead of 12) fonts in all gtk2 apps (I don't have any other gui
apps, so I can't tell nothing about them). After running fc-cache -f`
and `/etc/init.d/xfs restart` and restarting X everything was OK. Today
I have got the same problem and cn't solve it :( any suggestions?

Best regards,
Andrew.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] fonts problem

2003-10-21 Thread Andrew Kirilenko
Hello!

On Tue, Oct 21, 2003 at 06:30:43PM +0200, Norbert Kamenicky wrote:
 Bryce wrote:
 
 I came across an interesting problem. Both Abiword and OO can 
 recognize and
 display New Times Roman fonts without issue. However, i can't find the 
 fonts
 in the font pulldown or menus. Something must be misconfigured 
 somewhere, any
 ideas where?
 
 First run  xlsfonts | grep nimbus and check the output
 
 If you really do not have it, it's very possible that
 what you see is some different font (font alias)
 
 Nimbus Roman fonts are included in ebuild  urw-fonts
 

I'm not using nimbus :)

BTW, I have solved the problem. I feel myself stupid. I HAVE changed
XF86Config (monitor section) and forgot to enter proper DisplaySize and
got 75dpy instead of needed 83. Now it's OK.

Best regards,
Andrew.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] fonts problem

2003-10-21 Thread Andrew Kirilenko
Hello!

On Tue, Oct 21, 2003 at 08:33:10PM +0300, Andrew Kirilenko wrote:
 Hello!
 
 On Tue, Oct 21, 2003 at 06:30:43PM +0200, Norbert Kamenicky wrote:
  Bryce wrote:
  
  I came across an interesting problem. Both Abiword and OO can 
  recognize and
  display New Times Roman fonts without issue. However, i can't find the 
  fonts
  in the font pulldown or menus. Something must be misconfigured 
  somewhere, any
  ideas where?
  
  First run  xlsfonts | grep nimbus and check the output
  
  If you really do not have it, it's very possible that
  what you see is some different font (font alias)
  
  Nimbus Roman fonts are included in ebuild  urw-fonts
  
 
 I'm not using nimbus :)
 
 BTW, I have solved the problem. I feel myself stupid. I HAVE changed
 XF86Config (monitor section) and forgot to enter proper DisplaySize and
 got 75dpy instead of needed 83. Now it's OK.
 
 Best regards,
 Andrew.
 
 --
 [EMAIL PROTECTED] mailing list

Sorry, wrong thread ;(

Best regards,
Andrew. 

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] gtk2 and fonts

2003-10-21 Thread Andrew Kirilenko
Hello!

On Tue, Oct 21, 2003 at 09:35:28AM +, eric heller wrote:
 I had a similar problem, although my fonts were appearing about twice as
 large as they should have been.
 
 A couple of things:
 
 1. in gnome, try gnome-font-properties. There's a setting for
 application font faces and sizes, as well as a font DPI setting (look
 under details).
 
 2. after doing this I still had problems with non-gnome apps and font
 sizes. Try creating a .Xresources file in your home directory. Put this
 line:
 
 Xft.dpi: X
 
 Where X is something that works for you. For whatever reason, I need to
 use 75 to get fonts that aren't twice as big as they ought to be. On my
 old redhat system, I used 96. Go figure. .Xresources should get merged
 next time you startx.
 
 hth,
 
 eric heller
 
 On Tue, 2003-10-21 at 12:57, Andrew Kirilenko wrote:
  Hello!
  
  I have got following problem. After some update (not gtk2 or xfree or
  other font-related) and rebooting I have got very small (something like
  10pt instead of 12) fonts in all gtk2 apps (I don't have any other gui
  apps, so I can't tell nothing about them). After running fc-cache -f`
  and `/etc/init.d/xfs restart` and restarting X everything was OK. Today
  I have got the same problem and cn't solve it :( any suggestions?
  
  Best regards,
  Andrew.
  
  --
  [EMAIL PROTECTED] mailing list
  
 
 
 --
 [EMAIL PROTECTED] mailing list

I'm not using gnome. But you are right - the problem is with DPY (see my
reply to another thread)... Thanks.

Best regards,
Andrew.

--
[EMAIL PROTECTED] mailing list



[gentoo-user] mozilla firebird extensions

2003-10-20 Thread Andrew Kirilenko
Hello!

I'm wondering is it possible to install any extensions for firebird
0.6.1. The first thing I have tried is installing extension simply
clicking xpi link in the browser. And it told me that I don't have
permissions to do this. I have tried to do this via root (it's really
not good) and it installed it correctly and I even can access it, but
only while running firebird as root. More, after some experiments I have
totally broked firebird (luckely, I have backuped
/usr/lib/MozillaFirebird).

Best regards,
Andrew.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] mozilla firebird extensions

2003-10-20 Thread Andrew Kirilenko
Hello!

On Mon, Oct 20, 2003 at 12:55:49PM -0500, John wrote:
 
 
 On Mon, 20 Oct 2003, Andrew Kirilenko wrote:
 
  Hello!
  
  I'm wondering is it possible to install any extensions for firebird
  0.6.1. The first thing I have tried is installing extension simply
 
 You are saying that you do not want them installed in the current users 
 home directory?
 
 Root access is only required for the shared install.

Of course, I want to install them into my home dir. But I don't see how
to do this.

Best regards,
Andrew.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] ATI Radeon 9100 and KT400A

2003-10-19 Thread Andrew Kirilenko
Hello!

On Sun, Oct 19, 2003 at 02:30:47PM +0900, Jason Stubbs wrote:
 On Sunday 19 October 2003 11:02, Andrew Kirilenko wrote:
  glxgears gives me about 650 FPS (1152x864 24bpp) default glxears window
  size. But when I'm totally covering glxgears win with xterm I'm getting
  8000 FPS (that's expected :) and when I'm covering only very small part
  of green gear with xterm, I'm getting about 1500-1600 FPS (and that's
  strange). Next, when maximizing window to fullscreen, it shows about 72
  FPS, but gears SEEMS to rotate much quickly. Can somebody explain me
  this behaivor?
 
 Your brain can't interpret images at much more than 120fps and you're monitor 
 can only output at about the same or less. At 72fps is looks like the gears 
 are actually turning. At 650fps or 1600fps you're only seeing every 5th or 
 10th or 15th frame of what the computer is actually calculating and putting 
 into video memory.
Yes, yes, yes. I understand this. But what if I'd start some complex opengl app?
I'm not sure it'll provide me with 20-30 FPS while simple glxgears (not
SO simple, but simple enough) provides me only with 700. I'm emerging
tuxracer for test this right now (it's the best opengl testing app, I
know).

BTW. For ATI / NV discussion - my prefference is ATI because:
- better open drivers support (and almost the same quality closed
  support as in NV)
- __MUCH__ better 2D
- if you want fast 3D - ATI is the best (I have got my radeon 9100 for
  about $110 about 4 months ago and it supports... hmm... pixel shaders
  e.g.). NV card with the same capatibilities will cost about $150.

 BTW, you're lucky to get 8000fps off-screen. I get ~550fps at regular size, 
 ~75fps at full-screen (1024x768x24) and only ~1550 at regular size 
 off-screen. Probably due to lack of DRM-support of nvidias? or is that just 
 wishful thinking ;-)
 

Best regards,
Andrew.

--
[EMAIL PROTECTED] mailing list



[gentoo-user] ATI Radeon 9100 and KT400A

2003-10-18 Thread Andrew Kirilenko
Hello!

I have got new PC with ATI Radeon 9100 and Gigabyte's MB based on
KT400A. I'd like to get hardware opengl. The very first thing, I have
tried is using agpgart and xfree-drm on 2.4 kernel. After some time
fscking with it and googling, I have found that agpgart in 2.4 doesn't
support version 3 of AGP (or something like this), and it's impossible
to tell KT400A to not use this AGP3 with my videocard, and only solution
is to use 2.6 kernel. OK. I have emerged developemt-sources (test6 at
the moment), compiled them and booted into without any problems. The
first problem, I have noticed that there is no DMA (and `hdparm /dev/hda
-d 1` can't set it). Blah. OK. Maybe I have missed something when
configured kernel, but this is not so important at the moment. Then I
have tried `modprobe agpgart` and it was successfull - my radeon was 
detected correctly. After this I have started `emerge xfree-drm` and it
simply failed (it supports nothing but 2.4 and patch for 2.5 is
commented in the ebuild and missing in xfree-drm/files). OK. No problem.
I made `make menuconfig` again and enabled DRM provided with kernel.
After recompiling and rebooting I have inserted all necessary modules
and `startx`. OK. X was started without problems. Superb! I started
`glxinfo` and simply got segfault (and the same with `glxgears`).

I'm wondering if DRM from kernel is suitable for my XFree version (4.3)?
Or it's possible to get xfree-drm for 2.6 somewhere? Or I need to boot
2.6 and recompile X (`X -version` shows Build Operating System: Linux
2.4.19-4GB i686 [ELF])? Or something else? I'm here, waiting for
suggestions :)

PS. Sorry for such looong story and my not perfect english.

Best regards,
Andrew.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] ATI Radeon 9100 and KT400A

2003-10-18 Thread Andrew Kirilenko
Hello!

Blah! I have recompiled XFree - the same problem with glxinfo and
glxgears! However, `glxinfo -i` works and shows that there is no direct
rendering.

On Sun, Oct 19, 2003 at 12:14:51AM +0300, Andrew Kirilenko wrote:
 Hello!
 
 I have got new PC with ATI Radeon 9100 and Gigabyte's MB based on
 KT400A. I'd like to get hardware opengl. The very first thing, I have
 tried is using agpgart and xfree-drm on 2.4 kernel. After some time
 fscking with it and googling, I have found that agpgart in 2.4 doesn't
 support version 3 of AGP (or something like this), and it's impossible
 to tell KT400A to not use this AGP3 with my videocard, and only solution
 is to use 2.6 kernel. OK. I have emerged developemt-sources (test6 at
 the moment), compiled them and booted into without any problems. The
 first problem, I have noticed that there is no DMA (and `hdparm /dev/hda
 -d 1` can't set it). Blah. OK. Maybe I have missed something when
 configured kernel, but this is not so important at the moment. Then I
 have tried `modprobe agpgart` and it was successfull - my radeon was 
 detected correctly. After this I have started `emerge xfree-drm` and it
 simply failed (it supports nothing but 2.4 and patch for 2.5 is
 commented in the ebuild and missing in xfree-drm/files). OK. No problem.
 I made `make menuconfig` again and enabled DRM provided with kernel.
 After recompiling and rebooting I have inserted all necessary modules
 and `startx`. OK. X was started without problems. Superb! I started
 `glxinfo` and simply got segfault (and the same with `glxgears`).
 
 I'm wondering if DRM from kernel is suitable for my XFree version (4.3)?
 Or it's possible to get xfree-drm for 2.6 somewhere? Or I need to boot
 2.6 and recompile X (`X -version` shows Build Operating System: Linux
 2.4.19-4GB i686 [ELF])? Or something else? I'm here, waiting for
 suggestions :)
 
 PS. Sorry for such looong story and my not perfect english.
 
 Best regards,
 Andrew.
 

Best regards,
Andrew.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] ATI Radeon 9100 and KT400A

2003-10-18 Thread Andrew Kirilenko
Hello!

On Sat, Oct 18, 2003 at 08:19:21PM -0400, Donnie Berkholz wrote:
 On Sat, 2003-10-18 at 17:14, Andrew Kirilenko wrote:
  Hello!
  
  I have got new PC with ATI Radeon 9100 and Gigabyte's MB based on
  KT400A. I'd like to get hardware opengl. The very first thing, I have
  tried is using agpgart and xfree-drm on 2.4 kernel. After some time
  fscking with it and googling, I have found that agpgart in 2.4 doesn't
  support version 3 of AGP (or something like this), and it's impossible
  to tell KT400A to not use this AGP3 with my videocard, and only solution
  is to use 2.6 kernel. OK. I have emerged developemt-sources (test6 at
  the moment), compiled them and booted into without any problems. The
  first problem, I have noticed that there is no DMA (and `hdparm /dev/hda
  -d 1` can't set it). Blah. OK. Maybe I have missed something when
  configured kernel, but this is not so important at the moment. Then I
 
 You probably missed support for your IDE chipset, that will get your
 DMA.
Yes. I have enabled my chipset as module, but forgot to load it. Now
it's OK.

  have tried `modprobe agpgart` and it was successfull - my radeon was 
  detected correctly. After this I have started `emerge xfree-drm` and it
  simply failed (it supports nothing but 2.4 and patch for 2.5 is
  commented in the ebuild and missing in xfree-drm/files). OK. No problem.
  I made `make menuconfig` again and enabled DRM provided with kernel.
  After recompiling and rebooting I have inserted all necessary modules
  and `startx`. OK. X was started without problems. Superb! I started
  `glxinfo` and simply got segfault (and the same with `glxgears`).
 
 This problem was just solved today and isn't even in portage yet.
 http://bugs.gentoo.org/show_bug.cgi?id=30541
Will take a look at it right now! Fsck! Need to rebuild X once again :(

  
  I'm wondering if DRM from kernel is suitable for my XFree version (4.3)?
 
 Yes.
Got it already, while googling. Thanks anyway.

  Or it's possible to get xfree-drm for 2.6 somewhere? Or I need to boot
  2.6 and recompile X (`X -version` shows Build Operating System: Linux
  2.4.19-4GB i686 [ELF])? Or something else? I'm here, waiting for
  suggestions :)
  
  PS. Sorry for such looong story and my not perfect english.
  
  Best regards,
  Andrew.
  
  --
  [EMAIL PROTECTED] mailing list
  

Best regards,
Andrew.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] ATI Radeon 9100 and KT400A

2003-10-18 Thread Andrew Kirilenko
Hello!

snip
  This problem was just solved today and isn't even in portage yet.
  http://bugs.gentoo.org/show_bug.cgi?id=30541
 Will take a look at it right now! Fsck! Need to rebuild X once again :(
snip

OK. This has solved my problem. Thanks.

glxgears gives me about 650 FPS (1152x864 24bpp) default glxears window
size. But when I'm totally covering glxgears win with xterm I'm getting
8000 FPS (that's expected :) and when I'm covering only very small part
of green gear with xterm, I'm getting about 1500-1600 FPS (and that's
strange). Next, when maximizing window to fullscreen, it shows about 72
FPS, but gears SEEMS to rotate much quickly. Can somebody explain me
this behaivor?

Best regards,
Andrew.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] i2c Unresolved symbols in modules

2003-06-09 Thread Andrew Kirilenko
Hello!

On 13:09 Mon 09 Jun, Hamilton Coutinho wrote:
 On Sat, Jun 07, 2003 at 08:53:58PM -0400, Brett I. Holcomb wrote:
  
  I built a test kernel with i2c /proc option and that worked.  However, to run 
  sensors-detect I need the /dev option so I went back to menuconfig and 
  checked it.  I did make dep  make clean bzImage modules modules_install
  
  and got the errors shown below (these are from bug 10629 - I have 
  2.4.20-xfs-r3).  Bugzilla lists this and the comment from Brandon is this is 
  not a bug - we have to insure the deps we build this agains are the same we 
  build the kernel with.  Okay - how do I do that???
  
  This kernel is the same one I've been running with for a couple of weeks, 
  same /usr/src/linux tree.  I built the kernel with the /proc i2c option with 
  no problem - booted it and it worked - so I just went back and added the /dev 
  option.  Now it's broken.  I tried running make mrproper, restoring my 
  .config and running the make dep   command.  I also tried make clean.  
  None of that works.  I even did depmod -a before building these.
  
  Any ideas on how to get the modules to insure my deps are proper?
  
  Thanks.
  
  depmod: i2c_bit_del_bus_R88f4afaf
  depmod: i2c_bit_add_bus_R933524db
  depmod: *** Unresolved symbols in 
  /lib/modules/2.4.19-gentoo-r10/misc/i2c-i810.o
  depmod: i2c_bit_del_bus_R88f4afaf
  depmod: i2c_bit_add_bus_R933524db
  depmod: *** Unresolved symbols in 
  /lib/modules/2.4.19-gentoo-r10/misc/i2c-savage
   4.o
  depmod: i2c_bit_del_bus_R88f4afaf
  depmod: i2c_bit_add_bus_R933524db
  depmod: *** Unresolved symbols in 
  /lib/modules/2.4.19-gentoo-r10/misc/i2c-via.o
  depmod: i2c_bit_del_bus_R88f4afaf
  depmod: i2c_bit_add_bus_R933524db
  depmod: *** Unresolved symbols in 
  /lib/modules/2.4.19-gentoo-r10/misc/i2c-voodoo
   3.o
  depmod: i2c_bit_del_bus_R88f4afaf
  depmod: i2c_bit_add_bus_R933524db
  
 
 Hello Brett,
 
 The functions i2c_bit_(add|del)_bus() are only available if you compile
 your kernel with CONFIG_I2C_ALGOBIT. Check your .config file.
 
 If you keep getting unresolved symbols you should need to run 'modprobe
 i2c-algo-bit' before running sensors-detect.
 
 Regards,

It's not really good idea, but when I got the same problems, I simply
deleted all that modules (I got unresolved symbols in the same modules).
Seems, it's because I don't have support for vodoo, i810 and Co enabled
in kernel. And it works perfectly all last month.

Best regards,
Andrew.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] OpenOffice compiling error

2003-06-07 Thread Andrew Kirilenko
Hello!

On 12:41 Sat 07 Jun, Klaus D. Neumann wrote:
 Hi,
 
 emerging (compiling) OpenOffice I got this error:
 collect2: ld returned 1 exit status
 dmake:  Error code 1, while making '../unxlngi4.pro/lib/libsw641li.so'
 ---* TG_SLO.MK *---
 
 ERROR: Error 65280 occurred while making 
 /var/tmp/portage/openoffice-1.0.3-r1/work/oo_1.0.3_src/sw/util
 
 !!! ERROR: app-office/openoffice-1.0.3-r1 failed.
 !!! Function src_compile, Line 489, Exitcode 1
 !!! Build failed!
 
 Well, I guess I can install the precompiled version. Do I have to clean up 
 something after this failed compilation attempt?
 

Take a look at /var/tmp/portage/
You can save some space by cleaning up it.

Best regards,
Andrew.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] re-claiming space - was: OpenOffice compiling error

2003-06-07 Thread Andrew Kirilenko
Hello!

On 12:54 Sat 07 Jun, Klaus D. Neumann wrote:
 On Saturday 07 June 2003 12:41 pm, Klaus D. Neumann wrote:
  Hi,
 
  emerging (compiling) OpenOffice I got this error:
  collect2: ld returned 1 exit status
  dmake:  Error code 1, while making '../unxlngi4.pro/lib/libsw641li.so'
  ---* TG_SLO.MK *---
 
  ERROR: Error 65280 occurred while making
  /var/tmp/portage/openoffice-1.0.3-r1/work/oo_1.0.3_src/sw/util
 
  !!! ERROR: app-office/openoffice-1.0.3-r1 failed.
  !!! Function src_compile, Line 489, Exitcode 1
  !!! Build failed!
 
  Well, I guess I can install the precompiled version. Do I have to clean up
  something after this failed compilation attempt?
 
 O-oh! I know what's wrong. I ran out of space on my HD. What is the smartest 
 way to reclaim the space of my old distro? I'd like to get rid of SuSE and 
 make the space available for Gentoo.
 
  hda1 1.5G Win95 M$-Windows 98 
  hda2 32.6G Linux SuSE / 
  hda3 725M Swap Gentoo 
  hda4 Extended 
  hda5 37M Linux Gentoo /boot 
  hda6 4.1G Linux Gentoo / 
  
  hdb1 3.8G Linux (SuSE /boot?) 
  hdb2 400M Swap SuSE 
  hdb3 18M FAT 16 no clue what's on here 
  
  I'd like to keep hda1 containing Win98, and everything that belongs to Gentoo 
 (hda3-5-6). Then I'd like to get rid of the rest and add it to hda6 (Gentoo 
 /). 
  
 

I had the same situation (with unneede SuSE and lack of space). I have 
made following steps:

1. mkreiserfs /dev/_susepartition_
2. mount it somewhere (/mnt/data would be OK)
3. move /usr/portage dir to it
4. edit make.conf and changed PORTDIR to /mnt/data/portage and
PORTAGE_TMP_DIR to /mnt/data/portagetmp (don't forget to create last)
5. added mount point to /mnt/data to fstab

That's all.

Best regards,
Andrew.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] YahooPOPS

2003-06-05 Thread Andrew Kirilenko
Hello!

On 09:55 Wed 04 Jun, Shawn wrote:
 fetchyahoo is great, but I want[ed] a pop gateway [ala hotwayd] because
 then I could apply evolution's filters to it. evo only seems to apply
 filters [shell command: spamc -f -c] to mail it retrieves.
 
 Anyway, I just created a luser whose only responsibility is to fetch all
 my webmail and I then pop it from there with qpopper.
 

I have following in my .fetchyahoorc and it simply pipes all mail to
procmail which filters them using spamassassin.

use-spool = 1
spool = /usr/bin/procmail

Best regards,
Andrew.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Configuration options

2003-06-03 Thread Andrew Kirilenko
Hello!

On 20:49 Mon 02 Jun, Yusuf Nagree wrote:
 I've searched an been unable to come up with an answer - can anyone
 help?
 
 How can you set configure options on a per package basis
 
 ie. in the xsane package, I want to run:
 
 configure --disable-gimp --enable-gtk2
 
 I can alter the ebuild file but I would really like to be able to put
 these configuration options somewhere like make.conf etc.. so that they
 are always set  when updating the xsane package.
 
 
 Anyone know if this is possible?

1. Try to play with USE flags
2. Just copy ebuild to the local portage dir and edit it according your
needs.

Best regards,
Andrew.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Kazaa lite and wine

2003-05-30 Thread Andrew Kirilenko
Hello!

On 20:45 Thu 29 May, Andy Arbon wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hello,
 
 Before I get accused of being too offtopic, this is about getting Kazaa
 Lite to work with wine on Gentoo in particular..
 
 I've followed numerous different sets of instructions over the web with
 no success - has anyone here managed to get Kazaa Lite (any version)
 working with wine (from Portage)?
 
 If so, which instructions did you follow? No matter what I do I can't
 even get the installer to run!
 
 Cheers,
 
 Andy
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.2 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
 iD8DBQE+1mM/X3TTUvZURBERAhTSAJ96dSbNdi77+LA57IIBD0eHyBGPAgCgn7/0
 3ljd+WI9OKzvOTSnpbtcumo=
 =lCzz
 -END PGP SIGNATURE-
 

emerge mutella

or at least take a look at net-p2p packages...

Best regards,
Andrew.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Java error

2003-05-29 Thread Andrew Kirilenko
Hello!

On 14:37 Wed 28 May, Jose Gonzalez Gomez wrote:
 
From the java.security.MessageDigest javadoc:
 
 MessageDigest md = MessageDigest.getInstance(SHA);
 
 try {
 md.update(toChapter1);
 MessageDigest tc1 = md.clone();
 byte[] toChapter1Digest = tc1.digest();
 md.update(toChapter2);
 ...etc.
 } catch (CloneNotSupportedException cnse) {
 throw new DigestException(couldn't make digest of partial content);
 }
 
I think you'd be very surprised about all the thing Java can do.
 
Regards
Jose

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 :)

Best regards,
Andrew.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Java error

2003-05-29 Thread Andrew Kirilenko
Hello!

On 16:35 Wed 28 May, Erik S. Johansen wrote:
 -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?
 

I've donr this, of course. But code is __UGLY__. And, try to do this
yourself, and you will see that this is not so easy, believe me. 

Best regards,
Andrew.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Java error

2003-05-29 Thread Andrew Kirilenko
Hello!

On 15:48 Wed 28 May, Jose Gonzalez Gomez wrote:
 
Andrew,
 
byte[] yourDigest = ...;
String  yourDigestAsString = new String( yourDigest );
 
Anyway, discussing about the power of a language based on this 
 question is a nonsense and really off track.
 
Regards
Jose
 

try this code, and you will see, that it won't work.

Best regards,
Andrew.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] question

2003-05-29 Thread Andrew Kirilenko
Hello!

On 08:27 Wed 28 May, Rick Sivernell wrote:
 
   Question here, I may have not given a completed enough command. I
 created a new user on a new system. But the only problem is that the new
 user can not su with passwd to root user. What do I need to perform?
 any help appreciated.
 
 cheers
 

This question should be in FAQ (isn't it?).

Just add your user to the wheel group.

Best regards,
Andrew.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Java error

2003-05-28 Thread Andrew Kirilenko
Hello!

On 03:05 Wed 28 May, bryce verdier wrote:
 I'm new to the whole java language. Anyway, i'm using kdevelop as my ide, and 
 i have this simple java code:
 
 class Main{
 
 public static void main( String[] args ){
 System.out.println( Hello, world! );
 }
 }
 
 
 and when i try to compile it i get this error:
 
 Exception in thread main java.lang.NoClassDefFoundError: Main
 
 I know this may not be the right place to talk about this... but any help 
 would be appreciated.
 

public class Main

Purchace good java book, or better purchace good C++ book - java isn't
good language at all.

Best regards,
Andrew.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Java error

2003-05-28 Thread Andrew Kirilenko
Hello!

On 13:51 Wed 28 May, Erik S. Johansen wrote:
 -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.
 

Can you please paste java code here, which will calc md5 sum? I'd like
to get 5d41402abc4b2a76b9719d911017c592 from hello.

Best regards,
Andrew.

--
[EMAIL PROTECTED] mailing list