| Tanveer's profileBug VanquisherBlogListsGuestbook | Help |
|
Thanks for visiting!
Bug VanquisherApril, 2009 Tales From Interviewer’s DeskPart 1: How to reverse a string in-place? Take 1: (Fresh) string reverse( string str ) Take 2: (Big words, no knowledge) string reverse( object obj ) Take 3: (2.5 year experience in C#) string reverse( object obj ) Take 4: (Fresh) string reverse( object obj ) April, 2009 Bilkamism Syndrome :OR: How to Kill a Product[Edit: Even the genius couldn't catch sarcasm, well perhaps he's sleepy right now.] [Edit # 2: Corrected two typos.] Symptoms:
Keep checking here, I’ll post more as I remember them. April, 2009 Enough!Facebook is becoming an information disclosure nightmare. People are too stupid to be handed a public social network for their own good. For example, this just crossed my ridiculously crafted homepage few minutes ago.
My comment: Tanveer Badar at 14:31 on 05 April
What amuses me is that the guy is supposed to be specializing in networking, and security by implication (I think). I shudder to think whose data rests in the hands of such and likes. Those who take time to read this blog might have noticed there is very little information about me here. You won’t find much about me online because I don’t want you to. But how are you supposed to prevent others leaking information about you online. March, 2009 Work Efficiency % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed I like this downloader, given how it built redundancy by downloading 109% of a 219 byte long file. March, 2009 From ntddk.h
.
Bhahaha! March, 2009 Life As We Know ItMisery… Hopelessness… Unreliability… Non-dependable… Chaos… Unfairness… Dismay… Mayhem… Sufferings… Retribution… Evils… Accidents To Happiness… Trust… Order… Joy… Rewards… Surprises… We cling to life for dear life. February, 2009 The Impossible TaskFebruary, 2009 From The Forgotten Mail
January, 2009 Java Loves You
No, I don’t think so. And People agree. Why hog my computer with “Java Quick Start” by the way? I never complained to anyone that applet start-up time was slow. Why run yet another program to optimize (questionable!) 1% of the cases? As if reader_sl.exe wasn’t enough! (You won’t find any useful information for this program on Google.) And I had almost forgotten that the rant wasn’t over yet. Java web start is yet another such program (javaws.exe) which keeps running on and on. And jusched.exe which checks for updates when we are perfectly capable of manually invoking the program ourselves. As a side note, install Gmail Voice and Video chat to include two more such monstrosities in the mix, GoogleUpdate.exe and GoogleTalkPlugin.exe. [Placeholder for Windows Live praise.] When the platform is moving towards minimizing startup costs, cutting back on services, making more and more of them to start as late as possible or never if not needed, crappy companies move to feast in the open land. New Goodies in Windows 7To do any development work in Windows 7, you must first get the latest Windows SDK. Upon reading, things will reveal themselves in the native land enough to cause this (and very few technical things invoke this reaction in me). I am talking about the Ribbon and Animations and Web Services for Windows. And more goodies. [Edit: Few hours later… I had forgotten to mention Direct2D and DirectWrite.] Try this stuff! January, 2009 Save Your 5 Minutes Installing AVG on Windows 7By reading here…. Free edition of AVG has a dependency on MFC 8.0. However, they fail to ship the msp files with their program and Windows 7 doesn’t come with MFC 8.0 pre-installed either. AVG will install successfully but will fail to run any of the UI components I had to install VS anyway, hence problem solved for me. Choose your poison. The Definition"Terrorism," the professor had lectured, "has a singular goal. What is it?" "Killing innocent people?" "Incorrect. Death is only a byproduct of terrorism." "A show of strength?" "No. A weaker persuasion does not exist." "To cause terror?" "Concisely put. Quite simply, the goal of terrorism is to create terror and fear. Fear undermines faith in the establishment. It weakens the enemy from within . . . causing unrest in the masses. Write this down. Terrorism is not an expression of rage. Terrorism is a political weapon. Remove a government’s faзade of infallibility, and you remove its people’s faith." December, 2008 CCXML Meets ASP.NETOh! Not this: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CallManager.aspx.cs" Inherits="VoiceSite.CallManager" %> But this: CCXML.CCXMLControl control1 = new CCXML.CCXMLControl( ); which results in <ccxml version="1.0"> A work in progress. :) November, 2008 It Bit You In The Buttnew Guid( ) Fact 1: Guid is a value type. November, 2008 Bring It On
October, 2008 C++: Another Love StoryAfter many moons, the story is like this: Given, int array [ 12 ] = { 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 }; The sequence of function calls // reflexive returns true, is_prime is true for primes (hard-coded for now) and is_even returns true for even numbers. for( int i = 0 ; i < abc.size( ) ; ++i ) prints 2. Btw, there was a serious bug in the implementation of where( ) which is fixed now. Additionally, This should prove delayed execution I believe. Now, all I have to do is wait for lambda expressions in C++, coming sometime next year. October, 2008 Offenses Of The Highest Order
October, 2008 Tidbit 2This one pertains to CLR. Please, please, please make sure your static constructors do not throw exceptions. Having static state in a class is already asking for trouble in the case of multiple threads, if that reason wasn’t enough proceed below. For example, class A If there is even the remotest chance that either DataType1’s constructor or DataType2.GetDefaultInstance will throw an exception you are better off with this version: class A static DataType1 member1; static A( ) The only reason for all this hassle is the avoid throwing uncaught exceptions from .cctor of a type. Because, for a type whose static constructor throws an exception, EE ensures that no instance of that type will ever be instantiated in that appdomain.[Update 11/03/09: Many moons after the original post, I come across this. The exact same problem happens in native world.] Tidbit 1Whenever you write an optimizer for a compiler/assembler/HW synthesizer, anything in general which will try to optimize expressions please ensure you special case a(b+c). There is no need to do ab + ac, unless you want to split hairs. [Disclaimer: I am allergic to memory models for the next 30 minutes.] October, 2008 The Legacy of Javid IqbalI don't know why this particular thought crossed my mind, perhaps when I came across this: Does anyone even remember now the horrors convicted serial killer/pedophile Javid Iqbal unleashed during 1999-2001? Whole host of parents and families who are stranded from their beloved sons and daughters. How no one was able to track him down for over an year and no one cared to find out what motives were behind all those killings? How he died a mysterious death in police custody? What really amazes me is that there is no information available on internet about those brutal murders. Nothing at all. Except for this little piece on BBC's website: Why didn't we wonder then and question authorities how he died? What veiled hand was behind him which was protected from coming to light by his unexplained death? Why no one explored the possibility that he was never a sociopath? Why isn't there any documented data in readily accessible way after 8 years? Why aren't there any laws yet which establish strictest punishments for such felons? Lots of questions which will remain unanswered till no one remembers the atrocity which was once roamed amongst us safe and free, the oddity which left his legacy for God knows how many to peruse. |
|
|||||||
|
|