Makes a single Websocket request and waits for the first response
4 people like thisPosted: 1 month ago by Fave Oled
Find binding-redirects with linq-to-xml from a .config file. This might be useful for then parsing config-changes e.g. by System.Linq.Enumerable.Except
2 people like thisPosted: 1 month ago by Tuomas Hietanen
Use a regular expression to find all groups of three digits before the decimal point. Returns the modified string.
2 people like thisPosted: 1 month ago by shazmodan
Starts at a given position. Using any kind of "tag" like <%replaceThis%> with something corresponding from the Map.
0 people like thisPosted: 1 month ago by shazmodan
Starts at a given position. Using any kind of "tag" like <%replaceThis%> with something corresponding from the Map.
0 people like thisPosted: 1 month ago by shazmodan
Inserts a space every 3 characters in a string starting from the end of the string.
1 people like thisPosted: 1 month ago by shazmodan
I'm working on parallel computations and I thought it would be useful to break work into chunks, especially when processing each element asynchronously is too expensive. The neat thing is that this function is general even though motivation for it is specific. Another neat thing is that this is true lazy sequence unlike what you'd get if you used Seq.groupBy. There are three versions for your enjoyment.
71 people like thisPosted: 12 years ago by Dmitri Pavlenkov
Unlike the previous chain of responsibility, this version use the pipeline to chain responsibilities.
101 people like thisPosted: 11 years ago by Tao Liu
Invoke the methods from incompatible types
109 people like thisPosted: 11 years ago by Tao Liu
Demonstrates how to implement the dynamic operator (?) using .NET Reflection. The implementation supports calling constructors, propreties and methods using simple overload resolution (based on parameter count). It handles instance as well as static members.
71 people like thisPosted: 11 years ago by Tomas Petricek
I'm working on parallel computations and I thought it would be useful to break work into chunks, especially when processing each element asynchronously is too expensive. The neat thing is that this function is general even though motivation for it is specific. Another neat thing is that this is true lazy sequence unlike what you'd get if you used Seq.groupBy. There are three versions for your enjoyment.
71 people like thisPosted: 12 years ago by Dmitri Pavlenkov
F# implementation of a generic Top-Down-Operator-Precedence Parser as described in this paper http://portal.acm.org/citation.cfm?id=512931 Example starts at line ~300
87 people like thisPosted: 11 years ago by fholm
staging (18) array (22) monad (23) mailboxprocessor (27) seq (54) recursion (33) sequences (48) collections (16) lists (14) design patterns (18) http (18) agent (20) async (98) string (27) game (32) reflection (19) json (14) tutorial (17) web (29) silverlight (22)
Antonio Cisternino (8) devshorts (11) Gauthier Segay (11) Ankur Dhama (20) mavnn (17) Tuomas Hietanen (74) NIck Palladinos (14) Tomas Petricek (148) Vesa Karvonen (8) Brian Berns (9) Carsten König (10) Eirik Tsarpalis (89) Tao Liu (17) David Klein (16) Taha Hachana (12) nagat01 (19) Evgeniy Andreev (13) Robert Pickering (11) Zhukoff Dima (8) fholm (26)
Database contains 3104 snippets out of which 1703 is public.