Click here to Skip to main content
13,254,077 members (59,347 online)

Don Kackman - Professional Profile





Summary

Follow on Twitter      Blog RSS
56,170
Author
931
Authority
656
Debator
486
Editor
15
Enquirer
601
Organiser
2,256
Participant
The first computer program I ever wrote was in BASIC on a TRS-80 Model I and it looked something like:
10 PRINT "Don is cool"
20 GOTO 10

It only went downhill from there.

Hey look, I've got a blog

Groups

Below is the list of groups in which the member is participating

CodeProject Beta Testers
United States United States
No Biography provided
Group type: Collaborative Group
This member has Group Status: Member

members

Reputation

For more information on Reputation please see the FAQ.

Privileges

Members need to achieve at least one of the given member levels in the given reputation categories in order to perform a given action. For example, to store personal files in your account area you will need to achieve Platinum level in either the Author or Authority category. The "If Owner" column means that owners of an item automatically have the privilege. The member types column lists member types who gain the privilege regardless of their reputation level.

ActionAuthorAuthorityDebatorEditorEnquirerOrganiserParticipantIf OwnerMember Types
Have no restrictions on voting frequencysilversilversilversilverAdmin
Bypass spam checks when posting contentsilversilversilversilversilversilversilverSitebuilder, Subeditor, Mentor, Protector, Editor, Staff, Admin
Store personal files in your account areaplatinumplatinumSitebuilder, Subeditor, Supporter, Editor, Staff
Have live hyperlinks in your profilebronzebronzebronzebronzebronzebronzesilverSubeditor, Protector, Editor, Staff, Admin
Have the ability to include a biography in your profilebronzebronzebronzebronzebronzebronzesilverSubeditor, Protector, Editor, Staff, Admin
Edit a Question in Q&AsilversilversilversilverYesSubeditor, Protector, Editor, Admin
Edit an Answer in Q&AsilversilversilversilverYesSubeditor, Protector, Editor, Admin
Delete a Question in Q&AYesSubeditor, Protector, Editor, Admin
Delete an Answer in Q&AYesSubeditor, Protector, Editor, Admin
Report an ArticlesilversilversilversilverSubeditor, Mentor, Protector, Editor, Staff, Admin
Approve/Disapprove a pending ArticlegoldgoldgoldgoldSubeditor, Mentor, Protector, Editor, Staff, Admin
Edit other members' articlesSubeditor, Protector, Editor, Admin
Create an article without requiring moderationplatinumSubeditor, Mentor, Protector, Editor, Staff, Admin
Approve/Disapprove a pending QuestionProtector, Admin
Approve/Disapprove a pending AnswerProtector, Admin
Report a forum messagesilversilverbronzeProtector, Editor, Admin
Approve/Disapprove a pending Forum MessageProtector, Admin
Create a new tagsilversilversilversilverAdmin
Modify a tagsilversilversilversilverAdmin

Actions with a green tick can be performed by this member.


 
GeneralNormalizing the contents of a dictionary Pin
Don Kackman9-Jan-10 9:14
memberDon Kackman9-Jan-10 9:14 
Querying some data where each item may or may not have the same set of fields really throws off the WPF DataGrid. As it binds each row it throws and catches an exception every time it can't find a field entry. This is SLOOOOOOOW for a sparsley normal (if that's a term) data set.

Normalizing the data get's around all these possible exceptions at the expensive of determining the union of all fields and iterating over all of the data filling in the gaps.
public static IEnumerable<IDictionary<TKey, TValue>> Normalize<TKey, TValue>(
   this IEnumerable<IDictionary<TKey, TValue>> rows)
{
    return rows.Normalize<TKey, TValue>(EqualityComparer<TKey>.Default);
}
 
public static IEnumerable<IDictionary<TKey, TValue>> Normalize<TKey, TValue>(
   this IEnumerable<IDictionary<TKey, TValue>> rows, 
   IEqualityComparer<TKey> comparer)
{
    Debug.Assert(rows != null);
 
    IEnumerable<TKey> columns = rows.SelectMany(d => d.Keys).Distinct(comparer);
 
    List<IDictionary<TKey, TValue>> list = new List<IDictionary<TKey, TValue>>();
    foreach (IDictionary<TKey, TValue> row in rows)
    {
        foreach (TKey column in columns.Where(column => row.ContainsKey(column) == false))
            row.Add(column, default(TValue));
 
        list.Add(row);
    }
 
    return list;
}


10 PRINT Software is hard. - D Knuth
20 GOTO 10

GeneralMemories of VARIANT Pin
Don Kackman31-Dec-09 13:29
memberDon Kackman31-Dec-09 13:29 
GeneralI like Lazy&lt;T&gt; Pin
Don Kackman24-Nov-09 13:43
memberDon Kackman24-Nov-09 13:43 
GeneralHiking up the WPF Learning Curve Pin
Don Kackman20-Nov-09 16:05
memberDon Kackman20-Nov-09 16:05 
GeneralCoalescing an enumerable list of nullable types Pin
Don Kackman18-Nov-09 9:28
memberDon Kackman18-Nov-09 9:28 
GeneralExtension Methods Pin
Don Kackman30-Dec-08 11:24
memberDon Kackman30-Dec-08 11:24 
NewsiPhoneUI Pin
Don Kackman28-Dec-08 6:04
memberDon Kackman28-Dec-08 6:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy |
Web04 | 2.8.171114.1 | Last Updated 21 Nov 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid