Forum: PHP Dec 20th, 2007 |
| Replies: 8 Views: 2,584 Alright thanks alot. Looks like that query did it for me. |
Forum: PHP Dec 19th, 2007 |
| Replies: 8 Views: 2,584 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: 2,584 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: 2,584 Okay thanks, i'm taking a look at it now. |
Forum: PHP Dec 14th, 2007 |
| Replies: 8 Views: 2,584 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... |
Forum: *nix Software Dec 14th, 2007 |
| Replies: 9 Views: 1,856 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: 4,297 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 post.
... |
Forum: Game Development Dec 7th, 2007 |
| Replies: 3 Views: 4,639 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: 630 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: 5 Views: 3,182 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: 1,842 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: 3,246 Yeah but XNA is for C#.NET only as far as I understand it. |
Forum: PHP Nov 12th, 2007 |
| Replies: 4 Views: 873 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 interested.
... |
Forum: Game Development Nov 10th, 2007 |
| Replies: 74 Views: 12,904 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: 2,438 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: 12,904 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: 3,071 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 popen3.
... |
Forum: Python Nov 3rd, 2007 |
| Replies: 7 Views: 3,071 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... |
Forum: IT Professionals' Lounge Nov 3rd, 2007 |
| Replies: 6 Views: 1,772 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: 3,071 Im executing gcc to compile a file in this instance. |
Forum: Python Nov 3rd, 2007 |
| Replies: 7 Views: 3,071 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: PHP Oct 31st, 2007 |
| Replies: 0 Views: 3,869 This class will allow you to take an RSS feed (local or remote) and "export" it to an easily managed/viewed array. Below is an example of it usage:
<?php
include("exportrss.php");
// Parse... |
Forum: IT Professionals' Lounge Oct 24th, 2007 |
| Replies: 1 Views: 2,310 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: 1,039 You cloud use the 'yes' command. For example:
#!/bin/bash
yes '10' | my_program;
Would send the input of 10 to my_program. |
Forum: IT Professionals' Lounge Oct 24th, 2007 |
| Replies: 14 Views: 19,958 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: 1,836 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 saying:
... |
Forum: Python Oct 24th, 2007 |
| Replies: 5 Views: 864 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: 1,128 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: 12,904 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: 14,225 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: 656 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: 1,128 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: IT Professionals' Lounge Oct 17th, 2007 |
| Replies: 107 Views: 15,971 Pennsylvania, United States here... |
Forum: Community Introductions Oct 17th, 2007 |
| Replies: 5 Views: 621 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: 1,258 *Sigh* Still isnt working. :/ |
Forum: DaniWeb Community Feedback Oct 15th, 2007 |
| Replies: 5 Views: 1,258 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... |
Forum: Community Introductions Oct 15th, 2007 |
| Replies: 5 Views: 621 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... |
Forum: Python Oct 10th, 2007 |
| Replies: 5 Views: 1,376 >>> 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.... |
Forum: C++ Oct 10th, 2007 |
| Replies: 0 Views: 3,765 This snippet will allow you to separate or "explode" strings into vectors via a character separator or the visa versa. In which case you would take a vector and "implode" it into a string separated... |