mustcodemore.com

3.22.2006

RFID Security Report

http://reviews.cnet.com/4520-3513_7-6466679-1.html

Its on CNet, it's about RFID, and it regards Security. You should read it.
Just remember, good programming means taking care of things like this. But, i predict
within one year, RFID support hardware makers will include software to check for injection attacks, etc in the conduit firmware. They should, anyways.

3.16.2006

Targets and Paths with Actionscript

Probably the most common question asked to me by someone learning Actionscript goes like this:

"My movie clip moved across the screen fine yesterday, but now that i've loaded it into another movie, it doesn't work! What did i do wrong? Nothing's changed!"

Well, almost nothing. Something changed, the addressing of your clips. Lets learn why:

http://www.learnthat.com/computers/learn.asp?id=2064&index=11

3.13.2006

AS 2.0 example of a unique id builder

//06.13.06
function GenerateString(strLng:Number)
{
var resultString = "";

//cheated a bit with the array, could do something more elegant to deal with case sensitivity
var alphabet:Array = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j","k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z" , "A" , "B", "C", "D", "E", "F", "G", "H","I", "J", "K", "L", "M", "N", "O", "P", "Q", "R" , "S", "T", "U", "V", "W", "X", "Y", "Z"
);
for (var i = 0; i < color="#333399">length
; ++i){
//first decide to make a # or a Letter
var tmp = Math.round(Math.ceil(Math.random()*2));
//1 = letter - pick uCase or lCase
if (tmp == 1) {
var j = Math.round(Math.ceil(Math.random()*alphabet.length - 1));
resultString += alphabet[j];

}
//2 = a number
if (tmp == 2) {
var k = Math.round(Math.ceil(Math.random()*9));
resultString += k;
}
//you could just return this to the calling method instead...

return resultString;
}
}

3.09.2006

Three Ways to Inject Your Code into Another Process

How to inject code into another processes address space, and then execute it in the context of this process.
from codeproject.com

good read.

3.08.2006

Using XML Comments in your C# Code

XML Comments Let You Build Documentation Directly From Your Visual Studio .NET Source Files