rizalalmashoor.com
Rizal Almashoor’s Blog » AJAX
http://www.rizalalmashoor.com/blog/categories/ajax
Rizal Almashoor’s Blog. Valid use of Null. Archives for the 'AJAX' Category. Dynamically Populating a Select Box Using AJAX. Update 6 June 2012. I wrote this way before jQuery had become mainstream. So if you came here via Google search, please don’t follow my example below. With jQuery, these type of things are pretty much one-liners. For sample jQuery code, see jQuery: Best practice to populate drop down? And forget about XML—use JSON instead. Demo and […]. 21 January 2007 Software engineering.
rizalalmashoor.com
Rizal Almashoor’s Blog » Blog Archive » The Monty Hall Problem, Enumerated
http://www.rizalalmashoor.com/blog/the-monty-hall-problem-enumerated
Rizal Almashoor’s Blog. Valid use of Null. The Monty Hall Problem, Enumerated. The Monty Hall problem is as follows:. It seems that there are a few ways to arrive at the answer. But none of them makes sense to me. In the end I got it by enumerating the only two winning possibilities:. Winning possibility #1 (WP1): I choose the car; the host shows me one of the two goats; I stick to my choice. Winning possibility #2 (WP2): I choose a goat; the host shows me the remaining goat; I switch to the car.
rizalalmashoor.com
Rizal Almashoor’s Blog » Uncategorized
http://www.rizalalmashoor.com/blog/categories/uncategorized
Rizal Almashoor’s Blog. Valid use of Null. Archives for the 'Uncategorized' Category. The Monty Hall Problem, Enumerated. The Monty Hall problem is as follows:. You are a contestant in a game show. There are three doors. Behind one of the doors is a car; the other doors, each, a goat. The host asks you to choose a door. After you do so, the host will open one of the other two doors to […]. 15 July 2013 Uncategorized. Calling an Oracle function using NHibernate. Var result […]. 3 August 2011 Uncategorized.
rizalalmashoor.com
Rizal Almashoor’s Blog » Professional Profile
http://www.rizalalmashoor.com/blog/professional-profile
Rizal Almashoor’s Blog. Valid use of Null. Web developer with over six years of experience in commercial and internal application development, following a switch from a career in systems integration and IT support spanning half a decade. Proficient in object-oriented programming using C#; web development using ASP.NET and Kohana. Contact: [my first name] [dot] [my last name] [at] gmail [dot] com. Eric forbes's book addict's guide. Linux or Windows . Random thoughts on software.
rizalalmashoor.com
Rizal Almashoor’s Blog » Book review
http://www.rizalalmashoor.com/blog/categories/book-review
Rizal Almashoor’s Blog. Valid use of Null. Archives for the 'Book review' Category. The Alchemist by Paulo Coelho. The Alchemist by Paulo Coelho has two layers: the icing, but a thin veneer, albeit a quite interesting one, is the story of a boy who wanted to see the world. Underneath, it describes “The Secret”: that the whole universe conspires to help you achieve your dreams. There is also a passing reference to “The […]. 7 March 2010 Book review. Tess of the d’Urbervilles by Thomas Hardy. To Kill A Moc...
rizalalmashoor.com
Rizal Almashoor’s Blog » C#
http://www.rizalalmashoor.com/blog/categories/c
Rizal Almashoor’s Blog. Valid use of Null. Archives for the 'C#' Category. Exception-handling wrappers for Task.ContinueWith(). The NET 4 Task Parallel Library is great because you can specify continuations for new threads:. Private Task WebResponse GetWebResponseAsync(string url). Var webRequest = WebRequest.Create(url);. Return Task.Factory.FromAsync WebResponse (. 28 May 2012 .NET. Calling an Oracle stored procedure using NHibernate. Tested with NHibernate 2.1.2 and Oracle 11g. 17 January 2012 .NET.
rizalalmashoor.com
Rizal Almashoor’s Blog » Blog Archive » Invoking a post-build batch file in TFS 2010
http://www.rizalalmashoor.com/blog/invoking-a-post-build-batch-file-in-tfs-2010
Rizal Almashoor’s Blog. Valid use of Null. Invoking a post-build batch file in TFS 2010. The scenario: you are using TFS 2010 as your build server, and you would like to deploy files to a remote server upon successful build by invoking a batch file. Hint: hand-edit your .csproj file and use the DependentUpon element to keep your project view clean in Visual Studio—multiple .tt files can be nested under the main .tt file. Open BatchFilePostBuild.xaml in the designer and add 2 new Arguments:. Drag “W...
rizalalmashoor.com
Rizal Almashoor’s Blog » Applications
http://www.rizalalmashoor.com/blog/categories/applications
Rizal Almashoor’s Blog. Valid use of Null. Archives for the 'Applications' Category. LINQPad – a worthy successor to Snippet Compiler. In 2009 I blogged about how Snippet Compiler allows us to test out C# code without having to create a project in Visual Studio just for that. Now there’s something better: LINQPad. Don’t be misled by its name; it’s not just for LINQ, it can run any C#, VB, or even SQL code. I particularly […]. 5 August 2011 .NET. Update 15 January 2012. For more Vimium-like highlighting:.
rizalalmashoor.com
Rizal Almashoor’s Blog » ASP
http://www.rizalalmashoor.com/blog/categories/asp
Rizal Almashoor’s Blog. Valid use of Null. Archives for the 'ASP' Category. Separate Instances of MySQL 4.0 and MySQL 4.1 on Windows. Assuming you already have MySQL 4.0 running on its default port (3306), install MySQL 4.1 and set its service name to MySQL41 and its port to 3307. The ASP connection string is as follows:. 8220;driver={MYSQL ODBC 3.51 Driver};” &. 8220;server=localhost;port=3307;” &. 8220;uid=user1;pwd=a password;database=db1″. The PHP connection method is as follows:. 28 March 2007 MySQL.
rizalalmashoor.com
Rizal Almashoor’s Blog » Cartoons
http://www.rizalalmashoor.com/blog/categories/cartoons
Rizal Almashoor’s Blog. Valid use of Null. Archives for the 'Cartoons' Category. My eldest son loves Ben 10 and Transformers. I mentioned this to The Zik, who also happens to be a children’s book illustrator, and voilà:. I like it so much I’m thinking of keeping this for myself … my 3-year-old doesn’t read this blog heh heh …. 7 July 2009 Cartoons. Knight Rider: Kuala Lumpur. 17 January 2008 Cartoons. Eric forbes's book addict's guide. Linux or Windows . Random thoughts on software.