Click here to Skip to main content
15,867,568 members

Articles by Matt T Heffron (Articles: 3, Tip/Tricks: 6)

Articles: 3, Tip/Tricks: 6

RSS Feed

Average article rating: 4.88

Programming Languages
C#
2 Jun 2014   Updated: 2 Jun 2014   Rating: 4.98/5    Votes: 35   Popularity: 7.63
Licence: CPOL    Views: 30,885     Bookmarked: 36   Downloaded: 178
Please Sign up or sign in to vote.
Unless you're careful, LINQ extension methods on IEnumerable can lead to inefficient implementations
C# 3.5
6 Jun 2012   Updated: 7 Jun 2012   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: CPOL    Views: 26,452     Bookmarked: 15   Downloaded: 768
Please Sign up or sign in to vote.
This is an alternative for "Word wrap without cutting words"
Visual Basic
13 Sep 2012   Updated: 13 Sep 2012   Rating: 4.67/5    Votes: 3   Popularity: 2.23
Licence: CPOL    Views: 26,351     Bookmarked: 5   Downloaded: 118
Please Sign up or sign in to vote.
This is an alternative for "Finding prime numbers"

Average blogs rating:

No blogs have been submitted.

Average tips rating: 4.80

General Programming
Regular Expressions
30 Jan 2012   Updated: 30 Jan 2012   Rating: 4.67/5    Votes: 3   Popularity: 2.23
Licence: CPOL    Views: 13,651     Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
For .NET and Perl Regex: Instead of changing the Regex pattern, use the RegexOptions.Singleline (.NET) or "s" modifier (Perl). This enables "." to match newline.
String
6 Jul 2012   Updated: 9 Jul 2012   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: CPOL    Views: 11,782     Bookmarked: 8   Downloaded: 0
Please Sign up or sign in to vote.
This is an alternative for "Custom String FormatWith using Reflection"
Programming Languages
C#
24 Apr 2012   Updated: 24 Apr 2012   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: CPOL    Views: 14,241     Bookmarked: 2   Downloaded: 84
Please Sign up or sign in to vote.
This is an alternative for "Legendre Symbol (C# code)"
17 Apr 2014   Updated: 17 Apr 2014   Rating: 0.00/5    Votes: 0   Popularity: 0.00
Licence: CPOL    Views: 9,420     Bookmarked: 7   Downloaded: 0
Please Sign up or sign in to vote.
This is an alternative for "Subset - Sum Problem with Integer Arrays "
27 Jul 2012   Updated: 27 Jul 2012   Rating: 4.33/5    Votes: 2   Popularity: 1.30
Licence: CPOL    Views: 12,621     Bookmarked: 2   Downloaded: 35
Please Sign up or sign in to vote.
This is an alternative for "Cumulating values with LINQ"
26 Oct 2010   Updated: 26 Oct 2010   Rating: 5.00/5    Votes: 7   Popularity: 4.23
Licence: CPOL    Views: 7,000     Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
Since SortedSet has a constructor that takes an IEnumerable parameter, the ToSortedSet extension method can be greatly simplified:public static SortedSet ToSortedSet(this IEnumerable t){ return new SortedSet(t);}

Average reference rating:

No reference articles have been posted.

Average project rating:

No projects have been posted.
Software Developer (Senior) Retired
United States United States
I started programming in Basic on a DECSystem-10 as a Freshman at Caltech in 1974. I quickly transitioned to assembly language, Fortran, and Pascal. As a summer job at JPL, I did analysis of fuel consumption for the Viking Mars Orbiter attitude control system. I also spent a summer doing O/S maintenance at Digital Equipment Corporation.
After graduation, I started developing microprocessor development tools (e.g., cross-compiler, debugger) for Beckman Instruments, a scientific instrument company.
I've worked on custom file-systems, a real-time O/S for Z8000, Expert Systems (SpinPro™ & PepPro™), and internal and external networking support (I was their first webmaster).
I've worked on the DNA analysis system.
I was the console/UI software architect for Ultracentrifuges and protein Capillary Electrophoresis (CE) systems.
After 35 years, Danaher having acquired Beckman (now Beckman Coulter), transferred the CE group to become part of Sciex (2014), and was on the software team that developed the new (9/2021) Sciex BioPhase Capillary Electrophoresis instrument.
---
Finally, after 43 years, 7 months, and 19 days, I am retired.