- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 5
- Posts with Downvotes
- 5
- Downvoting Members
- 3
48 Posted Topics
Hi guys, I am wondering do you have any interesting blog for fun? blog of some interest guys, interest programmers, innovative persons, etc, etc...I would please to know that! | |
Hi all, I have been started to learn game programming for some weeks. I want to make a simple 2d game first, as a start off. but I come across some trouble~they are: I tried C++: allegro : maybe too primitive and old? Irrlicht: 3d rendering concept too complex for … | |
I don't know whether this is the right section to post, please help to move to a proper section if it is a wrong section. Thanks. I built up a RSI (repetitive strain injury) in my index and middle fingers due to excessive mousing last year. I tried many methods … | |
Help! This problem have been annoying me for a very long time. This is about backup files. This is a scenario which annoy me when I backup: I have a usb harddisk , let call it G:\ and I have a local harddisk, D:\ assume G:\myplace and D:\myplace should me … | |
I have searched on the internet before, but cannot get a suitable tool. I found tools to profile jdbc performance, gc statistics, but no some obvious tool to measure the time spent in each statement. I would like found which statements are spending the most of the time of my … | |
Today I tried to write a vba macro with the vba editor in excel to perform some stupid and time-consuming job. but then ,after 2 hours trying to write the macro in vba, I found that I don't know how to write vba, and the tutorials is not completed in … | |
What is java and the whole bunch of things. I only know how to use eclipse to write java project, probably java 1.4. Can someone give me a picture about the whole bunch of java things such as jsp servlet spring struts hibernate J2EE glassfish J2EE 5 J2EE 6 EJB … | |
I return to the embrace of allegro and the setup of it in VS2008 is so troublesome, can someone please help me? I followed a video in youtube, and for future, I type the action into a text file, here it is: [QUOTE]1) Copy the contents of E:\Raymond\game programming\allegro-msvc9-4.2.3\bin to … | |
I am trying to learn to program with glut. In a tutorial, I see the author created 2 projects, one is win32 console application, another is win32 application. If I happen to use int main() in win32 application/ WinMain() in win32 console application, the project will be dead. I would … | |
Hi all, Can I ask you all, what kinds of tool/api you use to write 2d game such as chess or mario?? And does a 3d api capable of making 2d game?? Currently I am using allegro as a start, is allegro old?? Thank you all! | |
This is a piece of code I copied from a tutorial of allegro. When I changed the window width and height to 800, the program just crash, what happened? set_gfx_mode( GFX_AUTODETECT_WINDOWED, 800, 800, 0, 0); buffer = create_bitmap( 800, 800); [CODE]#include <allegro.h> #include <cstdlib> #include <time.h> int x = 100; … | |
Hi all, I am new to game programming for my own interest. I just tried to use allegro to draw something according to a tutorial online. But I have a little problem, below is my code: [CODE]#include<allegro.h> int main() { int x = 10; int y = 10; allegro_init(); set_gfx_mode(GFX_AUTODETECT_WINDOWED, … | |
I just started to learn gui with wxpython I can see many objects have a style attribute, for example TextCtrl, self.inputArea = wx.TextCtrl(self.background, style=wx.TE_PROCESS_ENTER) Where can I see a list of available style for each object? Thanks | |
Hi guys, microsoft installed many things on my computer and most of them I don't know what they are. It make me feel so sick. I want to know what are they ( if anyone know ) and are they must be installed. Many thanks. Here is a list of … | |
Hi all, I am having problem printing chinese character in a text file. Some point to know: 1. I do not know the codec of the text file, but I know it is writting in traditional chinese. 2. I tried some approach from google, no one work I don't remember … | |
python.org tell people to forget about python 2 and head into python 3, but many 3rd party module do not support python 3 at all. For example, python 3 only ship with a tkinter gui module which does not have great reputation. If I am to use python 3, I … | |
I've learn python and I won't say that I know it all, but I won't see anywhere except google will use python. New programming language like python and ruby, do they have space to grow? | |
Hi everyone, My xp is quite strange these days, after I boot up the computer, when everything started up, I go to "my computer" and go to D drive. Something happens, the whole D drive don't have anything, and is just that empty, I go up a level(directory), and go … | |
Hi all, I want to reduce the no of process running in start up, however, I don't know what these process are, would anybody help me out with this? Thank you!!! My computer is vista, it is very slow. And I also want to know that, except reducing the number … | |
I am studying further about C++ and come across a topic which describe method to avoid multiple inclusion of header file, which may cause compilational problem. But I never seen such problem, I've tried to mimic the situation with the below files in Visual C++ 2008 express, no error prompted … | |
just as the topic, my boss told me that I should be writing some java api and need me to prepare for it because I've never write it. So, what exactly is "writing java api"? it's the api already been there? I think it is relate to websphere something... I … ![]() | |
I am using the newest version of ubuntu the network is ok, I can google, I can facebook. But when I try to check my company webmail (internal), it said cannot resolve hostname what is happening? My window vista is doing ok with the webmail. The webmail is microsoft online … | |
Re: Famaliar: Python, C, Java Some touch : C++, C#, PHP, VB.NET, COBOL Executed some lines of code: jsp, javascript, asp ( a brief touch in school ) | |
I want to learn C# .net because .net is so popular now. and I would like to work on an interesting topic which interests me, because the tutorial is so boring........ personally I am interested to web spider/crawling using python, and the project got to be in console ( not … | |
Re: VS2005 because it is realistic to assume the company out there don't have VS2010 or VS2008.........and VS2008 can accept VS2005 project, but VS2005 can't accept VS2008 project........ | |
Re: if you are using mysqldb, the cursor object should contain some information about the query/delete, check it out | |
I want to crawl my gf's xanga's post into my computer for better reading but it require me to login before viewing the post I am wondering ,can python crawl this password protected webpage? I already have the id and password, because that is my id. the login webpage, for … | |
This page use javascript to be the login button, I don't know how to deal with it. <ul class="list all"><li class="item item-1 item-odd"><a class="thumbnail" href="http://www.xanga.com" title="Xanga.com - The Blogging Community"><img src="http://s.xanga.com/images/mainlogo.gif" alt="Xanga.com - The Blogging Community" /></a><div class="details"><div class="itembody"><a href="http://www.xanga.com/register.aspx"><strong>What is Xanga?</strong> Xanga is a community where you can start … | |
I know the password. I want to crawl all the post of my gf's xanga down to my comp, for better reading. But my gf have set "require friend login" to see her post. So I need to login my id of xanga before reading her post. What I want … | |
I am crawling a website I found out that the source code of the website is different to the content of the website. obviously the content were generated through some script, does anyone know how to simulate the action and get the content of it? For example, there is a … | |
I have to learn cobol but my acc in openVMS have no yet opened Does anyone know any windows software (like visual studio) which can write and compile and run cobol program? I know what to write some easy program now. Thanks in advance | |
Hi all, I am a beginner of C++ and I don't know many things. I happens to encounter a simple problem which I don't know how to solve. Please help me out. I intended to write a program that solve the following problem: [QUOTE]Problem A Hashmat the brave warrior Input: … | |
I don't understand the documentation | |
The methods is so complicated. I want to check the execution time of each statement so that I can modify that part in order to increase speed. Thanks in advance, Raymond | |
The title maybe a little bit confusing, I will explain it. I am using opensuse. Usually I work in a shell like this: $vim test.py $python test.py >>>running... >>>running... >>>running... >>>running... $ Here the program end, but I cannot make further change nor access to the variable. I know I … | |
Hi, I have a dictionary storing many things... I would like to delete entries which have key of len < 3. But after I do the del statement, there are still lots of entries with len < 3, what happens? [CODE]for w in fdict.keys()[:]: if w.strip() in banset or len(w.strip()) … | |
I need to use scipy because some package I am using need scipy. Installing scipy need a complete install of LAPACK And I don't know how to do it... it is so complex.... it said installing LAPACK need g77 compiler, but I don't have... only habe a g42-fortran compiler it … | |
Just as the title. I want to store some strings inside the program, and later I may store them(the string) in a text file. And I do not want duplicating strings. As I learned from school, I should use a hash table for it, but I may build a bad … | |
When I am processing the data, I put them inside some beautiful data structure for convenience, but then again I am done with my work, and I want to save the result in hard drive, I need to store them in a txt file, and for later usage, I need … | |
The situation is this: I use opensuse, which bundled with a python 2.4.X version, I installed it. Then I think python 2.6.4 is better, so I installed python 2.6.4 and all the later package I installed, were with python 2.6.4. In my project, I need a module named tkinter (python-tk) … | |
I am a linux newbie and I am wondering why some software developed for python is usually installed by doing "python setup.py install". What is it doing? what is the different of this comparing to "compile from source"? For instance, a package in this form: numpy-1.3.0.tar.gz I was told by … | |
I want to use MySQLDB to connect MySQL but I got a problem. the problem is: --------------------------------------------------------------------------------- cs6201:/home/lamwaiman/python/data # python dm.py Traceback (most recent call last): File "dm.py", line 11, in <module> import MySQLdb File "build/bdist.linux-i686/egg/MySQLdb/__init__.py", line 19, in <module> File "build/bdist.linux-i686/egg/_mysql.py", line 7, in <module> File "build/bdist.linux-i686/egg/_mysql.py", line 6, … | |
Hi, I am new to here. I am doing with my honours project in University, it is about data mining. Before I can do data mining, first I need data. I want to extract data from a site : [url]www.tripadvisor.com[/url] Should I write my web crawler with python? I don't … | |
I got this project about building a secure communication between 2 user, with the help of a server. And I was confused. -------------------------------------------------------------------------------- The description said: | |
I am using BeautifulSoup for my project and I don't know how the object returned by the Soup is organized, so I don't know how to access it, except using only print I can only do this: [CODE]link = soup.find(attrs={'class' : re.compile("util2$")}) print link [/CODE] it print out the whole … | |
Here is my code. If I use forloop to write, it got error: Traceback (most recent call last): File "m.py", line 20, in <module> f.write(tag[i].string) TypeError: argument 1 must be string or read-only character buffer, not None HOWEVER, if I don't use for loop, instead write as : f.write(tag[1].string) it … | |
I want to create a file and open it and write on it with f= open('out.txt', 'a') then it got error: File "m.py", line 10, in <module> f=open('./out.txt', 'a') IOError: [Errno 13] Permission denied: './out.txt' What happened?? I am using opensuse and was using a user account to edit and … | |
I want to use the function preg_match_all to catch data in a web page ------------------------------------------------------------------------------------------ int preg_match_all ( string $pattern , string $subject , array &$matches [, int $flags [, int $offset ]] ) Searches subject for all matches to the regular expression given in pattern and puts them in … |
The End.