Forum: PHP Dec 20th, 2007 |
| Replies: 8 Views: 1,027 |
Forum: PHP Dec 19th, 2007 |
| Replies: 8 Views: 1,027 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 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 |
Forum: PHP Dec 14th, 2007 |
| Replies: 8 Views: 1,027 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 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 |
Forum: Game Development Dec 7th, 2007 |
| Replies: 3 Views: 1,845 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 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 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 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 |
Forum: PHP Nov 12th, 2007 |
| Replies: 4 Views: 484 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 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 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 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 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 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 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 |
Forum: Python Nov 3rd, 2007 |
| Replies: 7 Views: 1,343 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 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 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 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 |
Forum: Python Oct 24th, 2007 |
| Replies: 5 Views: 493 |
Forum: Networking Hardware Configuration Oct 22nd, 2007 |
| Replies: 5 Views: 610 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 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 |
Forum: Python Oct 18th, 2007 |
| Replies: 2 Views: 398 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 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 |
Forum: Community Introductions Oct 17th, 2007 |
| Replies: 5 Views: 330 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 |
Forum: DaniWeb Community Feedback Oct 15th, 2007 |
| Replies: 5 Views: 750 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 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 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 |