Sign in
jaredpar's WebLog
Code, rants and ramblings of a programmer.
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
About
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
API Design
C#
C++
Closures
Debugging
DotNet
F#
Futures
Generics
Gotcha
Immutable
Lambda
LINQ
Misc
Orcas
Patterns
PInvoke
PowerShell
Rant
Threading
Tuple
Type Inference
VB
Visual Studio
VsVim
Archive
Archives
February 2013
(1)
August 2012
(1)
May 2012
(1)
July 2011
(1)
March 2011
(3)
January 2011
(3)
November 2010
(2)
October 2010
(2)
September 2010
(1)
July 2010
(5)
June 2010
(8)
May 2010
(2)
April 2010
(1)
March 2010
(2)
February 2010
(5)
January 2010
(2)
December 2009
(6)
November 2009
(3)
October 2009
(1)
September 2009
(1)
August 2009
(1)
June 2009
(2)
May 2009
(1)
April 2009
(3)
March 2009
(2)
February 2009
(3)
January 2009
(10)
December 2008
(6)
November 2008
(7)
October 2008
(20)
September 2008
(8)
August 2008
(11)
July 2008
(5)
June 2008
(13)
May 2008
(9)
April 2008
(16)
March 2008
(7)
February 2008
(11)
January 2008
(13)
December 2007
(6)
November 2007
(9)
October 2007
(10)
September 2007
(5)
August 2007
(8)
July 2007
(2)
June 2007
(2)
May 2007
(3)
April 2007
(3)
February 2007
(3)
January 2007
(8)
December 2006
(3)
November 2006
(2)
October 2006
(4)
September 2006
(1)
August 2006
(1)
July 2006
(2)
April 2006
(7)
November 2005
(3)
October 2005
(1)
September 2005
(1)
August 2005
(2)
July 2005
(8)
June 2005
(1)
May 2005
(7)
April 2005
(4)
March 2005
(4)
February 2005
(2)
January 2005
(2)
November 2004
(1)
September 2004
(3)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
jaredpar's WebLog
C++ Refactoring: Default booleans and pointers
Posted
over 6 years ago
by
JaredPar MSFT
1
Comments
This is another recount of an experience I had refactoring some C++ code recently. In some ways this is also a follow up of my previous post about why you shouldn't use boolean parameters (especially default value ones). I recently refactored a large...
jaredpar's WebLog
C++ Placement New: Tracking down a crash
Posted
over 6 years ago
by
JaredPar MSFT
1
Comments
See my previous two posts on an introduction to placement new if you are unfamiliar with the subject. http://blogs.msdn.com/jaredpar/archive/2007/10/16/c-new-operator-and-placement-new.aspx http://blogs.msdn.com/jaredpar/archive/2007/10/17/c-placement...
jaredpar's WebLog
C++ Placement New and Allocators
Posted
over 6 years ago
by
JaredPar MSFT
2
Comments
This is a follow up for my previous post about operator new and placement new. This post will discuss the role of adding a custom allocator and using it with new. It's handy to use custom allocators in C++. Certain operations can be done more efficiently...
jaredpar's WebLog
C++ New Operator and Placement New
Posted
over 6 years ago
by
JaredPar MSFT
5
Comments
Originally I was going to write this article to detail a particular problem I had recently with placement new in C++. A page or two of writing later I decided it would be best to start with an introduction to the "new" operator itself and the in/outs...
jaredpar's WebLog
Debugging PowerShell
Posted
over 6 years ago
by
JaredPar MSFT
1
Comments
Debugging PowerShell can be extremely frustrating because it often turns into a session of debugging your own thought process. Often when I hit a PowerShell script issue I find myself feeling like everything is right and I'm just missing something basic...
jaredpar's WebLog
Select-StringRecurse
Posted
over 6 years ago
by
JaredPar MSFT
3
Comments
When you need to search for text in a file, select-string is your best friend. It has most of the functionality of old unix grep. In addition it does full regular expression support. The only downside is that it will only run on files in the...
jaredpar's WebLog
IEnumerable and IEnumerable(Of T) 2
Posted
over 6 years ago
by
JaredPar MSFT
3
Comments
Quick follow up to my earlier post . Fixing this issue in C# is even easier because of the existence of iterators. public static IEnumerable < object > Shim(System.Collections. IEnumerable enumerable) { foreach ( var cur in enumerable) { ...
jaredpar's WebLog
IEnumerable and IEnumerable(Of T)
Posted
over 6 years ago
by
JaredPar MSFT
4
Comments
IEnumerable(Of T) is a huge step up in the 2.0 framework from the original IEnumerable interface. It provides a typed enumeration which eliminates lots of nasty casts. The best part is that IEnumerable(Of T) is backwards compatible with IEnumerable (it...
jaredpar's WebLog
.Net Framework Source Code
Posted
over 6 years ago
by
JaredPar MSFT
1
Comments
If you haven't heard the news yet, you can read the full article on ScottGu's Blog . In summary Microsoft has released the source code for the .Net Framework in such a way that you can step into the Framework while debugging. IMHO this is great for users...
jaredpar's WebLog
Casting to an Anonymous Type
Posted
over 6 years ago
by
JaredPar MSFT
4
Comments
This discussion is building upon a previous post on how to acquire an anonymous type ... type . The next question is, how can you cast an arbitrary object into an anonymous type? At a glance this doesn't seem possible as you cannot directly express...
Page 1 of 1 (10 items)