~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

@Ravalon and Iamthwee

Please stop at this right now otherwise this thread would just end up being closed.....

Its good if conversations flow but going in the same flame loop round and round doesn't actually help anyone's cause.

Thank you.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

I know Ruby on Rails, but there aren't enough posts right now on DaniWeb about RoR to justify a new forum for it. It is becoming more and more popular each day, but that doesn't mean that every website needs to have a forum about it, IMO. It's not a framework that's as easy to pick up as, say, a language like PHP, which we have a forum for, and we have lots of pretty newbie PHP programmers come here. If there were RoR questions, chances are that those developers would be knowledgeable enough to seek other ways to solve their problems, like mailing lists, IRC, etc. and wouldn't come to DaniWeb, where we don't serve the hardcore programmer as much. Just my 2 cents

Very nicely put. ROR isn't something kids start dabbling with and come up with a web page which says "Hello world". It works at a much higher level where professionals adopt the framework to deploy enterprise level solutions.....

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Hi, i have made a code. Its meant to announce a "Sentence" but i dont know how to make a string into a sentece. The string up to now only announces the first word of the sentece.

I would strongly recommend you to go along with Mr. Raye's advice. But still if you insist on doing it the hard way, just for the sake of doing it, here is a untested, quick fix ....

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#define LIMIT_LENGTH 6

int main( void )
{
    char ref_str[] = "/announce " ;
    char lpcLine[] = "/announce Hello there" ;
    char AMsg[200]= { '\0' };

    int limit = strlen(lpcLine) - strlen( ref_str ) ;
    char str_limit[LIMIT_LENGTH] = { '\0' } ;
    char format[BUFSIZ] = { '\0' } ;

    strcpy(str_limit,itoa(limit, str_limit, 10)) ;
    strcpy(format, ref_str) ;
    strcat( format, "%" ) ;
    strcat( format, str_limit);
    strcat( format, "c" ) ;

    sscanf( lpcLine, format, AMsg ) ;
    printf( "%s", AMsg ) ;

    return 0 ;
}
~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

I give you a Mercedes...

I put in some coke.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

John Williams -> Composer

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

dreams and disturb

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

normal person would

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Crawly -> Slither

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

You get to record alternative rock.

I put in a lighthouse.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

the second part.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

You get to be Prodigious.

I put in a headphone.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

any moisture left.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Spiders -> Creepy

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

I click the mute check box, so now the volume control has no real use.

I put in some gasoline.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Humans -> strange beings

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

the dishes so

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

How about:

"Oh well, I had to pee somewhere...." ;)

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Here I have put up a small and untested code snippet which moves files in a portable way from one location to another. Just change the file paths or accept the value from user...

#include <stdio.h>
#include <stdlib.h>

int main (void)
{
    size_t len = 0 ;
    const char a[] = "c:/a/a.exe" ;
    const char b[] = "d:/b/b.exe" ;
    char buffer[BUFSIZ] = { '\0' } ;

    FILE* in = fopen( a, "rb" ) ;
    FILE* out = fopen( b, "wb" ) ;

    if( in == NULL || out == NULL )
    {
        perror( "An error occured while opening files!!!" ) ;
        in = out = 0 ;
    }

    while( (len = fread( buffer, BUFSIZ, 1, in)) > 0 )
    {
        fwrite( buffer, BUFSIZ, 1, out ) ;
    }

    fclose(in) ;
    fclose(out) ;

    if(  remove(a) )
    {
        printf( "File successfully moved. Thank you for using this mini app" ) ;
    }
    else
    {
        printf( "An error occured while moving the file!!!" ) ;
    }

    return 0 ;
}

Hope it helped, bye.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Insist on getting things done in a right way by your subordinates.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Alien Probe -> Test Subjects

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

crap out of

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Lost in a Potrait - Trapt

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

I have a real question now: when it talks about all those moderators stepping down for "personal reasons", how come there wasn't more warning? I just looked one day, and suddenly DMR had shifted ranks from "Super mod" to "Team Colleague". I was like, "Has Dani fired DMR for playing with the polls?" And there were a whole bunch of other mods that became Team Colleagues at the same time. No going away message, nothing!

Moderators here are given real good respect and I don't recollect anyone getting fired as such. In fact its like whenever a Team Colleague feels that he is ready to take on his moderator duties, he is welcome to do so. (so much I assume).

As far as stating the reason for their leaving is concerned, it would be too err....unprofessional or call it personal if you like. Many people left because of IntelliTXT, many because they couldn't fulfill their duties or didn't have enough time.

BTW, Joey, you really have started showing a lot of interest in Modly duties and talk, is an entry in the Mod community nearby ? :twisted:

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Wow, that really is some configuration. Any chance you are one of those MMORPG freaks who like the graphics to be picture perfect...;)

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

In short, not to bother yourself with non standard things untill you get enough understanding of how things work under the hood or the full implication of using non standard functions or untill you become expert at writing wrapper modules as per Mr. Ravalon...:D

For the time being just stay clear of non standard things, and the knowledge of what is non standard will automatically come to you.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Hell jus ain't the same without you baby (Dead Man's theory)

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Naughty women are what most of the men want. :D

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Murder -> Inhuman crime

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Nothing special, just the normal stuff required to get the Windows up and running, getting my code compiled and for listening to songs. Plain and simple. :D

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

is what we

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Agreed. Though I am no expert on such things but here it goes.

Command line interface via the console window and actual system functions are altogether different things. The former just provides an interface for the user of admin to type commands in which are then executed by the latter. These commands are known as system or shell commands. These commands in turn tap into the core functionality of what is known as the kernel.

When you type in console window:

command line interpreter -> invoke system commands -> tap into kernel

Whereas when calling from programs:

hardcoded string -> invoke system commands -> tap into kernel

So I wouldn't regard it as cheating, but just a logical way of invoking the system commands...

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

just do it.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Lips of Deceit - Avenged Sevenfold

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Insensitive men are better than scheming women...;)

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Heh, I sure owe you one Mr. Happygeek....:D

BTW just one point away from another Rep Medal (shiny green dot) ;)

John A commented: here's another "shiny medal" :cheesy: -joeprogrammer +4
~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Violation -> Against law

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

size_t is a macro which is declared in stddef.h while defined in the header file string.h It normally amounts to the same as unsigned int or unsigned long depending on the compiler implementation. Most of the functions of string.h require size_t hence it has been used, though you could have used even signed int and got away with it, pushing the responsibility of type conversion on our dear old compiler. :D

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Friar Tuck -> Buck up

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

I am happy to receive an invitation from your side.

I put in some cloth.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

assurance from your

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Robin -> Robin Hood

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Hi

Hello.

1. Are programmers the most frustrated lot among all the IT professional in the recent years?

No. With great powers come great responsibities, if you think you are frustrated for reasons known to you, the same might be applicable to your Project Manager or any other senior.

2. If yes, then what the reasons are?

Maybe lack of interest in programming or not having an inclination towards programming related things...

3. Many have been telling me that most of the graduate programmers leave the programming field for good just after 5 years on average. Is it any way true?

No not true, in fact, if you work hard you automatically get recognized as a Lead Software Engineer or Software Consultant..IT totally depends on your efforts. (pun intended)

4. If yes, then what they do after leaving programming for good?

Some business maybe...;)

5. Programmers are always under pressure form the managers and management and often feel being neglected and underpaid and overused. If this is the case, what could be the solutions?

If programmers are under pressure due to their managers, even managers are under pressure due to their superiors...Its just a vicious circle.

On a final note, good and hard working programmers are never neglected. Also programmers program due to their inherent interest in the field not only for the sake of money.

Thanks and happy new year and an error free 12 months.

Same to you...May you have a successful debugging session.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Update: 41 seconds. :D

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

A good way to gain some rep power Niek...:D

Maybe even I should try out your way and see how things work for me.....;)

happygeek commented: some niek_e inspired rep :) +10
~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

I thought all the changes to such critical things were made in the dummy project before touching the live working code...;)

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Hey, we were all newbies once!

No, I would rather put it as "genius in making...." ;)

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Secondly, what features are you going to have, or what will PerlBB offer us webmasters that phpBB and the commercial vBulletin don't offer us already? You have to make some unique features in your software if you want people to choose your software instead of someone else's.

Thinking about such things when you project has just seen daylight is not such a good thing. Also addding all the customer friendly features to your software along with all the goodies would be too much for him.

MushyPea, what you need to do is gather as many people as you can for your project, get Perl intermediates interested in your project and maybe then start worrying about the customer friendly features. Visit various Perl dedicated forums, get people interested by posting about your project in their geek lounge. A good and serious helping hand is what you require at this stage since the concept has already been seeded.

Your project should basically have two things, complete working template along with a good front end (to attract people).

Hope that gives you some ideas.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Saviour of Sanity, thats what my name also stands for....

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

The only thing bad is the name because I think It makes people think it's one those short books that only briefly go goes thru everything .

..which it actually is since its a beginners book. Not many developers would recommend you any of the Sam's series. Ditto with Dietel. A good book for beginners of C++ is Accelerated C++ , Thinking in C++ and for intermediate programmers C++ Programming Language.

Other beginner books don't teach you C++ at the level they ought to.....

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

You get accused for making use of Plastic. :P

I put in Python.