Pedro Simões programming page

Here you will find some of my research on computer science

About the author

I'am an computer science programmer and student with special interess in object oriented languages like .NET, Java and C++.
E-mail me Send mail

Recent posts

Recent comments

    Authors

    Tags

    Disclaimer

    The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

    Pedro Simões © Copyright 2008

    Salary Theorem

    Dilbert's "Salary Theorem" states that "Engineers and scientists can never
    earn as much as business executives and sales people."


    This theorem can now be supported by a mathematical equation based on the
    following two postulates:


    Postulate 1: Knowledge is Power.
    Postulate 2: Time is Money.


    As every engineer knows: 
        Power = Work / Time


    And since: Knowledge = Power
    and: Time = Money


    It is, therefore, true that


    Knowledge = Work / Money


    Solving this equation for Money, we get:


    Money = Work / Knowledge


    Thus, as Knowledge approaches zero, Money approaches infinity, regardless of the amount of Work done.

     
    Conclusion: The less you know, the more you make.

    smile_teethsmile_regularsmile_teethsmile_regularsmile_teethsmile_regularsmile_teethsmile_regularsmile_teethsmile_regularsmile_teethsmile_regularsmile_teethsmile_regularsmile_teethsmile_regularsmile_teethsmile_regularsmile_teethsmile_regularsmile_teethsmile_regularsmile_teethsmile_regular

    Be the first to rate this post

    • Currently 0/5 Stars.
    • 1
    • 2
    • 3
    • 4
    • 5

    Posted by pedrosimoes on Thursday, October 18, 2007 8:31 AM
    Permalink | Comments (0) | Post RSSRSS comment feed

    Creating an blog with the BlogEngine.NET

    Creating a blog with the BlogEngine.NET it’s very easy. I only spend 2 hours to setup this blog. I will explain how to install, modify and use it in very simple steps.

     

    First thing you have to do, is to get all requirements needed:

     

    1.       Microsoft Visual Web Developer 2005 Express Edition (free) or Visual Studio 2005 Professional (used in examples)

    2.       BlogEngine.NET 1.1 source code

    3.       An ASP.NET 2.0 webhost

    4.       An Ftp client

     

    With the source code you have the advantage to modify some parts of the blog, but it could be very hard or you can get a very different branch of the original blog, then when new versions appear you will have an extra difficulty to modify again the code to maintain your previous modifications.

     

    Figure 1: Opening the project file in visual studio 2005

     

    1

     

    Now to verify that everything is all right you can rebuild the entire solution and test it locally with the Visual Studio.

     

    Figure 2: Rebuilding the entire solution

     

    2  

    Ok, If you could run and test the blog locally you probably are capable to install the blog online in the ASP.NET 2.0 server, but you have to do a little tweak first:

    In the Web.Config file you have to modify the value <customErrors mode="RemoteOnly" /> to <customErrors mode="Off" />.

     

    Figure 3: Modifying Web.Config file

     

    3

     

    TODO continued …

     

    4

     

    5

     

    6

     

    7

     

     

    Currently rated 5.0 by 1 people

    • Currently 5/5 Stars.
    • 1
    • 2
    • 3
    • 4
    • 5

    Categories: General | ASP.NET | English
    Posted by pedrosimoes on Saturday, September 29, 2007 8:49 AM
    Permalink | Comments (0) | Post RSSRSS comment feed

    Início de projecto

    24-09-2007 foi o arranque deste blog.

    Aqui vão ser encontradas muitas pesquisas interessantes sobre linguagens orientadas a objectos, ñ percam Wink.

    Este blog estará sempre com trabalhos em curso:

     

    digdigdigdigdig

    Be the first to rate this post

    • Currently 0/5 Stars.
    • 1
    • 2
    • 3
    • 4
    • 5

    Categories: General | Português
    Posted by pedrosimoes on Friday, September 28, 2007 7:55 AM
    Permalink | Comments (0) | Post RSSRSS comment feed

    Project started

    24-09-2007 is the start of this blog.

    Here you will find a lot of interesting work in object oriented programming languages, keep in touch Wink.

    It will have an constant work in progress:

     

    digdigdigdigdig

    Be the first to rate this post

    • Currently 0/5 Stars.
    • 1
    • 2
    • 3
    • 4
    • 5

    Tags: ,
    Categories: General | C/C++ | .NET | VB.NET | C# | Java | ASP.NET | English
    Posted by pedrosimoes on Wednesday, September 26, 2007 1:28 AM
    Permalink | Comments (0) | Post RSSRSS comment feed