Re: MysteryGuestInc.com Don't forget that you could really be messing with a servers income if you give them an unfair report! I am an extremely hard working individual who was a little late on a drink refill. Because of someones report, which was definitley not ent...
Reducing complexity in specification While the quantity of code is reduced, how much are we really simplifying the persistence problem? It seems to me we are moving complexity from one language of specification (Java) to another (an XML dialect). While the XML config is not unintelligible...
Re: How would you write a shuffle algorithm? I had posted this earlier but did not do a preview.
public static int[] Shuffle(int[] cards)
{
var cardsCount = cards.Length;
int[] shuffledCards = new int[cardsCount];
var counter = 0;
var iter = true;
var random = new Random();
while (iter)
{
var ...
Re: How would you write a shuffle algorithm? I was given this question for an interview and I went home and just took a first crack at it. This is what I intuitively came up with.
font color="#0000ff" size="3"font color="#0000ff" size="3"
public
{
}
shuffledCards[counte...
Starting Feb 1st, Pepsi is kicking off an ad campaign offering free iTunes downloads. The kicker is that they are staffing the commercial with 20 kids that have been sued by the
RIAA. I think this is pretty humorous. Kudos to Pepsi.