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

Tricks for Getting Around the 'XMLHttpRequest Cannot Load' Security Limitation in JavaScript

Icon 2 Comments
Some number of years ago web browser developers came up with the idea of allowing Javascript to pull data from other sites into a web page on-the-fly. That day AJAX was born! Short for Asynchronous Javascript and XML, this technology provided a mechanism for web pages to change their content without requiring the whole page...
- - - - -

Quick Tutorial: Building Menus Dynamically With the MenuStrip Control in C#

Icon 2 Comments
One of the easiest ways to build a menu on Winforms is by simply dragging and dropping a MenuStrip control from the toolbox on your form and then go to town filling in menu text and attaching events. Most of the time this is the way to go and works for the majority of programs out there. What we will cover this time around is just a few examples...
- - - - -

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

Drawing Analog Style Clocks In VB.NET

Icon Leave Comment
A number of years ago I showed an example of creating a typical digital clock using picture numbers...
* * * * *

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

Creating A Custom YouTube "Sparkbar"

Icon Leave Comment
I received a question about this a little while ago and I finally got around to making a blog post about it. The person was asking about making a custom YouTube percentage bar like the one you see on videos right above the thumbs up and thumbs down icons. Intrigued I looked at the code and boiled it down to something that perhaps you all could use...
- - - - -

Context Menus With JQuery

Icon Leave Comment
I was tinkering around with some jQuery...
- - - - -

Transforming Shapes With Java AffineTranform

Icon Leave Comment
You, a retro gamer, are on a new quest to bring back a classic arcade hit to a whole new generation of space faring digital cosmonauts. But it is dangerous out there and you need to show these rookies the dangers of journeying their ships alone in the vastness of space. So you want to create your own game of Asteroids...
* * * * -

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

  • (2 Pages)
  • +
  • 1
  • 2

April 2014

S M T W T F S
  12345
6789101112
13141516 17 1819
20212223242526
27282930