Forum: Website Reviews May 25th, 2008 |
| Replies: 2 Views: 1,215 It doesn't appear to work right with relative URLs. For example, it's trying to access http://cssgen-e.php/?colorscheme=purple (cssgen-e.php is a CSS-generating PHP file that makes separate CSS for... |
Forum: Website Reviews May 24th, 2008 |
| Replies: 3 Views: 606 http://whosn2.com
A friend of mine and I were ranting on MySpace and figured we could do better. Here's our attempt: tell us how you like it.
(Feels good to be back on DW again. Haven't posted... |
Forum: PHP Apr 27th, 2007 |
| Replies: 8 Views: 2,568 Are you sure the server is running? (check the obvious first :-)
Also check the order of the arguments to mysql_connect - it's server, user, password. (I somehow manage to forget that every single... |
Forum: PHP Apr 27th, 2007 |
| Replies: 1 Views: 3,335 If I have a string like this:
blah
test
asdf |
Forum: Existing Scripts Feb 2nd, 2007 |
| Replies: 0 Views: 2,537 I have a DokuWiki page that I'd like to display some SVN info on. We're currently doing this by manually updating the page contents whenever we commit. But I'd like to do this dynamically so we don't... |
Forum: C Aug 26th, 2006 |
| Replies: 7 Views: 1,894 ...it's not a program, this is the kernel. |
Forum: C Aug 26th, 2006 |
| Replies: 7 Views: 1,894 No, I'm using GCC for now. But the point is it doesn't matter what's *supposed* to be readonly, because nothing enforces that once it's running :) |
Forum: C Aug 26th, 2006 |
| Replies: 7 Views: 1,894 Got it!
For anyone googling for this, here's the code I used:
char tmpbuf[1024];
char retval[256];
char *strsplit(const char *str, char splitchar, int token_num)
{
strcpy(str, tmpbuf); |
Forum: C Aug 26th, 2006 |
| Replies: 6 Views: 1,998 Use HTTP or FTP or something :)
(unless WF blocks those too. I wouldn't be surprised.) |
Forum: C Aug 26th, 2006 |
| Replies: 7 Views: 1,894 Actually, all memory is marked writable, mainly because I was too lazy to look up the bits to set for read-only memory :-) Keep in mind:
Sorry, forgot to include that part.
char line[1024];... |
Forum: C Aug 26th, 2006 |
| Replies: 7 Views: 1,894 I tried writing a string splitter for my little operating system based on http://www.daniweb.com/code/snippet318.html but it didn't quite work. Here's my code:
// BTW, this will eventually... |
Forum: C Jun 8th, 2006 |
| Replies: 6 Views: 20,549 Hmm, got it now. Dunno what I was thinking using 2 stacks like that :P |
Forum: C Jun 8th, 2006 |
| Replies: 6 Views: 20,549 cscgal:
#include <stdlib.h> // malloc()
Um, I don't have a malloc :P Thanks anyway.
OK, I dug up an old thread about doing it with 2 stacks. Here's what I came up with from that:
// ***... |
Forum: C Jun 8th, 2006 |
| Replies: 6 Views: 20,549 Really? I didn't know :P (jk)
Hmm, googling for a filename. I need to remember that one ;) |
Forum: C Jun 7th, 2006 |
| Replies: 6 Views: 20,549 Any idea how to implement a FIFO queue of chars in C? It doesn't need to be too fancy, just a fixed size (say 256 chars) and can't use any library functions (this is for a hobby OS kernel I'm... |
Forum: C May 28th, 2006 |
| Replies: 2 Views: 2,775 OK, just got that working. Turns out I was reading into the buffer wrong. Now I have another problem. This *should* be 512 bytes, I added it up myself. But sizeof() gives me 516, and I get some... |
Forum: C May 28th, 2006 |
| Replies: 2 Views: 2,775 First let me point out that this is not homework, it's just something I'm doing because I'm bored ;-)
I'm trying to get my little hobby operating system to read from the hard disk. So far all I can... |
Forum: Getting Started and Choosing a Distro Dec 7th, 2005 |
| Replies: 2 Views: 2,932 1) cat random things into /dev/dsp
(edit: forgot to say turn on your speakers first)
Some of my favorites:
cat /boot/vmlinuz-VERSION >> /dev/dsp
cat /dev/urandom >> /dev/dsp
cat /lib/modules/*... |
Forum: Getting Started and Choosing a Distro Dec 7th, 2005 |
| Replies: 75 Views: 79,292 Gentoo is for experts and people who like to recompile the wheel and all its dependencies. However, it is faster. If you're not a novice with Linux I would recommend Gentoo. (although it compiles... |
Forum: Legacy and Other Languages Dec 6th, 2005 |
| Replies: 1 Views: 7,409 First of all, this is the BASIC forum. In case you didn't know, BASIC is a programming language, not a Partition Magic component or something.
As for the actual problem, try a virus scan. |
Forum: Windows NT / 2000 / XP Dec 5th, 2005 |
| Replies: 3 Views: 3,984 A BIOS flash probably wouldn't help.
-Is your monitor plugged in tightly?
-Did your computer used to beep while it was booting? If so does it still do that? (some newer computers don't)
-Just... |
Forum: Windows NT / 2000 / XP Dec 5th, 2005 |
| Replies: 2 Views: 2,117 Also, try opening up Run and typing sfc /scannow. |
Forum: Java Dec 2nd, 2005 |
| Replies: 11 Views: 5,719 Filter out the red, green, and blue and then put them together.
Oh, and you can't have 332 blue in a green pixel - not only would that be more blue than green, the numbers are only supposed to go... |
Forum: Java Dec 2nd, 2005 |
| Replies: 2 Views: 10,868 Try setMinimumSize().
As for the dots, you mean the thing that looks like this?
< Removed - My ascii art kind of sucks :P >
I think you'd have to draw that yourself though. |
Forum: Java Dec 2nd, 2005 |
| Replies: 2 Views: 2,082 I'd recommend changing that to String record;. Once you create a String, even if it's null, you can't change it - they're immutable. String record; will tell the app that a String called record will... |
Forum: Shell Scripting Dec 1st, 2005 |
| Replies: 3 Views: 1,721 Something like BusyBox perhaps?
Oh, and *please* come up witha better title next time. |
Forum: Upcoming News Stories Nov 29th, 2005 |
| Replies: 1 Views: 3,518 "...and is responsible for development and development of Mozilla products."
They sure do develop a lot, eh? ;-)
Anyway, I wonder what new features it has... |
Forum: Getting Started and Choosing a Distro Nov 19th, 2005 |
| Replies: 4 Views: 2,493 The bin, boot, etc. directories are the filesystem. To get to, say, your windows hard drive, open up a terminal and type:
mkdir /mnt/windows
sudo mount -t auto -o rw,user /dev/hda1 /mnt/windows... |
Forum: Growing an Online Community Oct 10th, 2005 |
| Replies: 14 Views: 9,541 I may consider converting to SMF now. I recently lost my DB, so it won't be much of a problem since only 3 users have re-registered since. :)
Edit: Sorry, I just bumped a really old topic. |
Forum: Upcoming News Stories Oct 10th, 2005 |
| Replies: 3 Views: 2,586 This isn't the best place to ask questions like this, but:
sixty_9cents: Don't download anything like that, it's just asking for a virus.
eltommyo: Use IRC and PircBot. :)
On the original... |
Forum: C Oct 9th, 2005 |
| Replies: 1 Views: 1,427 NM, solved. Use OSLib. :) |
Forum: Existing Scripts Oct 9th, 2005 |
| Replies: 35 Views: 103,884 But then again, when was the last time you saw a web host with PHP5? |
Forum: C Oct 9th, 2005 |
| Replies: 1 Views: 1,427 I've been trying to compile OSKit under Cygwin. It gave me a bunch of errors, most of which I fixed. I can't fix this one though:
/*
* Copyright (c) 1996-2000 University of Utah and the Flux... |
Forum: IT Professionals' Lounge Oct 5th, 2005 |
| Replies: 3 Views: 2,469 |
Forum: Growing an Online Community Oct 5th, 2005 |
| Replies: 3 Views: 2,295 I believe Dani programmed that herself. If this is just a blog for you and not others, try http://fireblog.berlios.de. It's what I use on my site as a CMS :) |
Forum: Growing an Online Community Oct 5th, 2005 |
| Replies: 5 Views: 5,260 InvisionFree only lets you use mods they install. Have you tried EasyMOD? |
Forum: Growing an Online Community Oct 5th, 2005 |
| Replies: 9 Views: 12,286 |
Forum: DaniWeb Community Feedback Sep 30th, 2005 |
| Replies: 9 Views: 2,621 |
Forum: DaniWeb Community Feedback Sep 28th, 2005 |
| Replies: 9 Views: 2,621 -Can I have my name changed to mmiikkee12 so it will be like all the other forums I use?
-Can I be a moderator? (probably not but worth a try :P ) |
Forum: DaniWeb Community Feedback Sep 28th, 2005 |
| Replies: 8 Views: 3,655 200+ here :)
I like to get people to do things (like sign up at some site so I have an extra referral) and tell them they get a "special prize" if they do. Then I ask for their email and send them... |