Async / Await and SynchronicationContext (C# .Net)
Following innocuous looking async / await code will cause deadlock. To understand why, lets go into what await does in the...
Creating and Consuming Async methods (C# .Net)
The code we want to run asynchronously could either be CPU-bound or IO-bound. CPU-bound code keeps the CPU busy, requiring...
Keeping UI Responsive (C# .Net)
The User Interface (UI) becomes unresponsive when a time taking operation is executed during an event. Consider the following button...
Code Snippet: PL/SQL Cursor inside Procedure or Anonymous Block
DBMS_OUTPUT.PUT_LINE can be used to write to console. It works if server output is on: set serveroutput on size 30000;
Reading eBooks – Finding the right reader
Over the years, I have started doing more and more of my reading on electronic devices. In the PC era,...
Took ‘A Brief History of Humankind’ from Coursera
Completed ‘A Brief History of Humankind’ course taught by Mr. Yuval Noah Harari from Hebrew University of Jerusalem. The course...
Udacity’s ‘Introduction to Physics’ course
Took ‘Introduction to Physics’ course at Udacity. It is a beginner level course and I have skimmed through most of...
Convert C# code to JavaScript
Update June 2019: Five years on, each one of the following projects is either discontinued or stale for years. While...
Developed Custom .Net Font Dialog
Developed a Custom FontDialog as an alternative to the standard .Net FontDialog. Key advantage of CustomFontDialog is the full control over look and...
Quick and dirty way of creating Numeric TextBox in .Net (C#)
Handle KeyDown event of the TextBox and set the e.Handled property to true if the character is not numeric. ...