gentoo
Members-
Content Count
41 -
Joined
-
Last visited
Everything posted by gentoo
-
I am not sure. I have to wait until the cache of proxy expire. Welcome Guest<p>You may view the current ban list ...
-
I got 404 error. I think I should sleep now though it is intersting...
-
Whould you like to give me some links on hacking challenge? I am intersted in it after viewing your hacking challenge.
-
Interesting! I think I am charmed by this kind of game!
-
hmm, it is more difficult to do challenges via proxy. Due to cache , a single error result in failure for a long time. I am not sure wether "Progma: nocache" is useful.
-
How Can I Get /dev/null Back? deleted /dev/null by mistake
gentoo replied to jedipi's topic in Websites and Web Designing
A script named MAKEDEV is available in most of linux distribution. If you are puzzled about the major and minor number of device or only tired to do this, MAKEDEV is a good solution. -
Need Xorg To Listen On Network When Started By kdm-3.4
gentoo replied to qwijibow's topic in Websites and Web Designing
I am using gdm. There is a very friendly config program named gdmconfig together with gdm. Is there some gui program to kdm like gdmconfig to gdm? -
Python is sensitive to indent. I am not sure whether it is the reason. But , at least , these run well on my gentoo box: #!/usr/bin/env pythonfrom Tkinter import * # get widget classesclass Inputer(Frame): # subclass our GUI def __init__(self, parent=None): # constructor method Frame.__init__(self, parent) self.pack() ent = Entry(self) ent.insert(0, 'Type words here') # set text ent.pack(side=LEFT) # grow horiz ent.focus() # save a click ent.bind('<Return>', (lambda event: self.input(ent.get()))) # on enter key widget = Button(self, text='Query', command=self.input(ent.get())) widget.pack(side=RIGHT) def input(self,text): print textif __name__ == '__main__': Inputer().mainloop()
-
Xen can run multiple guest operating systems (now linux is supported well) in the same time with unprecedented levels of performance. Due to high performance, it can be used to build VPS too. The porting to other operating sytem is ongoing. Some links: Homepage: http://www.cl.cam.ac.uk/research/srg/netos/projects/archive/xen/ License: It is released under the terms of the GNU General Public License Performance: http://forums.xisto.com/no_longer_exists/
-
Homepage:old The latest release of it is at Project Page To my supprise ,it can download website with ftp,ftp over ssl,http,https,even gopher.http proxy ,username:password,socks5 proxy,norobots are all supported! I can't keep quiet after find it..Luck and give a tries. Just visit the project page and have a try. Good luck.
-
Are there any good tools to search ftp servers in a large lan?It is hoped to create a www search form to search any file in the lan's ftp servers and give the absolute link in the result index page.It seemed that parker can do this.But I can't find the real homepage of it.I will be very glad if you can introduce a new tool with more performance.Appreciate for your help very much!
-
It is a hard work to write a new os and the drivers together with it. But I think it is more difficult to devise a new os with enough feature usefull.If I have enough knowledge about os devising someday,I will select a specific and interesting new feature as my target to begin. Just return to school then found that my credits expired ... Never mind,I will begin again.Long time no see ,friends
-
Isp email is needed to apply for a register on some sites.Would you like to tell me what is "ISP EMAIL"? I have ever bought an email in some server.And I found that the free accounts and nonfree accounts in that server share the same domain in email address.It is impossible to tell free account from nonfree account in that sever.I don't think those site with requesting for isp-email will validate the "Nonfree email" by bothering the admin in these mail servers.So I am puzzled.Appreciate for your help!
-
You can Play now in Linux These is a list of the games.
gentoo replied to jamesleon's topic in Websites and Web Designing
Yeah,this would happen to winex or wine as you expected. But I find that xmame works well like mame and the game run by xmame don't lag. If you like arcade game ,xmame is good enough at speed. Certainly there are many parameters to compile this emulation for a good performance.It is as interesting as game to build xmame fitting your need! If you are not instereste in this,a distribution like gentoo or debian maybe good selection for you:just apt-get or emerge to install xmame.Especially in gentoo, you can custom many parameters with use flag,here is my default setting for xmame: games-emulation/xmame-0.89 -3dfx +X +alsa -arts -debug -dga +esd +ggi -joystick -net +opengl +sdl +svga +xv 14,583 kB Enjoy! -
When I open ftp connection to ftp.myuser.astahost.com,I got the message"connection refused".I have tried many time and failed though I have add many ftp accounts with cpanel .At last,I change the target host from ftp.myuser.astahost.com to myuser.astahost.com,then everthing works well. And I found all accounts I have added works well for connection to this host ,too.
-
I begin to study sdl.I find it is not easy to do this without any knowledge about graphic programing. Now I have a problem in making a simple animation: move rectange.The problem is that the rectangel move slowly even though I haven't do any time delay! Is there any way to speed up the movement of rectange? Some beginner links or documentation about speeding up the output of videocard is helpful ,too.I haven't find useful information in sdl's homepage and maillist for too little knowledge in this field. Appreciate for your any help! ---------------------------------------------------------------------------------- 1.Here are some system information: CPU: Athlon XP 1800 Video Card:GeForce4 MX 440 AGP 8x (only 4x is enable for the capability of mainboard) MEM: 256M DDR OS: gentoo linux 2.Here is the simple code I change from the example in dev lib of SDL: #include <stdlib.h>#include <unistd.h>#include <SDL/SDL.h>/* * Return the pixel value at (x, y) * NOTE: The surface must be locked before calling this! */Uint32 getpixel(SDL_Surface *surface, int x, int y){ int bpp = surface->format->BytesPerPixel; /* Here p is the address to the pixel we want to retrieve */ Uint8 *p = (Uint8 *)surface->pixels + y * surface->pitch + x * bpp; switch(bpp) { case 1: return *p; case 2: return *(Uint16 *)p; case 3: if(SDL_BYTEORDER == SDL_BIG_ENDIAN) return p[0] << 16 | p[1] << 8 | p[2]; else return p[0] | p[1] << 8 | p[2] << 16; case 4: return *(Uint32 *)p; default: return 0; /* shouldn't happen, but avoids warnings */ }}main(int argc, char *argv[]){ SDL_Surface *screen; int W = 640,H = 480,bpp = 8; int x,y; SDL_Rect dstrect; Uint32 color; /* Initialize the SDL library */ if( SDL_Init(SDL_INIT_VIDEO) < 0 ) { fprintf(stderr, "Couldn't initialize SDL: %s\n", SDL_GetError()); exit(1); } /* Clean up on exit */ atexit(SDL_Quit); /* * Initialize the display in a 640x480 bpp-bit palettized mode, * requesting a software surface */ /* Have a preference for bpp-bit, but accept any depth */ screen = SDL_SetVideoMode(W, H, bpp, SDL_HWSURFACE|SDL_ANYFORMAT|SDL_DOUBLEBUF); if ( screen == NULL ) { fprintf(stderr, "Couldn't set 640x480x8 video mode: %s\n", SDL_GetError()); exit(1); } for(x = 0,y = 0;(x<W) && (y<H);x++){ dstrect.x = x; dstrect.y = y; dstrect.w = 100; dstrect.h = 100; color=getpixel(screen,x,y); SDL_FillRect(screen,&dstrect,0xfa9d31); //SDL_UpdateRect(screen,x,y,100,100); //SDL_UpdateRects(screen,1,&dstrect); SDL_Flip(screen); //usleep(1e2); SDL_FillRect(screen,&dstrect,color); //SDL_UpdateRect(screen,x,y,100,100); //SDL_Flip(screen); y ++; }}
-
I am using firefox in my gentoo linux.The the result to test of block setting in my browser is in this thread:popup test. Slide Show test: http://forums.xisto.com/no_longer_exists/ works well in my browser. http://forums.xisto.com/no_longer_exists/ give a information about block and after I press it,slidshow works well.But I can't hear any music in my gentoo linux.It is possible that I haven't redirect some mime type of music file to certain program such as xmms,mplayer,mpg123.... I have only saw the slide show in tikiwiki.But the slide-show page in tikiwiki will not turn page automaticly as yours!Good work,Guy!
-
Drivers Problems In Linux Drivers arent always ok in Linux
gentoo replied to iGuest's topic in Websites and Web Designing
NilsC,Thank you very much for give me so detail information and a helpful link! It is possible that my current puzzles about the meaning of reputation and other things can be cleared by this link,too! -
I use Firefox on My IntelĀ® Pentimum 4 2.6GHz Gentoo Box build from stage1. I have never use GRP package.I just emerge firefox and I haven't install any plugins relation to block. I also wonder that my Firefox is weak than yours. Is there some difference between 32bits and 64bits CPU in parameter passed to configure by firefox's ebuild? Or CFLAGS and CXXFLAGS in my /etc/make.conf: emerge --info |grep FLAGCFLAGS="-O2 -mcpu=pentium4 -march=pentium4 -fomit-frame-pointer"CXXFLAGS="-O2 -mcpu=pentium4 -march=pentium4 -fomit-frame-pointer"Unset: LDFLAGS Install information about Mozilla-Firefox: emerge -pv mozilla-firefoxThese are the packages that I would merge, in order:Calculating dependencies ...done![ebuild R ] net-www/mozilla-firefox-1.0-r3 -debug -gnome -java -ldap -mozdevelop -moznoxft -mozsvg -mozxmlterm* -xinerama -xprint* 0 kB Total size of downloads: 0 kB The real parameter passed to Mozilla-Firefox in my gentoo box: etcat -u mozilla-firefox[ Colour Code : set unset ][ Legend : (U) Col 1 - Current USE flags ][ : (I) Col 2 - Installed With USE flags ] U I [ Found these USE variables in : net-www/mozilla-firefox-1.0-r3 ] - - java : Adds support for Java - - mozsvg : Enable SVG support in mozilla and firefox - - debug : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too - - java : Adds support for Java - - gnome : Adds GNOME support - - ldap : Adds LDAP support (Lightweight Directory Access Protocol) - - debug : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too - - xinerama : Add support for the xinerama X11 extension, which allows you to stretch your display across multiple monitors - + xprint : Support for xprint, http://forums.xisto.com/no_longer_exists/ - - moznoxft : Disable XFT support in mozilla (also firefox, thunderbird) - - mozdevelop : Enable features for web developers (e.g. Venkman) - + mozxmlterm : Enable mozilla's XML-based command-line terminal
-
I am not sure whether I should share it here or in networking board.But it is a really interesting site that I have visted. 27 tests was was made t test your browser's adblock plugins.Firefox (default install in gentoo linux)failed to block the popup window of test 12 13 21.Which test does your browser fail to pass? Here is the url: http://www.kephyr.com/popupkillertest/test/index.html
-
I have been searching for free project hosting for some days.But most of free project hosting will not accept hosting immediately. Is there some qualify free project hosting server that I can apply to and start my project immediately? Appreciate for your help. List (not meet with my need): http://savannah.gnu.org/ http://sourceforge.net/ http://forums.xisto.com/no_longer_exists/ http://dotsrc.org/ http://www.mozdev.org/
-
Drivers Problems In Linux Drivers arent always ok in Linux
gentoo replied to iGuest's topic in Websites and Web Designing
Hi qwijibow,Does "post 0" means a dead id if the id have open a thread ? How does this happen?And I found that what I have posted do not match the number displayed together with my id.I know little about these for this forum.Would you like to recommend some Documentation of FAQ for this? Thanks you to let me be aware of this. -
Drivers Problems In Linux Drivers arent always ok in Linux
gentoo replied to iGuest's topic in Websites and Web Designing
Hi qwijibow,Does "post 0" means a dead id if the id have open a thread ? How does this happen?And I found that what I have posted do not match the post number displayed together with my id.I know little about these for this forum.Would you like to recommend some Documentation of FAQ for this? Thanks you to let me be aware of this. -
Yeah,most of dirivers only search kernel-header for building,not the whole fresh source.But I don't think mdk's patch to vanilla source will affect all drivers.If lucky,just extract /proc/config.gz(I am not sure if mdk enable this) to .config then compile the whole kernel. .It is a hardwork for the first time ,but only the first time.Just as you say,it is not a quick way to let driver work for user at this level, though I did this only for interest when I was at the same level.