India is not mature enough to handle Democracy
I was always of the firm belief that the power to manage should be with the people and in back of the mind I always thought that somehow India as a country would prevail on the long run because of the fact that we have a democratic system in place, which though highly red taped still managed to somehow got things done, I have recently understood that its not that things get done because of the greater good but things get done because it is profitable to some person(s), There is no sense of greater good and even if there it is though by only those who do not have any effect what so ever on others, We live in a society where all development is a by product of some body profiteering, In reality profit should have been the by product of development, but the thing that bugs me the most is that we don’t care, I mentioned WE because including me none of us are determined enough to bring changes to the system, we have always found a way to blame others, and we always find a way to blame.
May be this post is also one of the ways I am blaming everyone. In a democracy I am told that all changes begin from Voting, I know that half of India does not vote, its either because they don’t want to or they don’t care, Then those who vote have a choice on voting on who is less corrupt,May be there a few exceptions but in most cases we are limited to these kinds of candidates, And just look at the kind of people who we elect, they ready to use slurs,swears, throw chairs at each other, and do not even hesitate to get in fist fights in assembly, the place where we are supposedly managed, We watch these thing glued to television and make a comment saying that this is shame on the society, but what next ? , Do we take any actions beyond that ?, The counter argument made to this or should I say the alternated presented for discussion only are either we must select the person who is not corrupt and get this person elected or having a say that no candidate is fit enough until we get the right candidate, I don’t think both of these are realistically possible,
We as citizens of this country have no responsibility to our country what so ever, we do not care about how India progresses, All our activism is limited to few actions which are driven by the media, Let me give you a few examples; During the time of Kargil war all of us collected, food, money and more stuff for the armed forces sent it and felt happy, then what ? have we after that cared about the armed forces a day after that, How many of us have at least tried joining the armed forces, In our Country the people who join armed forces are mostly the people who did not find any better options (I know that there are exceptions), we never even suggest people to join armed forces let alone encourage someone, Where is the responsibility to protect our own selves ?, The same thing was also the case during 26th November attack on Mumbai, All of us were glued to Televisions, then took out candle light vigils and that’s about it. No actions further. During the Jessical Lal Mudrer Trail, The media sparked of frenzy of activism which was projected as our social self waking up,What about thousands of cases still pending in the courts and millions more where injustice was served, As I mentioned before all out activism are limited to few actions.
Democracy is not just putting your vote and forgetting about it, Democracy is where you have to have responsibility towards to the Country, Until we get that sense of responsibility, India is not mature enough to handle Democracy.
I have written this post as a starting point of discussion, I haven’t found a way out of the deep mess we are in, and all this is just a starting point to discussion…
Mozilla Seabird : A concept Phone
Cool Concept Phone by Mozilla, Only put off was the projected screen used Mozilla Firefox running on Windows 7 which the screen shows an android build.
More Info on http://mozillalabs.com/conceptseries/2010/09/23/seabird/
IE9 Microsoft Browser (Better Late Than never)
I am not going to talk much about the new features of IE 9 as I think that too many people have blogged about the same thing, and I thought I would show a nifty littl feature which would make site work like an app, including options like windows 7 jump lists, I will let the Images do the talking.
Top 5 features for Me :
1. Simplified Interface
2. Add On Disabler
3. Download Manager (Finally)
4. Standards Support (CSS3 and HTML5)
5. GPU Rendering
Use Debug output window to monitor SQL generated by LINQ2SQL
In all the examples out there to see the SQL generated by a LINQ2SQL query console.out is used, but to monitor the SQL in a debug window we need to write a special text writer implementation
using System.IO; using System.Text; using System.Diagnostics; using System.Globalization; using System; namespace nj.Diagnostics { /// <summary> /// Implements a <see cref="TextWriter"/> for writing information to the debugger log. /// </summary> /// <seealso cref="Debugger.Log"/> public class DebuggerWriter : TextWriter { private bool isOpen; private static UnicodeEncoding encoding; private readonly int level; private readonly string category; /// <summary> /// Initializes a new instance of the <see cref="DebuggerWriter"/> class. /// </summary> public DebuggerWriter() : this(0, Debugger.DefaultCategory) { } /// <summary> /// Initializes a new instance of the <see cref="DebuggerWriter"/> class with the specified level and category. /// </summary> /// <param name="level">A description of the importance of the messages.</param> /// <param name="category">The category of the messages.</param> public DebuggerWriter(int level, string category) : this(level, category, CultureInfo.CurrentCulture) { } /// <summary> /// Initializes a new instance of the <see cref="DebuggerWriter"/> class with the specified level, category and format provider. /// </summary> /// <param name="level">A description of the importance of the messages.</param> /// <param name="category">The category of the messages.</param> /// <param name="formatProvider">An <see cref="IFormatProvider"/> object that controls formatting.</param> public DebuggerWriter(int level, string category, IFormatProvider formatProvider) : base(formatProvider) { this.level = level; this.category = category; this.isOpen = true; } protected override void Dispose(bool disposing) { isOpen = false; base.Dispose(disposing); } public override void Write(char value) { if (!isOpen) { throw new ObjectDisposedException(null); } Debugger.Log(level, category, value.ToString()); } public override void Write(string value) { if (!isOpen) { throw new ObjectDisposedException(null); } if (value != null) { Debugger.Log(level, category, value); } } public override void Write(char[] buffer, int index, int count) { if (!isOpen) { throw new ObjectDisposedException(null); } if (buffer == null || index < 0 || count < 0 || buffer.Length - index < count) { base.Write(buffer, index, count); // delegate throw exception to base class } Debugger.Log(level, category, new string(buffer, index, count)); } public override Encoding Encoding { get { if (encoding == null) { encoding = new UnicodeEncoding(false, false); } return encoding; } } public int Level { get { return level; } } public string Category { get { return category; } } } }
The you can use
datacontext.log = new DebuggerWriter();
Forms Authentication fails even when browser accepts cookies
While using Forms authentication in ASP.net
<forms name=".ASPXAUTH" loginUrl="login.aspx" defaultUrl="Default.aspx" protection="All" timeout="30" path="/" requireSSL="false" slidingExpiration="true" cookieless="AutoDetect" domain="" enableCrossAppRedirects="false"> <credentials passwordFormat="SHA1" /> </forms>
please remeber to set path = “/” or else the cookie based authentication fails, I am yet to figure out why this is happening but atleast this solves the problem.
How to Add Windows XP to Windows 7 Boot Manager
1. Open an elevated command prompt.
2. Type the following to create a boot loader for Windows XP.
bcdedit /create {ntldr} /d “Windows XP”
3. Type the following to set the device to where Windows XP is installed. I used D: in this example. Replace it with the drive letter of your XP installation.
bcdedit /set {ntldr} device partition=D:
4. Type the following to set the path.
bcdedit /set {ntldr} path \ntldr
5. Type the following to add this boot loader to the boot up screen.
bcdedit /displayorder {ntldr} /addlast
6. Reboot the computer
.
Formula 1 2010 Begins
Formula 1 began today and with a bang and there are a lot of changes. From teams, drivers, points, and much more. It would take at least few races we get to know which drivers perform, but the prancing horse Ferrari is back with a bang, they finished top 2 but i really felt for Vettel who according to me at least should have won, i also felt for Karun as this was his first race. The points system is also a bit changed with the winner getting 25 points for 1st which is good, Waiting till the next race I am listing teams and respective drivers.
| Ferrari | Fernando Alonso |
| Felipe Massa | |
| McLaren | Lewis Hamilton |
| Jenson Button | |
| Red Bull | Sebastian Vettel |
| Mark Webber | |
| Mercedes GP | Michael Schumacher |
| Nico Rosberg | |
| Force India | Vitantonio Liuzzi |
| Adrian Sutil | |
| Williams | Rubens Barrichello |
| Nico Hulkenberg | |
| Renault | Robert Kubica |
| Vitaly Petrov | |
| Toro Rosso | Jaime Alguersuari |
| Sebastien Buemi | |
| Lotus | Heikki Kovalainen |
| Jarno Trulli | |
| BMW Sauber | Pedro de la Rosa |
| Kamui Kobayashi | |
| HRT | Karun Chandhok |
| Bruno Senna | |
| Virgin | Timo Glock |
| Lucas di Grassi |


