Visit site Craig Stuntz's Weblog

July 2010

2
votes
Vote UpVote

grid.history: A New, Free Integration for jqGrid and jQuery BBQ

Craig Stuntz's Weblog – I recently finished an integration between the open source jqGrid and jQuery BBQ libraries. I have released my integration as open source, as well. As with both projects, it is dual-licensed under the MIT and GPL licenses. jqGrid is a JavaScript grid component with many useful features. I have ...
Details Favorite? Off-Topic? Craig Stuntz @ 2010-07-16 21:25

June 2010

0
votes
Vote UpVote

Replacing Controller.Session in ASP.NET MVC: Is This Wrong?

Craig Stuntz's Weblog – Here’s some code I wrote: public class MyBaseController : Controller { // ... public new ISession Session { get; private set; } // .... } ISession is an interface type I wrote which exposes everything I store in the session at runtime. Session, in ASP.NET, is a user-specific ...
Details Favorite? Off-Topic? Craig Stuntz @ 2010-06-17 21:44

May 2010

0
votes
Vote UpVote

Book Review: Rework

Craig Stuntz's Weblog – Rework, by Jason Fried and David Heinemeier Hansson, cannot accurately be described as the "sequel" to the first book to come out of 37 Signals, Getting Real. As a significant percentage of the book seems to be word for word identical to text in Getting Real, I think it’s more of a "remix." ...
Details Favorite? Off-Topic? Craig Stuntz @ 2010-05-25 14:03
0
votes
Vote UpVote

Stir Trek 2: Iron Man Edition Wrap Up

Craig Stuntz's Weblog – Last Friday, I attended the Stir Trek conference here in Columbus. The day got off to an inauspicious start when I turned on my car. There was a high screaming noise, and acrid black smoke poured out from the engine. I opened the hood, pulled out a burning air-conditioner drive belt, and threw it ...
Details Favorite? Off-Topic? Craig Stuntz @ 2010-05-10 21:46

April 2010

0
votes
Vote UpVote

In LINQ, Don’t Use Count() When You Mean Any()

Craig Stuntz's Weblog – If you have a list, array, or query in a C#/LINQ application and need to check and see if the list is empty, the correct way to do this is to use the Any() extension method: if (q.Any()) { Similarly, you can check to see if any elements in the list meet a certain condition: if (q.Any(i => ...
Details Favorite? Off-Topic? Craig Stuntz @ 2010-04-21 21:01
0
votes
Vote UpVote

A Math Primer for Gentry’s Fully Homomorphic Encryption

Craig Stuntz's Weblog – A couple of weeks ago, I wrote What Is Homomorphic Encryption, and Why Should I Care? In that post, I promised to share my C# implementation of the algorithm from Craig Gentry’s CACM article. Before I can do that, though, I need to explain some of the math involved. Perhaps surprisingly, ...
Details Favorite? Off-Topic? Craig Stuntz @ 2010-04-08 18:07

March 2010

0
votes
Vote UpVote

Want to Beta Test the Next Version of InterBase?

Craig Stuntz's Weblog – The InterBase roadmap says that the next version will probably include native 64 bit and Windows 7 support, cloud deployment, and enhance password security. Want to help beta test it? You can sign up now. Share This | Email this page to a friend
Details Favorite? Off-Topic? Craig Stuntz @ 2010-03-18 20:08
0
votes
Vote UpVote

What is Homomorphic Encryption, and Why Should I Care?

Craig Stuntz's Weblog – The March 2010 issue of the Communications of the ACM includes a technical paper with an introduction entitled "A First Glance of Cryptography’s Holy Grail" (ACM subscription required). That’s enough to catch my attention. The paper itself, Computing Arbitrary Functions of Encrypted ...
Details Favorite? Off-Topic? Craig Stuntz @ 2010-03-18 17:08
0
votes
Vote UpVote

Don’t Depend Upon the ASP.NET Membership Tables

Craig Stuntz's Weblog – One very popular option for implementing user security in ASP.NET is to use Forms Authentication with the SQL Server membership provider. This provider creates several database tables to store user-related information, as well as a number stored procedures. From time to time, a developer will ...
Details Favorite? Off-Topic? 2010-03-06 00:20

February 2010

0
votes
Vote UpVote

jqGrid and XSS Security

Craig Stuntz's Weblog – Version 3.5.2 of jqGrid included an important new feature: Now when autoencode is set to true we encode the data coming from server and not only when we post it (secutity fix) Prior to this, you were required to encode the data yourself. Now personally, I think that should be the default. But ...
Details Favorite? Off-Topic? 2010-02-09 01:00
0
votes
Vote UpVote

Entity Framework Models and Source Control

Craig Stuntz's Weblog – As you're probably aware, an Entity Framework model is stored in a single XML file, with the extension EDMX. Developers occasionally ask if this means that two people cannot work on the entity model concurrently. My answer to this is, "It depends." But I can give you some tips to ...
Details Favorite? Off-Topic? 2010-02-03 23:40

January 2010

1
vote
Vote UpVote

join in LINQ to SQL and LINQ to Entities Considered Messy, Redundant

Craig Stuntz's Weblog – In this post I will demonstrate that use of the join keyword in LINQ to SQL and LINQ to Entities is nearly always wrong. LINQ queries which you write with the join keyword are harder to read and write than queries you write using associations, and they require knowledge of ...
Details Favorite? Off-Topic? 2010-01-14 00:20
0
votes
Vote UpVote

Crossword No. 2

Craig Stuntz's Weblog – DotNetSlackers just published a crossword puzzle I created; you'll see the grid below. The puzzle is focused on .NET and programming themes, including a Delphi reference here and there. The site editors wanted an article to go with the puzzle, so I wrote an article explaining how I created the ...
Details Favorite? Off-Topic? 2010-01-11 23:00

December 2009

0
votes
Vote UpVote

Projecting Onto A Presentation Model with the Entity Framework and ASP.NET MVC

Craig Stuntz's Weblog – In this post, I will demonstrate how to map entity models to views in an ASP.NET MVC application without worrying about implementation details like eager loading, lazy loading, or having to manually optimize SQL for the task at hand. I will argue that expressing the relationship between an entity ...
Details Favorite? Off-Topic? 2009-12-31 23:40
0
votes
Vote UpVote

Delphi Developers: Go Buy CodeHealer

Craig Stuntz's Weblog – If you're doing commercial Delphi development and you're not already doing static analysis in your automated build, go buy CodeHealer now. Nick Hodges has arranged a 1/2 price special offer. There is no good reason not to use static analysis. If you are the sort of person who doesn't allow hints ...
Details Favorite? Off-Topic? 2009-12-22 15:40
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Delphi Tage Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)