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

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

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

An Analogy Is Worth a Thousand Pictures

Icon Leave Comment
The famous saying goes that "a picture is worth a thousand words" but when it comes to software development, an environment where you are expected to communicate with business people, I found the saying "an analogy is worth a thousand pictures" to be more applicable. Probably ever since the invention of the computer, those who...
- - - - -

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

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

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

April 2014

S M T W T F S
  12345
6789101112
13141516171819
20 212223242526
27282930