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

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...
- - - - -

The Anatomy of Sliders and Scrollers

Icon Leave Comment
Everywhere you go on the web you see some sort of slider or scrolling widget on the page. You see a lot of them on blogs advertising the latest posts, you see them on event pages showing shots of the audience and speakers and you even see them on software company homepages showing screenshots of the their latest software release. Sure you can get...
* * * * *

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...
- - - - -

Populating Multiple Drop-Downs Dynamically

Icon 2 Comments
First off I want to say that there are multiple ways of doing something like this. Below is two ways (and I mention a third) to dynamically populate one drop down using the selection of another drop down (aka chaining drop-downs). One way we will see uses a pure Javascript implementation and another is using a combination of...
- - - - -

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...
- - - - -

Linear Search for Sorted Lists: My Take

Icon 8 Comments
Ready for another high octane, explosion-filled and death defying episode of the Programming Underground?!?! Sure you are! Today I give my take on a blog article I stumbled across today called "Computer Algorithms: Linear Search in Sorted Lists...
* * * * *

Barriers of Validation

Icon 4 Comments
Hello once again Dream.In.Coders! Today I want to talk to you about a design decision which involves validating data. Often times newbies build error prone code. This is because they are just learning and lack the experience of proper validation... and lack the experience of being smacked in the face when the code fails on the input of...

  • (2 Pages)
  • +
  • 1
  • 2

April 2014

S M T W T F S
  12345
6789101112
13141516171819
20212223 24 2526
27282930