View RSS Feed

All Blog Entries

  1. php & apache: Windows Versus Ubuntu

    by , 01-29-2009 at 09:00 PM (im the :amr:)
    its pretty clear from the title that this log is about the performance of apache on windows versus ubuntu (distribution of linux).


    i was exploring the bin folder of apache the other day and i found some .exe s that i havnt used before, one of them was the "ab" ApacheBenchmark; a tool used to benchmark a certain site (localhost or www) by sending multiple requests. and as a new uuntu users i found it funny to try this today on both OSs.

    The PHP Script: ...
    Categories
    Uncategorized
  2. Debugging Tactics for C

    by , 01-26-2009 at 09:00 PM
    One of the biggest frustrations in programming is debugging.  With C++, this occurs in (at least) two stages.

    The first source of bugs, and the easiest to fix, are the ones the compiler will catch for you.  Collectively, these are called "compile-time" bugs.  One of the temptations is to try to look over the entire list of errors and fix them in whatever order seems easiest to deal with.  Don't.  Deal with the first error.  The reason is that C++ errors cascade.  ...
    Categories
    Uncategorized
  3. What's a Smart Pointer?

    by , 01-25-2009 at 09:00 PM
    What's a Smart Pointer?  Short answer: it depends on the library.  Long answer: it is any pointer-type object that provides additional functionality beyond what a standard pointer provides.  As an example, C++ provides a class template called std::auto_ptr.  The purpose of this "pointer" is to automatically delete allocated memory when the pointer goes out of scope.  It acts like a pointer in all other respects, but has the extra feature that its destructor automatically ...
    Categories
    Uncategorized
  4. Video Professor is a SCAM!!

    by , 01-25-2009 at 09:00 PM
    Hello,You have all seen the commercials about Video Professor, you know, that old guy with a bald head, saying he can teach you to work a computer, if not, your money back, and you get to keep a cd.Http://videoprofessor.com/Well, I am posting to tell you it's a scam! I wanted to order some tutorials for my mom, she needs to learn how to work XP and Microsoft Outlook, and according to the website, the first one is "FREE" except for the shipping charge. So I put one on my card, the other ...
    Categories
    Uncategorized
  5. Why Do Languages Have Pointers?

    by , 01-24-2009 at 09:00 PM
    One of the concepts that starting programmers regularly have difficulty with is pointers.  After a bit of struggle, many new programmers question the value of pointers compared to the easier methods of getting variable.

    There are several reasons for pointers (references in some languages, such as Java).  The biggest, however, is simple.  You cannot plan out in advance how much memory some programs will need to use.  Consider a simple text editor like notepad: You could ...
    Categories
    Uncategorized
  6. Why writing blogs is good for you.

    by , 01-19-2009 at 09:00 PM
    Earlier, I wrote a blog on why it's good to write tutorials.  In it, I talked about all the little things you can learn as you attempt to teach others about programming.  Tutorials tend to be fairly short "how to" entries describing a language feature or programming concept.  Blogging, by contrast, gives you a broader arena of concepts to talk about. 

    For example, it gives you a great place to compare languages, programming styles, etc.  This can be helpful to you, ...
    Categories
    Uncategorized
  7. Be Careful from "programmers wannabe"

    by , 01-17-2009 at 09:00 PM (im the :amr:)
    in the past few years ive noticed how much being a programmer is wanted by people, people think that programmers sit on chair all day typing on their keyboard and get paid massive amount of money, and when people watch Hollywood movies and see the elite hacker who clicks "hack CIA" button or opens the cmd and types "steal money" and gets his job done. all that makes people who have no plans or future dreams to follow want to ecome programmer.

    "wannabe programmers" ...
    Categories
    Uncategorized
Page 84 of 99 FirstFirst ... 3474828384858694 ... LastLast