Programming

F# – Monty Hall problem

Do you remember that scene from the movie 21 where Kevin Spacey gave our protagonist Ben the game show host problem? What Kevin Spacey described is known as the Monty Hall problem. It became famous as a question from a reader’s letter to Marilyn vos Savant’s “Ask Marilyn” column in Parade magazine in 1990. Marilyn’s …

F# – Monty Hall problem Read More »

Warning, Conferences ahead!

Update 24/08/2015 : some helpful people pointed out that I’ve missed a couple of other notable conferences here, including: Leetspeak (10th Oct Stockholm) Distributed Matters Berlin (19th Sep) and Barcelona (21st Nov) CodeMotion Berlin (2nd-3rd Nov), Milan (20th-21st Nov) and Madrid (27th-28th Nov) Lambda World (24th Oct Cadiz)   It’s almost that time of the year again, that last …

Warning, Conferences ahead! Read More »

More fun with APL

Note: see the rest of the series so far.   I stumbled across this post the other day and problem 2 seems like something I can easily do in APL since it essentially requires you to interleave two arrays. The problem is: Write a function that combines two lists by alternatingly taking elements. For example: given the …

More fun with APL Read More »

Slides for “F# at Gamesys”

I recently gave a talk on the various use cases we have for F# at Gamesys Social at the Tokyo F# User Group during my trip there. The slides are available on Slideshare and I’ll share links to recording once they become available. F# at GameSys from Yan Cui

Smallest .Net ref type is 12 bytes (or why you should consider using value types)

(Update 2015/07/21 : read the next post in this series to learn about the places where implicit boxing happens with value types and how you can prevent them)   I chanced upon Sasha Goldshtein’s excellent book, Pro .Net Performance : Optimize Your C# Application, a few years back and I thoroughly enjoyed it. Even though …

Smallest .Net ref type is 12 bytes (or why you should consider using value types) Read More »

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close