Martyr2's Profile User Rating: *****

Reputation: 4492 Guru
Active Posts:
12,484 (4.35 per day)
18-April 07
Profile Views:
Last Active:
User is offline Feb 23 2015 05:51 PM

Previous Fields

OS Preference:
Favorite Browser:
Favorite Processor:
Favorite Gaming Platform:
Your Car:
Who Cares
Dream Kudos:
Expert In:
C/C++, Java, VB, VB.NET, C#, PHP, Web Development, HTML & CSS, Javascript

Latest Visitors

Icon   Martyr2 is currently troubleshooting three systems at once.

Posts I've Made

  1. In Topic: My if/else if code is not working.

    Posted 23 Feb 2015

    Well first of all it is >= and <= not the way you have your operators. if (score >= 90 && score <= 100).

    Secondly, make sure you account for any value below 59 being an 'F'. Even 30 is an 'F' so your last case there is going to be >= 0 and <= 59

  2. In Topic: What are you working on today?

    Posted 23 Feb 2015

    Just make sure it is not some lame looking car. You are a developer and you should act like it by having a sweet ride that goes really really fast and gets all the chicks. If you are a brogrammer then I suggest a tight T-shirt to go with it, but if not oh well. As long as you don't make the rest of the developer community look bad by getting a car below our high expectations.

    Thanks for your cooperation in this matter.
  3. In Topic: What are you working on today?

    Posted 23 Feb 2015

    Today I am dodging requests for petty tasks in order to get one of the larger tasks they have been asking for underway. Having to clean out an old EC2 instance because the previous co-worker made a mess out of it (surprised it wasn't hacked) and figured out a way to take statistical data in flat files and process them into a mysql database using a jdbc connector I had to setup (after trying the previous one the co-worker looks like they had in place but was a no go).

    All this so that someone can sit behind their desk and ask "Hmmm I wonder what our product is doing today on the market?" They have only been wondering that for nearly 10 years with little to no answer. This is where I step in. ;)
  4. In Topic: Web Development where to start?

    Posted 21 Feb 2015

    Typically most people do...

    HTML > CSS > Javascript and then either learn PHP or Python.

    But remember not to spread yourself too thin at this point. Learning a bunch of desktop and web languages all at the same time means that you will be a jack of all trades, but a master of none. You should always try to throw yourself into one or two languages for awhile and really master them. Then move on to other languages. Otherwise you will only have time to learn bits and pieces from each and not really be useful to anyone. :)
  5. In Topic: File name can not be empty error

    Posted 21 Feb 2015

    Shouldn't $file['tmp_name'] be actually $_FILES['uploadfile']['tmp_name']? Also make sure you put some kind of check around all this code to make sure that at first $_POST and $_FILES are even setup before trying to use their values to do stuff.


My Information

Member Title:
Programming Theoretician
Age Unknown
Birthday Unknown
Vancouver, Canada
I love programming and science (almost became a chemist). My favorite languages are C#, Java, Python and PHP. While I am not programming I enjoy movies that feature something medieval (Gladiator, Braveheart etc) or high tech (like Hackers or Swordfish).

I have a diploma in computer science and another in arts and science. My favorite sciences are astronomy, chemistry and geology.

If you have any questions regarding programming, you will find I live and breathe the stuff and should prove an invaluable asset.

Winner of 28 2008-2014 DIC Community Awards including Blog of the Year, Mentor of the Year, DIC Head of the Year, Most helpful Programming Category, Most Helpful in Web Development Category and overall Nicest Member of the year.

You can now catch me on Twitter! Follow me as I talk about technology and specifically programming and answer questions like the best book to learn from or how to organize your code. :)
Years Programming:
Programming Languages:
C/C++/VC++/C#, VB6/VB.NET, Java, JavaScript, Ruby, HTML/CSS, PHP, ASP/.NET, Python, mIRC Scripting

Contact Information

Website URL:
Website URL


  • (8 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »
  1. Photo

    Dogstopper Icon

    05 Dec 2013 - 14:39
    Have a 6-year badge good sir!
  2. Photo

    mostyfriedman Icon

    12 Oct 2013 - 21:07
    I am good, busy as well.
  3. Photo

    Martyr2 Icon

    07 Oct 2013 - 12:16
    Good mosty, you? Been busy lately.
  4. Photo

    mostyfriedman Icon

    07 Oct 2013 - 11:26
    Martyr2 my man, how's it going??
  5. Photo

    ishkabible Icon

    22 Aug 2013 - 15:58
    O ah, didn't even realize it. No prob. much deserved!
  6. Photo

    balloon1 Icon

    18 May 2013 - 14:57
    Hi can you help me with one of my questions!
  7. Photo

    groovmuffn Icon

    24 Apr 2013 - 10:10
    Greetings! Newish coder here. I came across your php histogram equalization code the other day and figured I'd try and draft something similar up in javascript. I feel like my code is sound, though something has to be wrong as the output of the image is black with some faint greens. I'm wondering if I am missing something from your original code. Consider perusing a jsFiddle?
  8. Photo

    Martyr2 Icon

    31 Dec 2012 - 12:48
    Thanks lucky3! Winning these types of things always energizes me to continue my work to help everyone I can here. I am a firm believer that we should always provide more than just a quick answer, but teach as well. :)
  9. Photo

    lucky3 Icon

    31 Dec 2012 - 02:23
    Congratulations for the "Mentor of the Year" 1st place, "Nicest Member of the Year" 1st place, "Most Helpful- Web Development" 1st place, and "DIC Blog of the Year" award 3rd place awards! Really impressive, and well deserved.
  10. Photo

    xwordgrl Icon

    27 Dec 2012 - 14:26
    Martyr2, I’m a reporter for the Wall Street Journal and would like to ask you a question about your post on Code Academy. Please email me at Thanks!
  11. Photo

    MsParnel Icon

    16 Sep 2012 - 23:17
    Thank you very much for the project list :).
  12. Photo

    ishkabible Icon

    19 Feb 2012 - 20:19
    "This is Chris's basement!!!"
  13. Photo

    Martyr2 Icon

    19 Feb 2012 - 12:47
    Very very true. echo "THIS IS SPARTA!!!";
  14. Photo

    no2pencil Icon

    19 Feb 2012 - 11:51
    It's like the movie 300. 10 times.
  15. Photo

    Martyr2 Icon

    31 Jan 2012 - 16:48
    Thanks macosxnerd! I am glad someone noticed. :)
  • (8 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »