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

Reputation: 4818 Guru
Active Posts:
13,164 (4.25 per day)
18-April 07
Profile Views:
Last Active:
User is online 33 minutes ago
Viewing Board Index

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 most definitely the real life Tony Stark.

Posts I've Made

  1. In Topic: JDK 8 problem....

    Posted 8 Oct 2015

    I am not sure what exactly you are asking after all your edits. So here is what I know...

    1) Your code snippet there compiles fine. So don't change that (except perhaps add the word "public" on the front, but it works without it). Just make sure it is in the file
    2) When you compile it with javac, just make sure you are either in the folder where you saved or specify the full path to javac if you are not in the same directory as the file.
    3) Check the folder after compiling to make sure you have a .class file built.
    4) In your command prompt you can type javac -version and if you get a reply it means it can see your JDK install correctly.

  2. In Topic: Introducing Myself

    Posted 8 Oct 2015

    Welcome to Dream.In.Code KAJPack! You don't have to be the most gifted programmer on the planet, all that programming asks you to do is be rational and logical about how you solve problems. Do that and the rest should fall into place. But be warned, many people just don't think rationally or logically!

    If you have any problems, be sure to show us your code (in code tags please) along with any error messages. We will jump in and do what we can to help out and give you a push in the right direction.

    Thanks for signing up and letting everyone know a bit about yourself. :)
  3. In Topic: Need help selecting API for Personal Project

    Posted 8 Oct 2015

    Well what you are basically talking about is what we call a "softphone" and if you do a search on the net you will see a lot of programs for making calls over the computer that have all the bells and whistles (plus more) that you are talking about. Believe me, I should know. The company I work for builds such programs.

    Now I assume you are wanting to bring your actual phone into the mix by plugging it in. I am not sure anyone really cares to go that far if they can get all their contacts etc auto-synced between devices.

    One API you may be interested in looking at is called Twilio. This API has many of the VoIP features you might be interested in for building your own softphone. A couple other technologies you may find of interest...

    1) TelAPI
    2) Plivo

    Hope this helps get you started! :)
  4. In Topic: Help with an easy (?) question

    Posted 8 Oct 2015

    Ok well let's think about the direction for a minute. How might we represent a direction using an integer? We know it is an integer because position is defined as an int. Well, on a horizontal number line we have positive and negative directions right? So we might consider direction either being 1 or -1. 1 for being right and -1 for being left.

    Now how many units? We know that units again is an integer and that integer again could be on a number line since it is direction is horizontal. So if we need to move five to the right we know that it is 5 * 1 or 5 units from the current position. If we turn and need to move 3 units, we know we need to take our current position and add to it 3 * -1 or -3. Meaning we end up on 2 ( 5 + -3 ).

    Get the idea? If we turn again and go 2 more units we are at position 2 + (2 * 1) or position 4. If we turn left and go one position we are 4 + (1 * -1) or position 3. Boiling this down it is Position + (units * direction) = new position where direction = 1 or -1.

    Hope that helps :)
  5. In Topic: Hey everybody!

    Posted 8 Oct 2015

    Welcome to Dream.In.Code Jacob! Thanks for signing up and letting us know a bit about you. C++ is going to be a very useful and versatile language for you to learn. Learn it well and it won't let you down. It will certainly provide you the needed skills to also learn other languages and technologies.

    If you ever have any questions, be sure to post your questions (with code tags please) along with any error messages and we will do what we can to point you in the right direction.

    Thanks again! :)

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 »