Yan Cui's blog articles

0
comment
on 9/7/2011 4:09 AM
Problem In the 5 by 5 matrix below, the minimal path sum from the top left to the bottom right, by only moving to the right and down, is indicated in bold red and is equal to 2427. Find the minimal path sum, in matrix.txt (right click and ‘Save Link/Target As…’), a 31K text file [...]
>> Read the full article
.
0
comment
on 9/6/2011 5:33 PM
Problem Comparing two numbers written in index form like 211 and 37 is not difficult, as any calculator would confirm that 211 = 2048 < 37 = 2187. However, confirming that 632382518061 > 519432525806 would be much more difficult, as both numbers contain over three million digits. Using base_exp.txt (right click and ‘Save Link/Target As…’), [...]
>> Read the full article
.
0
comment
on 3/27/2011 4:13 PM
It feels like a little while since I last played around with the <canvas> element, so I spent some time over the weekend and put together a simple painting app using the canvas and here is the end result. Here’s some screenshots:    Spray Tool One of the interesting things with this simple painting app [...]
>> Read the full article
.
0
comment
on 3/14/2011 5:56 PM
For those of you who are familiar with Reactive Extensions you should know all about observables already, but did you know that there’s another kind of observable sequence – Rx.ConnectableObservable. The difference between the two types of observable sequences is well explained here, in short, a connectable observable sequence allows you to share the same [...]
>> Read the full article
.
0
comment
on 3/12/2011 9:13 AM
I wrote previously about how you can set up multiple observable sequences and subscribe to them with multiple observers and create a many-to-many relationship between them. Whilst this is a very flexible model with a clear separation of responsibilities, often it requires more work to set up and is more than what you need for [...]
>> Read the full article
.
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper