Search found 464 matches

by G-Brain
27 Sep 2008, 03:27
Forum: Promotion/Business
Topic: squishKILL
Replies: 3
Views: 840

It would be nice to have the code.
by G-Brain
27 Sep 2008, 03:07
Forum: Coding
Topic: Python Programming Error
Replies: 11
Views: 1755

Here's a decent example I hacked up: users = { 'mark' : 'test', 'foo' : '12345', 'boo' : 'foo' } while True: input_user = raw_input('Username: ') input_pass = raw_input('Password: ') if input_user in users: if users[input_user] == input_pass: print 'User exists. Password correct. Successfully logged...
by G-Brain
26 Sep 2008, 12:41
Forum: Newbies
Topic: Telnet
Replies: 8
Views: 1279

solidsnake wrote:If it wouldn't be rude can i ask a Python programming question here? Since i am not keen on spamming forums with too many new topics
You're changing the subject.

Synonym for subject is topic.

I say it's safe to start a new one, maybe it will even be interesting.
by G-Brain
25 Sep 2008, 10:20
Forum: General Discussion/Off topic
Topic: A reference & software for the world's 6,912 known langu
Replies: 3
Views: 731

Re: A reference & software for the world's 6,912 known l

DNR wrote:/// imagine coding software in an exinct language - DNR ///
Imagination is a great thing.
by G-Brain
23 Sep 2008, 23:44
Forum: General Discussion/Off topic
Topic: Muh rant!
Replies: 10
Views: 1514

A rant is a poorly thought out attack on an idea. The ideas here being Windows and decent television. I think this qualifies as a rant. Not to be dick, but any OS is only as good as its adminstration. :wink: Just like cars being as good as they are maintained. If they break down, it is the maintaine...
by G-Brain
23 Sep 2008, 11:37
Forum: Coding
Topic: Hit a brick wall
Replies: 4
Views: 837

It works. I'm a genius.
by G-Brain
23 Sep 2008, 11:34
Forum: Coding
Topic: Hit a brick wall
Replies: 4
Views: 837

I doubt it would do anything, but you should initialize CookiesEatCount to all 0's too.
by G-Brain
23 Sep 2008, 10:33
Forum: Linux
Topic: Linux Gaming
Replies: 7
Views: 4258

Re: Linux games thread

Since there is a lot of work when getting games to work good in Linux, this is placed on this board instead of the gaming board. The problem is getting Windows games to work on Linux, for which you have to emulate an operating system, which is understandably a pain. I usually play games on a consol...
by G-Brain
23 Sep 2008, 10:27
Forum: Coding
Topic: hey[ Msn freezer]
Replies: 10
Views: 1669

How about you post the code?
by G-Brain
22 Sep 2008, 23:33
Forum: Windows
Topic: 100 Window NT/XP/Vista commands
Replies: 10
Views: 4376

Thanks, this is really helpful.
by G-Brain
22 Sep 2008, 23:32
Forum: Newbies
Topic: DOS Coding Problem
Replies: 5
Views: 947

Note that you can disable autorun. Google it.
by G-Brain
21 Sep 2008, 03:03
Forum: Coding
Topic: SQL help
Replies: 14
Views: 1866

Swan wrote:

Code: Select all

$query=mysql_query("CREATE TABLE IF NOT EXISTS watchlist(

username varchar(16) NOT NULL,

offence text NOT NULL,

punishment text NOT NULL,

PRIMARY KEY ('username')

)");

$result=mysql_query($query);

With $result, you're doing mysql_query on a mysql_query. You're welcome.
by G-Brain
20 Sep 2008, 12:22
Forum: Hardware&Electronics
Topic: Boot PC like a PALM/PDA?
Replies: 4
Views: 935

That's called suspend to disk (except you'd use an SD card). There's also suspend to RAM. Google 'em :)
by G-Brain
20 Sep 2008, 11:38
Forum: Hardware&Electronics
Topic: Boot PC like a PALM/PDA?
Replies: 4
Views: 935

Coreboot, formerly known as LinuxBIOS, is pretty close:

http://www.coreboot.org

You'll need a compatible motherboard.

Old video:
by G-Brain
20 Sep 2008, 05:25
Forum: Coding
Topic: cat > a.out - Writing Linux programs in raw binary
Replies: 1
Views: 601

cat > a.out - Writing Linux programs in raw binary

cat > a.out Writing Linux programs in raw binary C Let's begin with Linux system calls. A system call is a request made by a program to the operating system for performing certain tasks. System calls provide the interface between a process and the operating system. A good example of a Linux system ...