I am a seismic dog. I dabble in code generation.

Here's some fun code I wrote in F#: Map Reduce with F# agents

Careers 2.0: http://careers.stackoverflow.com/gchernis

LinkedIn: http://www.linkedin.com/in/gchernis

Jul
8
comment Issue in passing null into sql server 2012 datetime by creating datetime? variable to my stored procedure
Is your DateTime column marked to allow NULL in the database table?
Jul
6
revised F# curried function
Brings code into view
Jul
5
revised How to get int from Tuple<char[], int>[] in f#
added 4 characters in body
Jul
5
revised StructLayout limitation in F# Interactive?
deleted 19 characters in body
Jul
5
comment StructLayout limitation in F# Interactive?
You should file this as a bug with Microsoft.
Jul
5
comment StructLayout limitation in F# Interactive?
I am reproducing this behavior with Microsoft (R) F# Interactive version 12.0.30110.0
Jul
5
revised StructLayout limitation in F# Interactive?
added 31 characters in body
Jul
5
revised How to get int from Tuple<char[], int>[] in f#
deleted 18 characters in body
Jul
5
revised How to get int from Tuple<char[], int>[] in f#
added 742 characters in body
Jul
5
revised How to get int from Tuple<char[], int>[] in f#
added 98 characters in body
Jul
5
answered How to get int from Tuple<char[], int>[] in f#
Jul
4
revised Threadsafe and exception catching events
added 82 characters in body
Jul
4
revised Threadsafe and exception catching events
added 137 characters in body
Jul
4
revised Threadsafe and exception catching events
added 175 characters in body
Jul
4
revised Threadsafe and exception catching events
added 113 characters in body
Jul
4
answered Threadsafe and exception catching events
Jul
4
comment How I can change a For loop to PLINQ syntax?
If this algorithm relies on lots of floating-point computation, then GPU-side processing might be your best bet. Also, if using Intel processors with Hyper-Threading, for best performance don't spin up as many computations as HTs, but only as many as you have cores.
Jul
4
comment How I can change a For loop to PLINQ syntax?
Are you sure that each inner part is independent of other inner parts?
Jul
4
comment How I can change a For loop to PLINQ syntax?
Do you have a hot path from profiling your current implementation? Using parallel processing can give you a marginal speedup, but optimizing actual implementation might produce additional improvements.
Jul
3
awarded Supporter
1 2 3 4 5