Subscribe to Martyr2's Programming Underground        RSS Feed
* * * * *

Easy Way To Post Multiple JavaScript Values To PHP Using JQuery AJAX

Icon Leave Comment
For the sake of argument, let's assume you have to pass a plethora of Javascript values to PHP through a POST submission. Maybe it is an array of numbers or simple point objects. You want to do this quickly and don't want to be bothered with using a hidden form or having to list out a ton of fields in some long data string that...
* * * * *

A Beginner Tic-Tac-Toe Class for Java

Icon 1 Comments
Around this time each year we mentors on Dream.In.Code see a bunch of students and beginners, attempting to do there final programming projects, come on the boards asking for help with coding problems. Some even come on asking for ideas to help them out and a large majority want help with simple games they can do like connect four, "the snake...
- - - - -

Counting Number Frequency In Java

Icon Leave Comment
Over the past couple weeks I have noticed a lot of students asking questions about counting number frequencies. The student is often generating, or asked to take in input, and count how many times a series of numbers appear in the data. Sometimes they are given a file for the input and other times they are asked to take in numbers entered by the...
- - - - -

Serializing and Deserializing XML Through a URL Endpoint in C#

Icon Leave Comment
Recently, at the company I worked for, I had to merge two very different web sites together. While both use C#, that is where they pretty much stopped in similarity. We were exploring ways to have them talk to one another very plainly and transmit only minimal amounts of data. One website was a store which was built around the idea of digital...
- - - - -

Demo of Twitter Application-Only OAuth Authentication Using Java

Icon 2 Comments
I found that there was little in the way of examples using Application-Only OAuth...
* * * * *

Using Performance Counters in the C# Language

Icon Leave Comment
At any given time the Windows operating system is tracking statistics for the system and many of the processes / applications that are currently running on it. Things like the number of processors, how many threads are executing, how often the CLR is in garbage collection, the number of I/O operations being performed etc are all tracked through...
* * * * -

The Comma Operator in C++

Icon Leave Comment
When we think of the comma character we often think of it as a separator. It separates values in an CSV file, it separates items in lists, it may separate index values in multidimensional arrays (in other languages) and more. But in C++ an obscure way of using them was as an operator. The reason it never made it big as an operator and into the...
- - - - -

Applying Enchantments for PHP RPG Games - One Approach

Icon Leave Comment
So you want to build a PHP game and are just now learning how to do it. You fired up your browser and began searching for various game articles and perhaps you have found very little. What you did find might not explain a flexible way to apply magical spells to units you create. After all, what is an RPG game without enchantments you can cast on...
* * * * *

Intersection of LinkedLists Using Java

Icon 3 Comments
Yesterday a user came through the Java forum looking for help with finding the intersection of two LinkedList sets. If you were anything like I was in school, you probably had a flash back to math class and the teacher drawing Venn Diagrams up on the white board. Two circles, usually representing two sets of elements, and where they overlapped was...
- - - - -

Histogram Equalization Using PHP

Icon 4 Comments
The other day someone on the board had asked about histogram equalization and it had sparked some thoughts about how it is applied to picture correction and enhancement. Then of course it hit me like a ton of bricks (ouch!), why not make this into a blog post? So here I am telling all you fine people about using PHP to equalize the histogram...

  • (4 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »