User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 455,996 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 3,822 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 40 of 246
Search took 0.02 seconds.
Posts Made By: mmiikkee12
Forum: Website Reviews May 25th, 2008
Replies: 2
Views: 691
Posted By mmiikkee12
Re: Broken Link Checker Tool - Check Dead Links On Website

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: 354
Posted By mmiikkee12
whosN2 - The sane alternative to MySpace

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 in...
Forum: PHP Apr 27th, 2007
Replies: 8
Views: 1,606
Posted By mmiikkee12
Re: unable to connect PHP with Mysql

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: 1,868
Posted By mmiikkee12
Replacing many newlines with 1 or 2 <br>'s

If I have a string like this:

blah
test



asdf
Forum: Existing Scripts Feb 2nd, 2007
Replies: 0
Views: 2,035
Posted By mmiikkee12
Displaying SVN stats in a DokuWiki page

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,409
Posted By mmiikkee12
Re: String splitter

...it's not a program, this is the kernel.
Forum: C Aug 26th, 2006
Replies: 7
Views: 1,409
Posted By mmiikkee12
Re: String splitter

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,409
Posted By mmiikkee12
Re: String splitter

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,499
Posted By mmiikkee12
Re: Creating an auto update function in an app

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,409
Posted By mmiikkee12
Re: String splitter

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];
(EDIT:...
Forum: C Aug 26th, 2006
Replies: 7
Views: 1,409
Posted By mmiikkee12
String splitter

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 return a...
Forum: C Jun 8th, 2006
Replies: 6
Views: 9,181
Posted By mmiikkee12
Re: FIFO queues in C

Hmm, got it now. Dunno what I was thinking using 2 stacks like that :P
Forum: C Jun 8th, 2006
Replies: 6
Views: 9,181
Posted By mmiikkee12
Re: FIFO queues in C

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:

// *** fifo.c...
Forum: C Jun 8th, 2006
Replies: 6
Views: 9,181
Posted By mmiikkee12
Re: FIFO queues in C

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: 9,181
Posted By mmiikkee12
Question FIFO queues in C

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,046
Posted By mmiikkee12
Re: Reading from hard disk

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,046
Posted By mmiikkee12
Reading from hard disk

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,082
Posted By mmiikkee12
The best ways to quench your boredom in Linux :)

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: 60,445
Posted By mmiikkee12
Re: Gentoo vs Ubuntu

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: 6,287
Posted By mmiikkee12
Re: error #993 Partition contains open files.Use operating system check utility

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 / 2003 Dec 5th, 2005
Replies: 3
Views: 3,311
Posted By mmiikkee12
Re: Windows won't boot, monitor wont show picture.

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 read...
Forum: Windows NT / 2000 / XP / 2003 Dec 5th, 2005
Replies: 2
Views: 1,720
Posted By mmiikkee12
Re: Task Manager gone AWOL in Win2k

Also, try opening up Run and typing sfc /scannow.
Forum: Java Dec 2nd, 2005
Replies: 3
Views: 2,232
Posted By mmiikkee12
Re: convert pixel to rgb values

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 up...
Forum: Java Dec 2nd, 2005
Replies: 2
Views: 6,359
Posted By mmiikkee12
Re: JFrame Resizing

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: 1,561
Posted By mmiikkee12
Re: text processing?

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,422
Posted By mmiikkee12
Re: Please Help Me !!!!!!!!

Something like BusyBox perhaps?

Oh, and *please* come up witha better title next time.
Forum: Getting Started and Choosing a Distro Nov 19th, 2005
Replies: 4
Views: 2,097
Posted By mmiikkee12
Re: first time linux...

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
Then...
Forum: Growing an Online Community Oct 10th, 2005
Replies: 14
Views: 8,460
Posted By mmiikkee12
Re: What are your opinions on Simple Machines (SMF) forum?

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: C Oct 9th, 2005
Replies: 1
Views: 1,246
Posted By mmiikkee12
Forum: Existing Scripts Oct 9th, 2005
Replies: 35
Views: 61,661
Posted By mmiikkee12
Re: Is phpBB easy to hack?

But then again, when was the last time you saw a web host with PHP5?
Forum: C Oct 9th, 2005
Replies: 1
Views: 1,246
Posted By mmiikkee12
C + Assembler = something I can't solve

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 Careers and Business Oct 5th, 2005
Replies: 3
Views: 2,145
Posted By mmiikkee12
Forum: Growing an Online Community Oct 5th, 2005
Replies: 3
Views: 1,925
Posted By mmiikkee12
Re: Blogging? What's the hype?

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: 4,462
Posted By mmiikkee12
Re: forum building help

InvisionFree only lets you use mods they install. Have you tried EasyMOD?
Forum: Growing an Online Community Oct 5th, 2005
Replies: 9
Views: 10,985
Posted By mmiikkee12
Re: phpBB Sub-Categories?

Categories Hierarchy...
Forum: DaniWeb Community Feedback Sep 30th, 2005
Replies: 9
Views: 2,190
Posted By mmiikkee12
Re: Questions

Thanks! :)
Forum: DaniWeb Community Feedback Sep 28th, 2005
Replies: 9
Views: 2,190
Posted By mmiikkee12
Questions

-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,227
Posted By mmiikkee12
Re: Gmail swap forum

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...
Forum: Assembly Sep 28th, 2005
Replies: 6
Views: 6,315
Posted By mmiikkee12
Re: Question: Where are good Assembly Compilers?

You really aren't ready for assembly if you don't know your computer architecture :(
Forum: Shell Scripting Sep 28th, 2005
Replies: 1
Views: 6,135
Posted By mmiikkee12
Colored output in bash?

Anyone know how to put colored text on the screen in a bash script?
Showing results 1 to 40 of 246

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