RSS

Category Archives: Uncategorized

Electricity transfer process for a new flat in Hyderabad

(First non-technical post on my blog ;-))

This post is to highlight the simplicity in the process of transferring electricity bill to an individual’s name from Builder and encourage people to avoid using an agent help (especially avoiding the special pricing¬†part). The overall process hardly take an hour and is cost effective.

Below are the steps and required documents:

  1. Take a printout of the document shared here, this document needs to be signed by your builder. Fill all the required details before giving the document to the builder
  2. Carry a Xerox of your latest EC. (not more than 3 months old). It takes about 250 Rupees to get a new EC. You would receive the EC within 4 days. You can save this 250 if you have a latest one.
  3. Take 2 copies of the Sale deed on both sides. One is needed for address change and the other for title change.
  4. 2 Passport size photos
  5. ID Proof
  6. Latest electricity bill
  7. You would need a Rs.100 Title Change Indemnity bond.
  8. You need to pay a Rs.25 challan
  9. Link document (both sides) if flat is land owner’s flat
  10. Rs.10 NOC by the joint owner, in case your flat is jointly owned.

Go to the near by electricity department with the above mentioned documents. There are enough shops around the electricity board where you can get bond mentioned in point 7 (even though it is 100/-, you would end up paying 160 or so depending on the shop). Usually there would be someone around in the board who would help you organise your documents and help in submission. I found the staff in Kukatpally electricity board really helpful and they didn’t expect any money.

In this process, you would maximum spend an amount of 500/-. If you try to go through a broker you would pay around 1200/- to 1500/- (it can vary depending on your relation and negotiation). The difference here might not be high but the point is if we understand the system, we can appreciate how things are organised, else we keep cribbing about bribery. Even if couple of folks avoid paying additional prices after reading this, I would be happy ūüôā

Thanks!

Advertisements
 
Leave a comment

Posted by on March 1, 2017 in Uncategorized

 

Web debugging tip : Using Fiddler to load local files instead of remote files

I was recently asked a question by one of my team mates if there is a way to load a file locally instead of the remote file, keeping rest of the files served from the remote server. My instinct said it should be very well possible to do it. I did a quick search and found an interesting feature in Fiddler, it is named “AutoResponder”.

autoresponder

 

Here is a good video by Eric, the creator of Fiddler which talks about it

As shown in the video, you can create a rule which can say – given a request which matches a pattern pick a local file. After adding the rule, do select “Enable rules” for the rules to take affect. Make sure to select “Unmatched request passthrough”, else all the requests which doesn’t match the rule will fail.

You can also do little advanced things using FiddlerScript. For example: if you want to pick a local file which matches a pattern, you can write code in OnBeforeRequest() and specify the pattern match by your self.

And in order for these rules to work, you shouldn’t bundle your files for obvious reasons ūüôā

 
Leave a comment

Posted by on February 13, 2017 in Uncategorized

 

Writing WinForms code that scales to High DPI

In this post, I will try to collate different guidelines and pointers to readings that can help in building/fixing High DPI (HDPI) issues in WinForms

1. Automatic Scaling in Windows Forms

2. Creating a DPI aware application (MSDN documentation)

3. This post on SO has a documentation of some of the design guidelines –¬†How to write WinForms code that auto-scales to system font and dpi settings?¬†and this¬†Creating a DPI-Aware Application

4. Take care of properly scaling Images – Make use of DpiHelper Class. For example, make use of LogicalToDeviceUnits to scale images properly for different DPIs

5. Try avoiding using the Designer. Use the built-in layout controls Рspecifically, the FlowLaypoutPanel and TableLayoutPanel

Most of the above points were helpful to me and should cover the most important things to keep in mind while working on HDPI. If you are starting fresh, you have various option like using WPF and building new Modern style UI on Windows 8 machines for which the framework handles the major things for you. 

 
Leave a comment

Posted by on June 23, 2014 in Uncategorized

 

Tags: ,

Getting started with WPF

I have started working on WPF (Windows Presentation Foundation) since a couple of weeks and been going through some learning. WPF has been around for a long time (probably since .NET 3.0 time frame). What I am trying to post in this blog post is a list of readings which are recommended by my colleagues and the one which I found through reading on-line.

Suggestions and on-line readings:

1. A good blog from John Smith about WPF and MVVM

2. Keep UI layer as thin as possible. No data manipulation in xaml.cs(as much as can be avoided). UI layer should be dumb. Move all complex data logic to view model.

3. Try to use data binding in xaml file as much as possible. Avoid adding code in xaml.cs file(C# layer for the UI should be thin). Instead add those UI logic in xaml file itself.

4. Use data converters

5. Keep the styles and data templates separate from the layout as much as possible. Then use those as StaticResource / DynamicResource wherever applicable. This ensures better reusability.

6. Define custom controls whenever necessary. Default controls may not always be perf-efficient.

7. WPF can cause memory issues if we are not careful. Detach any event handlers that we may have attached during UI loading / initialization. Dispose any IDisposable objects. Ref1 Ref2

8. One can find good tutorials on PluralSight.com

9. WPF Interview Question РThis has real good questions which gives you an overview of various high level topics in WPF

10. XAML Guidelines

11. XAML Guidelines and Best Practices РThis link has points to channel9 videos on XAML Guidelines

Once you get a good hang of these concepts, you would have real fun working on some good UI.

As a request always. Please do share links to interesting WPF UI examples/samples/blogs/new-concepts etc which you came across.

Good luck

 
Leave a comment

Posted by on February 4, 2014 in Uncategorized

 

Static Typing Vs Dynamic Typing

Recently I have been reading an article published by partners of internet.org. In the article its been mentioned that using PHP (a dynamic typed language) was very productive for Facebook. I tried understanding why is using dynamic typed languages productive and went through some readings. I am sharing a few which were a good read.

1. http://programmers.stackexchange.com/questions/10032/dynamically-vs-statically-typed-languages-studies

2. http://programmers.stackexchange.com/questions/122205/what-is-the-supposed-productivity-gain-of-dynamic-typing

3. http://www.sitepoint.com/typing-versus-dynamic-typing/

You can find many other resources but the above ones should give a quick overview of typing. Wiki articles are also a good place to start learning.

PS : I would strongly recommend people to read the article that is published from internet.org.

 
Leave a comment

Posted by on September 22, 2013 in Uncategorized

 

Tags: , ,

SQL Learnings

Working with SQL and SQL Azure

Last couple of weeks I have been working on stored procedures and analyzing performances in SQL. I have been going through some interesting readings. Would like to share some of my learnings here. This would be updated on a regular basis.

Some of the key sites :

1. http://weblogs.sqlteam.com/ РThis is a very good site which helped me in understanding various lock/synchorinization related things in SQL. The author is also very responsive.

2. http://blogs.msdn.com/b/benko/archive/2012/05/19/cloudtip-14-how-do-i-get-sql-profiler-info-from-sql-azure.aspx¬†–¬†To get SQL Profiler information from SQL Azure. Amazed to find this feature in Azure.

How to:

1. Truncate all the tables in a database

2. Tips & Tricks: YOU HAVE LOST ACCESS TO SQL SERVER. NOW WHAT?

Let me know if you have good references in the domain that would be of good help to me and readers.

 
Leave a comment

Posted by on April 20, 2013 in Uncategorized

 

Data structures and algorithms Visualizations

Came across this good site where few data structures and algorithms are well visualized. 

Site : Data structures visualization

 

 
Leave a comment

Posted by on March 1, 2013 in Uncategorized

 

Tags: