Posts

Showing posts with the label fun

A Good Mix 31: Texas Holdem, IronScheme, Indigo Cheminformatics, IronRuby and bridge xml

More IronPython and DLR related projects, articles and news from around the web. Texas Holdem Hand Equity Calculation in IronPython  Greg Bray has been experimenting with using Resolver One to write Texas Holdem calculating spreadsheets with IronPython. In this blog entry he shows the IronPython code for calculating hand equity: This year I have been working in my free time to create easy to use Texas Holdem poker spreadsheets based on IronPython using Resolver One. These spreadsheets can be used to calculate Win/Tie/Loss odds, but some people like to use hand equity instead since it represents a player’s overall stake in the pot. Equity of 1.0 or 100% means that they will win the entire pot, where as equity of 0.5 (50%) or 0.25 (25%) means that they will split the pot with other players. You can again use Monte Carlo analysis to run a number of trials before all of the board cards are dealt to estimate a player’s current equity in the hand. This means that if during 4 trials ...

A Good Mix 27: A Dynamic T-Shirt, Testoob, Mathematica and Blaze

Yet another collection of IronPython and DLR related articles, projects and blog entries from the past few weeks. You had me at dynamic  An IronPython T-Shirt created by Harry Pierson . The text is C# + IPy = <3. You had me at "dynamic" . Testoob 1.15 Released Testoob Project Homepage  The latest release of the Testoob project (yet-another-Python-testing-framework) announces IronPython support. I haven't used Testoob, but it is nice to see more projects supporting IronPython: Testoob is an advanced testing framework and test runner for Python. As a test runner, it can run your unittest test suites and make your test-running easy with tons of useful options. As a framework, you can use it to make your test-writing easy with even more useful options. Version 1.15 (Oct. 2009) adds better Python 2.6, IronPython, and Jython support, as well as test coverage improvements, better color support, and some new options and bugfixes. BoxHeadRoom: IronPython and Mathematic...

The Python Challenge - from Powershell!

Mark ( The Powershell Guy ), has been having fun with The Python Challenge . Several of the levels can be done straight from Powershell, but the latest one he has reached requires loading Python pickles. To solve this he uses the IronPython assemblies and the Python standard library, from Powershell of course : POSH Challenge Part 3 (Using IronPython) POSH Challenge Part 2 (Level 1-4) POSH Challenge Part 1 In one post he mentions the Microsoft Winter Scripting Games , which are Feb 15th to March 3rd. Hopefully there will be some contenders using IronPython.

LOLCode on the DLR

Martin Maly, as part of his TechEd talk on the Dynamic Language Runtime, showed an implementation of an exciting new language ( LOLCode ) that he hacked together whilst travelling. John Lam has made the source code to this available on his blog and Martin has contributed a write-up on the LOLCode site: LOLCode on the DLR (with download) My Commentary (with some build instructions) Intro to LOLCode on the DLR