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

Stash Data Away In Controls With The Tag Property Using VB.NET

Icon 1 Comments
One of the most underutilized properties of any control is a property called "tag". What does it do? Does it cure world hunger? Does it save the planet from annihilation? I would probably say no on both counts, but it does have a bit of a mystique that beginners may not be fully aware of. In design mode of Visual Studio if you select a...
* * * * *

Function Pointer Basics in C++

Icon 2 Comments
Beginners to C++ programming find the concept of pointers foreign to them. Pointers, and code that manipulates pointers (aka pointer arithmetic), can even be daunting to some of the most seasoned programmers. Pointers in C++ account for a fair share of bugs in programs due to the lack of understanding. So why even use them? Well, besides being the...
- - - - -

Can Facebook Graph Search Be A Bigger Than Ever Privacy Concern?

Icon 3 Comments
So you have a bunch of friends on Facebook and they know everything about you right? Most likely not. Sure you have some data out there being shared with them, but how many times is someone going to put two and two together to determine if you live in Palo Alto California AND you love puppies? Maybe some, but with Graph search, Facebook’s new...
- - - - -

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

Don't Be Afraid To Occasionally Hack

Icon 7 Comments
To hack or not to hack, that is certainly the question! Many programmers who are learning a language tend to follow the structure laid out in a book or provided by a class they took. This is a good thing given that the book/class teaches at least some kind of reasonable coding conventions… which most do. These conventions then tend to be...
- - - - -

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

Inserting Images Into MySQL and Retrieving Them Using PHP

Icon 15 Comments
Welcome to another exciting episode! Today we will be discussing a topic that seems to be a bit of a confusing one for everyone... storing BLOB images in MySQL and then showing them again using PHP. While it is always advised against, we will show you a little demo code for how this can be done and discuss why/why not do this. We will then...
* * * * *

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

Small High-Low Game Example in Ruby

Icon 8 Comments
Well it has been awhile since I made an entry so I thought I would make one while also answering someone's question. The user named "Cunningham" asked about an example high-low number guessing game to get started with learning Ruby. The game is essentially guessing the random number generated by the computer to see how quick you can...
- - - - -

Using Hashes To Check If A File Changed in VB.NET

Icon Leave Comment
Once in awhile you may want to check if a file has changed its contents in some way. Perhaps you are monitoring a log file or checking to see if an exe has had a virus mess with it. One way you could do this is by hooking up a FileSystemWatcher object and monitor the file. This might be a good approach for more elaborate programs where you also...

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

March 2015

S M T W T F S
12345 6 7
891011121314
15161718192021
22232425262728
293031