mrkurt

Stories submitted by mrkurt

Building an F# powered indexing system (part 2)(tryingthisagain.com)

submitted by mrkurtmrkurt(280) 4 years ago

The second development chunk focuses on creating documents to index, and munging them into a format to hand off to an external library. There are examples of calling a .NET library from F#, mutable values, function composition, and several other spiffy sounding things. read more...

add a comment |category: |Views: 53

tags: another

Building an F# powered indexing system(tryingthisagain.com)

submitted by mrkurtmrkurt(280) 4 years ago

When I first started dabbling in F#, I really struggled to understand how someone (in particular, me) would sit down and start writing an application from scratch. Project Euler puzzles are a great way to learn syntax (and probably the best place to start), but I would have loved to see a real application's source with a sort of "here's how it was built" narrative. So that's what I'm going to do! read more...

add a comment |category: |Views: 38

tags: another

F# vs. C#: refactoring in parallel and generics(tryingthisagain.com)

submitted by mrkurtmrkurt(280) 4 years, 1 month ago

In an attempt to avoid out parameters (which suck) in C#, I refactored a bit of contrived code to bury them elsewhere. I also worked on the equivalent F# code, and found more things about C# that may or may not suck. read more...

add a comment |category: |Views: 158

tags: another

Out parameters suck, tuples rule, F# wins(tryingthisagain.com)

submitted by mrkurtmrkurt(280) 4 years, 1 month ago

The TryParse method found on many value types is nice and useful. Unfortunately, you're forced to use out parameters to make use of them. Ugh. read more...

add a comment |category: |Views: 67

tags: another

A basic NamedLock class(tryingthisagain.com)

submitted by mrkurtmrkurt(280) 4 years, 3 months ago

Here’s a bit of code I extracted from my own special baby of an application. It allows me to lock on a specific "name", rather than having to use an object instance and the built in lock construct. read more...

add a comment |category: |Views: 10

tags: another

ASP.NET MVC routings limitations(tryingthisagain.com)

submitted by mrkurtmrkurt(280) 4 years, 5 months ago

Somethings you can't do with the MVC route parsing. read more...

add a comment |category: |Views: 5

tags: another

Hijacking the SubSonic relationship loading process(tryingthisagain.com)

submitted by mrkurtmrkurt(280) 4 years, 5 months ago

In my quest to make SubSonic work for me, I’ve been stumbling through the source code and making improvements on my own super special branch. Of primary interest to me was the mechanism for loading objects related through a foreign key. This has proven to be the biggest performance bottleneck on any of my SubSonic based applications. Here's how I'm fixing it. read more...

add a comment |category: |Views: 11

tags: another

Installing Visual Studio 2008 on Vista makes me want to kill myself(tryingthisagain.com)

submitted by mrkurtmrkurt(280) 4 years, 6 months ago

After numerous attempts at installing VS 2008 on Vista machines, I’m about ready to switch to vim. At least I can use apt-get for vim. read more...

1 comment |category: |Views: 2

tags: another

Cruise Control.net and Visual Studio 2008(tryingthisagain.com)

submitted by mrkurtmrkurt(280) 4 years, 6 months ago

Some tips on getting Cruise Control.NET to play nicely with VS 2008 solutions and MSBuild. read more...

add a comment |category: |Views: 290

tags: another

Hide and seek with the ASP.NET cache(tryingthisagain.com)

submitted by mrkurtmrkurt(280) 4 years, 6 months ago

I started extracting some caching code into a more reusable class this week. It comes from one of my favorite applications, which has ~10,000 objects cached at any given time. I figured I’d start this blog off the right way and show off one of my more boneheaded code decisions. read more...

add a comment |category: |Views: 1

tags: another