-
Defining DSL Validation Rules with Alloy
Introduction DSL (Domain-Specific Language) is becoming increasingly popular. More and more DSLs are developed for solving various domain-specific problems. A well-designed DSL should be easy to use, which requires a… More.
-
Solving car talk puzzle with Alloy
I have become interested in formal methods lately. In particular, I have been learning Alloy recently. I came across a TLA+ model here, written by Leslie Lamport, who invented TLA+.… More.
-
Solving problems with F# – maximal number of A’s
Here is a problem to solve: Open windows notepad and start with a blank document. At one step, you can choose to type one of the four below on the… More.
-
Solving Cryptarithmetic problems using F#
I was given a puzzle to solve recently. The puzzles is a cryptarithmetic problem: 5’s twelve + thirty = ninety. T W E L V E T W E L… More.
-
Functional design patterns
These are the notes I took when reading the slides written by Scott Wlaschin. More.
-
Lego Robot
I participated in a Lego Robot Competition recently, and our team of 5 persons won the first prize. Our robot successfully accomplished its mission: picking up a treasure, a Lego block in… More.
-
Installing PhoneGap for Android on Windows 8
It took my quite some time to install the latest PhoneGap (2.9.1 as for now) for Android on Windows 8. I’ve found this Blog particularly useful. If your target Android version… More.