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

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

Best Way to Improve Your Code... A Vacation

Icon 3 Comments
The idea of taking a sizable break is bantered around from time to time as coding lore, but does it really work? In my opinion it sure does! Newbies and experts alike underestimate the mind when it comes to problem solving and always wonder what is the fountain of youth when it comes to thinking with code clarity. Those of us who go to work to...
- - - - -

Reflective N-bit Binary Gray Code Using Ruby

Icon Leave Comment
So what is behind the theory of binary gray code? It was named after Frank Gray and is a numerical system where each successive value differs from the one before it by one bit value. It is like counting in binary, but in binary counting a step may require changing two bits. For instance going from 1 (01) to 2 (10) would involve changing the most...
* * * * *

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

Slot Machine Example in C++

Icon 3 Comments
I was bored and that can be a dangerous thing. Like doodling on the phone book while you are talking on the phone, I doodle code while answering questions on DIC. Yeah, it means I have no life and yes it means I was born a coder. During this little doodle I decided to make a slot machine. But not your standard slot machine per say, but one...
- - - - -

Simple Queue Using Text File in PHP

Icon Leave Comment
When talking about any kind of server-side language, like PHP or ASP, you will often find the term "database" not too far behind. It is the preferred choice for storing data on the web after all. Another option is to use a text file. The problem with text files is that they are not typically secure, can be easily read, and don't...
* * * * *

Bit.ly Class for shortening URLs in VB.NET and C#

Icon 2 Comments
So I was tinkering around with some code and thought "Hey, wouldn't it be great to create a class that could be used to tie into bit.ly's API for shortening URLs?" After having this thought I also thought "I am hungry" so went to get some lunch. Then when I came back, I got to work putting together a quick class that a...
- - - - -

Reading and Updating an Access Database in C#

Icon 1 Comments
Almost on a daily basis we run across posts that ask about using a .NET language to read and update a database. Oh it might have a slight variation like "How do I load a value from a database into a textbox?" or "How do I read a database into _______ control and then update the database?" So I figured I would put a few little...
- - - - -

Playing and Thottling Sound Clips in Java

Icon 1 Comments
A user recently came up with an interesting project today that frankly I had never really played around with too much... playing sound clips using Java's AudioSystem. The problem he was having was two fold actually. How does one go about throttling a sound (preventing the user from triggering the sound multiple times so that they overlap...

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

September 2014

S M T W T F S
 123456
78910111213
14151617181920
2122 23 24252627
282930