User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 402,568 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,281 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 37 of 37
Search took 0.01 seconds.
Posts Made By: maddog39
Forum: PHP Dec 20th, 2007
Replies: 8
Views: 1,027
Posted By maddog39
Re: Calculating relevance from a search

Alright thanks alot. Looks like that query did it for me.
Forum: PHP Dec 19th, 2007
Replies: 8
Views: 1,027
Posted By maddog39
Re: Calculating relevance from a search

Yea i understand all of that except the ORDER BY relevance part, where are you (am I) getting that field. Where's it coming from? Thats where I'm confused.
Forum: PHP Dec 18th, 2007
Replies: 8
Views: 1,027
Posted By maddog39
Re: Calculating relevance from a search

Okay I took a look at that page and everything. But I'm a bit confused because its telling you to order by relevance, when thats what I am trying to determine in the first place. Any ideas?
Forum: PHP Dec 17th, 2007
Replies: 8
Views: 1,027
Posted By maddog39
Re: Calculating relevance from a search

Okay thanks, i'm taking a look at it now.
Forum: PHP Dec 14th, 2007
Replies: 8
Views: 1,027
Posted By maddog39
Calculating relevance from a search

Hello all,

I am building a website and on my search page I want to be able to display the relevance of each search result. I've searched all over the place but still haven't found any information on...
Forum: *nix Software Dec 14th, 2007
Replies: 9
Views: 1,238
Posted By maddog39
Re: Learning C++ - which program/editor

For graphical text editors on Linux, I highly recommend Geany, which is a "lightweight" IDE and is exactly what it says. Its not very bloated at all but has the most helpful features of IDEs such as...
Forum: *nix Software Dec 8th, 2007
Replies: 14
Views: 3,071
Posted By maddog39
Re: Setup Debian/Ubuntu Server within 24hrs

Well here are some tutorials i found on "Perfect setups" for both debian and ubuntu. They both have similar setup configurations to the ones mentioned in the first...
Forum: Game Development Dec 7th, 2007
Replies: 3
Views: 1,845
Posted By maddog39
Re: C# replacing c++ as gaming language?

What does that mean? The bottom line is that C# will never replace C++, simply because of cross platform and speed restraints. With more and more mac and linux desktops out there every day, what are...
Forum: C++ Dec 4th, 2007
Replies: 2
Views: 376
Posted By maddog39
Re: C++ and GUI

You could also use give Qt (http://trolltech.com/products/qt) or WxWidgets (http://www.wxwidgets.org/) a try, they're also popular choices for cross platform.
Forum: PHP Dec 1st, 2007
Replies: 4
Views: 979
Posted By maddog39
Re: Execute Once?

You can execute a block of PHP code in plain text directly. I would recommend taking a look at the eval() (http://www.php.net/eval) function, as that will allow you to do what your trying to do (as...
Forum: PHP Nov 15th, 2007
Replies: 3
Views: 820
Posted By maddog39
Re: Drawback of php

OOP is not a problem at all. In PHP5 there is full object orientation, I take advantage of all its features everyday. Even with many classes in PHP's standard API, there is both an OO way to use a...
Forum: Game Development Nov 14th, 2007
Replies: 7
Views: 1,652
Posted By maddog39
Re: DirectX vs OpenGL

Yeah but XNA is for C#.NET only as far as I understand it.
Forum: PHP Nov 12th, 2007
Replies: 4
Views: 484
Posted By maddog39
Re: Tutorials

I would recommend Pixel2Life if you are looking for some PHP tutorials. They have a wide selection of tutorials to choose from. Here you go if your...
Forum: Game Development Nov 10th, 2007
Replies: 74
Views: 8,093
Posted By maddog39
Re: Game Engine

Well I can say that I have. But then again, I wasn't one of the people supporting Java for game dev. I think it'd be terrible for full blown 3D games. Not to mention slow. Having to translate the...
Forum: Game Development Nov 6th, 2007
Replies: 14
Views: 1,490
Posted By maddog39
Re: Why is DX so hard for me?

I am a Sophomore in high school and I haven't had a major problem yet picking up SDL + OpenGL in C. I think OpenGL is far easier to understand than DX. I 'd also suggest taking a look at maybe a...
Forum: Game Development Nov 6th, 2007
Replies: 74
Views: 8,093
Posted By maddog39
Re: Game Engine

I entirely disagree with your statement. I think you are completely wrong. I think that proprietary APIs are the WORST at providing documentation and are usually far more complex and require a much...
Forum: Python Nov 3rd, 2007
Replies: 7
Views: 1,343
Posted By maddog39
Re: Capture stdin output from popen2

Yea, aaah. I intentionally put syntax errors in there to test it. But gcc is most likely printing those errors to stderr and thats why its not capturing them. Alright, I'll try it with...
Forum: Python Nov 3rd, 2007
Replies: 7
Views: 1,343
Posted By maddog39
Re: Capture stdin output from popen2

I am on linux, and I am using the popen2 module.
http://docs.python.org/lib/module-popen2.html

[Edit]
Thats my mistake then isn't it? I am reading from the first element of the tuple, when I should...
Forum: Software Developers' Lounge Nov 3rd, 2007
Replies: 6
Views: 1,076
Posted By maddog39
Re: C++ or C#

C#.NET 1.1 on top of Mono is HUGE on linux these days. Many core applications in GNOME are written in it. So I'd say, lean C#. But if you want maximum cross-platformability (if thats even a word...
Forum: Python Nov 3rd, 2007
Replies: 7
Views: 1,343
Posted By maddog39
Re: Capture stdin output from popen2

Im executing gcc to compile a file in this instance.
Forum: Python Nov 3rd, 2007
Replies: 7
Views: 1,343
Posted By maddog39
Capture stdin output from popen2

Hello all,

In my python application I am trying to capture the output of stdin from a command that I run via popen2(). The python docs say that it returns a tuple of (stdin, stdout) however and i...
Forum: Web Developers' Lounge Oct 24th, 2007
Replies: 1
Views: 1,213
Posted By maddog39
Re: Password Protect without .htaccess

Use a simple PHP script with a static username and password and maybe a javascript prompt form, or standard HTML prompt form.

<?php
$username = "myusername";
$password = "mypassword";

if...
Forum: Shell Scripting Oct 24th, 2007
Replies: 1
Views: 663
Posted By maddog39
Re: Giving input to a c++ file

You cloud use the 'yes' command. For example:

#!/bin/bash
yes '10' | my_program;

Would send the input of 10 to my_program.
Forum: Software Developers' Lounge Oct 24th, 2007
Replies: 10
Views: 5,392
Posted By maddog39
Re: How to read/write on a smart card

Well, I'm just curious. But, whats wrong with just mounting the card onto the operating system and using the filesystem to read/write to it? Are you trying to do something fancy/more complicated with...
Forum: Python Oct 24th, 2007
Replies: 0
Views: 824
Posted By maddog39
PyGTK: issue packing widgets into dialog

Hello all,

I've been having a ton of trouble with this custom gtk dialog I am trying to create. The code "runs" however I receive a GtkWarning message...
Forum: Python Oct 24th, 2007
Replies: 5
Views: 493
Posted By maddog39
Re: Forum backend in python - Can I please have the backend for a forum?

Umm I think hes more looking for a library or something to do one with, or an existing complete BB written in Python which he can make his own template/skin/user interface for.Although unfortunately...
Forum: Networking Hardware Configuration Oct 22nd, 2007
Replies: 5
Views: 610
Posted By maddog39
Re: setting up ftp

Yea, you will need to setup an FTP server on your or a computer, and on that computer, setup a virtual drive for the network attached storage device. Then tell the FTP server on the computer to point...
Forum: Game Development Oct 19th, 2007
Replies: 74
Views: 8,093
Posted By maddog39
Re: Game Engine

Yes, I'm pretty sure that that's the case. I know for a fact that .NET requires a VM and I do a little bit of Mono and a runtime VM is required to run any mono application.
Forum: Python Oct 19th, 2007
Replies: 2
Views: 3,790
Posted By maddog39
Re: convert to string: list with integers and strings

Pretty easy, I came up with this one liner for it:

print " ".join(["%s" % el for el in datalist])

Hope that helps. : D
Forum: Python Oct 18th, 2007
Replies: 2
Views: 398
Posted By maddog39
Re: what is %r mean?

Well first of all, what exactly are you trying to do. I searched all over the place for that operator and found nothing.
Forum: Networking Hardware Configuration Oct 18th, 2007
Replies: 5
Views: 610
Posted By maddog39
Re: setting up ftp

Well, first of all, what operating system are you running. If your running windows, I really couldn't tell ya. If you put Ubuntu Server or Debian or something on a beige box as a server, simply do...
Forum: Software Developers' Lounge Oct 17th, 2007
Replies: 54
Views: 5,017
Posted By maddog39
Re: Where are you guys from?

Pennsylvania, United States here...
Forum: Community Introductions Oct 17th, 2007
Replies: 5
Views: 330
Posted By maddog39
Re: Hallo!

Well I never implied boasting about anything. Its just that, there isn't anywhere else where more experienced people can get help. Usually if I have a problem its with some topic thats foreign to a...
Forum: DaniWeb Community Feedback Oct 16th, 2007
Replies: 5
Views: 750
Posted By maddog39
Re: IRC Account Trouble

*Sigh* Still isnt working. :/
Forum: DaniWeb Community Feedback Oct 15th, 2007
Replies: 5
Views: 750
Posted By maddog39
IRC Account Trouble

Hello all,

Recently I've been hanging out on the IRC server and I have a registered nick, just like I do on every other server. Except today (October, 15) I tried to login with my usual password and...
Forum: Community Introductions Oct 15th, 2007
Replies: 5
Views: 330
Posted By maddog39
Hallo!

Hello all,

My name is Alec Hussey, I'm a freelance open source developer and I am 15 years old. I develop for the NIX platform (specifically Linux and FreeBSD). I've known about daniweb for a while...
Forum: Python Oct 10th, 2007
Replies: 5
Views: 753
Posted By maddog39
Re: What's your favorite error?

>>> from __future__ import braces
File "<stdin>", line 1
SyntaxError: not a chance

Haha! Favorite error ever! All versions of python have this "hidden feature." It's obviously making fun at C. : P
Showing results 1 to 37 of 37

 
All times are GMT -4. The time now is 10:03 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC