Jump to content

Check out our Community Blogs


Member Since 14 Oct 2011
Offline Last Active Sep 21 2020 10:44 AM

#658984 SQL Server (2008): CASE Expression

Posted by lespauled on 20 May 2013 - 05:30 AM

As a habit, I usually put the field name on the end statement



    WHEN RefCount=0 THEN 'Not used'

    WHEN RefCount=1 THEN 'In use'

    WHEN RefCount>1 THEN 'Multi use'
    ELSE 'Invalid'
  END 'Status'

  • 1

#656885 What to do with a lazy employee

Posted by lespauled on 18 April 2013 - 07:08 AM

My workplace isn't hostile. I have worked in hostile environments and couldn't wait for my contract to end. I have also worked in incredible environments, where everyone is happy for the most part and in those environments, I couldn't wait to go to work. Having people that genuinely appreciate your work goes a long way. I guess it also comes down to hiring people with integrity. If you're paying someone bottom dollar, expect bottom labor. If you pay them well, expect comparable performance.
  • 3

#656816 Best TV theme songs ever?

Posted by lespauled on 17 April 2013 - 06:32 AM

How about the greatest TV theme song actually sang by members of the cast? All in the family. I also thought of the Brady Bunch, but they didn't sing it. Oh well.
  • 1

#656754 New subforum proposal

Posted by lespauled on 16 April 2013 - 09:55 AM

I don't think it's necessary.  Just post in the .net section.

  • 2

#655621 How should online piracy be prevented?

Posted by lespauled on 29 March 2013 - 07:38 AM

Still doesn't justify anything.  Theft is theft.


On the other side of the coin, there was a lawsuit where a software company sued someone for re-selling a product they bought overseas.  The price they paid was significantly less that in the U.S.  Then they sold it on a sales site for less than half what it would cost in the U.S.


The ruling basically reinforced a previous ruling that when you buy something, you own it.  You don't buy the right to use it.  That's what this whole cloud-based software nonsense comes from.


This ruling could turn the entire industry upside down.

  • 1

#655408 Guest Interview: Martyn Dale, Proboards.com (Part 2!)

Posted by lespauled on 26 March 2013 - 05:07 AM

I love the "Experience can't be taught" line.  That is so true.  Unfortunately, I think that we try to coddle our kids and save them from failure.   This, in fact, may actually impede them later in life.  It's better to learn these life lessons throughout your life, instead of getting a harsh dose of reality when you enter the working world.


Here is an interesting article on how self-centered younger people are, and that is a huge hindrance to their career path:



  • 3

#655197 Free Koding.com Invites for Codecall Members!

Posted by lespauled on 22 March 2013 - 11:14 AM

From FAQ:


1. Ranks

Rank is an indication of participation/activity on the site. As you post more on the site, your rank will increase. As an active participant, a user is helping to foster discussions on the site.


  • 1

#654071 Nested For Loop [EXAMPLES!]

Posted by lespauled on 07 March 2013 - 05:59 AM

You people may think you're helping the person by giving them the code, but in fact, you are hindering them.  If a person learns something, it stays with them.  If they are handed something, they learn nothing.


This is why I try not to give people the complete code.  I might give them something close, and have them figure out the rest.  Or, if they have something working, I may show them another way. But I do my best to help, not hinder.

  • 1

#653982 Nested For Loop [EXAMPLES!]

Posted by lespauled on 06 March 2013 - 12:19 PM

It's very straightforward.  Just look for the obvious pattern and create your outer loop.  One thing the might help beginner programmers is to NOT name your loop variable "i" or "j".  Try naming the outer loop row and the inner loop variable col (for column).


your outer loop would be something like:


for( int row=1; row <= 5; i++)




  • 1

#651048 Programmer outsources own job

Posted by lespauled on 28 January 2013 - 07:56 AM

I have to say I am a little shocked by the posts saying it's a good thing. I think things like this add another black eye to our profession. The person who outsourced his job has an incredible lack of integrity. He's someone who wants to "get over" as opposed to doing the work to develop his career. In the consulting world, your integrity helps to get you a name in the industry. That name helps you get great clients. Integrity gets you great references from great clients. Those great clients help to build a great resume. A great resume puts you above the rest during the initial screening. After that, the client checks references from other clients.


That guy was an idiot. Period.
  • 3

#647060 Which Microsoft did you like / hate more?

Posted by lespauled on 11 December 2012 - 10:08 AM

Ignorance? I am not trying to make a fight with you, I am just saying the facts. ...

Why do you assume that it was meant to pick a fight?

Re-read my sentence and see how it applies to the definition of the word:

: the state or fact of being ignorant : lack of knowledge, education, or awareness

It wasn't meant the way you took it.
  • 1

#647051 Which Microsoft did you like / hate more?

Posted by lespauled on 11 December 2012 - 08:59 AM

Yes you are.


1. http://en.wikipedia....amming_language) look in the table at the right side (Influenced by...)
2. http://cplus.about.c...rofileofcsh.htm
3. http://msdn.microsof...a289180(v=vs.71).aspx

I am impressed that you learned how to look things up on the Internet. I'll forgive your ignorance in knowing that Delphi is basically object pascal.

Trust me when I say something. I generally know what I'm talking about. When .NET started, it was pretty much meant as a replacement for java, which was still in its infancy. I think since its inception, .net has influenced java.

If you need proof that I meant Delphi, just look who spearheaded both projects. I believe I listed it earlier in this thread.

  • 1

#646621 Which Microsoft did you like / hate more?

Posted by lespauled on 07 December 2012 - 01:43 PM

The Microsoft I hate was the one that did underhanded things when they were getting slapped around by Borland. Delphi was blowing the doors off of VB. whatever "new feature" that was in a new vb release, Delphi programmers had at least 2 versions ago. Since they couldn't compete, they purposely put code in windows to break all Delphi programs.

They were sued and lost the case, and had to pay Borland big bucks. Unfortunately, the overall tactic worked because managers feared it would happen in any new Microsoft operating system, so they switched to the inferior vb, out of fear that Microsoft would do it again.

That's the Microsoft I hate.

Um, windows 8 is the new Windows ME :)
  • 1

#645471 What do you want for Christmas?

Posted by lespauled on 27 November 2012 - 05:21 AM

I hope that Christmas marks a return to normalcy. My kids are showing signs of the traumatic experience that Hurricane Sandy gave us all.

That would be a fantastic Christmas.
  • 1

#644055 I voted!

Posted by lespauled on 09 November 2012 - 03:02 PM

I haven't seen that. I hope so. I believe he could one day be President.
  • 1

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download