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
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
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
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)
November, 2008
MSDN Blogs
>
jaredpar's WebLog
>
November, 2008
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
jaredpar's WebLog
Comparing Continuations in C# and F# Part 3: Double wrong
Posted
over 4 years ago
by
JaredPar MSFT
1
Comments
Is it better to be wrong once or to be right then think you’re wrong but find out you were right but wrong about being wrong? Besides the obvious be right the first time, it’s certainly an educational experience. Here’s the original sample: let...
jaredpar's WebLog
Comparing Continuations in C# and F# Part 2
Posted
over 4 years ago
by
JaredPar MSFT
3
Comments
In my last post I went over the differences between using a continuation in F# and C# . As it turns out I was right about the limits and symptoms but wrong about the reason. The F# code does indeed generate tail calls for part of the continuation....
jaredpar's WebLog
Properly Incrementing an IntPtr
Posted
over 4 years ago
by
JaredPar MSFT
7
Comments
Just as native pointer types are moved around with pointer arithmetic in native code, it can also be useful to move IntPtr types around in managed code. Say for instance there is an IntPtr available which points to a native array of Dog instances...
jaredpar's WebLog
Comparing Continuations in F# and C#
Posted
over 4 years ago
by
JaredPar MSFT
4
Comments
Lately I’ve been playing quite a bit with F#. I have several hobby projects I’m working on that take up a bit of my time. But when I’m not playing around with F# I’m exploring ways to apply certain functional patterns to actual coding on the...
jaredpar's WebLog
Dereference a double IntPtr
Posted
over 4 years ago
by
JaredPar MSFT
3
Comments
A common PInvoke question is how to deal with a double pointer. More specifically, how can one dereference an IntPtr to another pointer without using unsafe code? Dereferencing a double pointer is done the same way a dereference to any other...
jaredpar's WebLog
PInvoke and COM objects
Posted
over 4 years ago
by
JaredPar MSFT
4
Comments
I've occasionally found the need to mix COM interop and PInvoke. For certain scenarios it's just easier to code up a PInvoke declaration and function. It's perfectly legal to include COM objects in these scenarios provided the appropriate...
jaredpar's WebLog
Stop the Beeping!!!
Posted
over 4 years ago
by
JaredPar MSFT
2
Comments
Recently I was working on a PowerShell script which involved translating byte arrays into strings using the appropriate encoding. Unfortunately I kept getting the wrong choice for encoding and printed out essentially random data to the console screen...
Page 1 of 1 (7 items)