Archives for December 2010

December 2010 (10)
SMTWTFS
« Nov Jan »
1234
567891011
12131415161718
19202122232425
262728293031

Like this Archive Calendar widget? Download it here.


I have PCPlus Mail

I finally got round to reading the Christmas edition of PC Plus this evening and was pleasantly surprised to see that someone had written in about a recent article of mine: 10 mistakes every programmer makes. It’s going to be next year before I republish it here in this hallowed blog, but you can read it over at TechRadar.com right now. […]

READ MORE

People of Colorado vs. Rabes, Erik Dean (continued)

4th Judicial DA logoJust over 3 years ago, I wrote a post about my wife Donna prosecuting a particularly nasty case of child pornography. The defendant, Erik Rabes, was charged with five counts: sexual assault on a child, sexual assault on a child by a person in a position of trust, two felony counts of sexual exploitation of a child, and a misdemeanor count of sexual exploitation of a child. It was the first ICAC (Internet Crimes Against Children) case that made it to trial in Colorado (usually the defendants in these kinds of cases plea out early). To summarize, Donna did a fantastic job prosecuting him and the jury found him guilty on all counts. He got two concurrent ten year sentences for the sexual assault counts, two consecutive 12-year sentences for the felony exploitation counts, and a concurrent 24 month sentence for the misdemeanor. Total elapsed time: 34 years. […]

READ MORE

JavaScript for C# developers: writing a library (part 4)

Last time, I’d completed the cookie code. Well, “completed” in the sense of written it, but I now have to think about testing it. The writers of jQuery use a testing library called QUnit for their testing, so that’s what I’ll do too. […]

READ MORE

PCPlus 289: Solve Sudoku

So, a bit of fun for the Christmas 2009 issue: solving Sudoku puzzles efficiently. Not if you’re a human, you understand, unless you’re the type of human who likes programming, but from the viewpoint of discussing algorithms for solving via computer. Because, once you’ve programmed how to solve a Sudoku puzzle, it’s pretty easy to then generate puzzles to solve. […]

READ MORE

JavaScript for C# developers: writing a library (part 3)

Now that we created a rudimentary date library in part 2, it’s time to move back to the cookie code. […]

READ MORE

PCPlus 288: The thinking behind neural networks

For the December 2009 issue I turned to the subject of perceptrons and neural networks. This one was very much written for the layman: I’ve never written a neural network in my life. […]

READ MORE

JavaScript for C# developers: writing a library (part 2)

As I said last time, my first library object is going to be a cookie object. […]

READ MORE

PCPlus 287: Calculate degrees of separation

In a week when I completed writing my 50th article for PC Plus, it’s kind of fitting to also republish a hoot of an article that I really enjoyed researching. […]

READ MORE

JavaScript for C# developers: writing a library (part 1)

From comments I received when I wrote my recent article over on my DevExpress ctodx blog, it seems there’s a need for people to understand how to write reusable code in the form of a library in JavaScript, and not fall into those nicely shaped C# potholes along the way. So I thought, let’s have a go. (Update: I’ve made a couple of corrections to point out the files this code appears in.) […]

READ MORE

JavaScript for C# developers: some refactoring

I just published a blog post on my DevExpress ctodx blog about taking some non-idiomatic JavaScript code (actually from a DevExpress CodeCentral example program) and refactoring it to follow JavaScript best practices. […]

READ MORE