Wednesday, June 29, 2011

Firefox's unusual multiple tabs opening bug

Today encounter a very (funny) odd looking bug in firefox. (Its not strictly related to Firefox, but anyways.)
The Bug:
If you have chosen the option in Firefox called "Open link in new Tab" and your default PDF file viewer is Firefox (Yeah it can happen with some people). If you download a PDF file and try to open it. The firefox will go in a infinite loop opening multiple Tabs (sometimes over 300, the only way to stop it using the "stop" icon in main menu).
Most people (non technical ones) get really annoyed with this. Installing and uninstalling the Firefox won't kill the problem (as its not entirely related to web browser).
Solution:
Only solution is to unassociated PDF files with firefox , thats it.
Right click any PDF file and then choose Open with menu and choose your default PDF viewer (Adobe or foxit). Choose Always open these files with this application. and you are done.

Saturday, April 30, 2011

Why C programming Language is a powerhouse.

In this era of modern programming language, where there are like tons of programming languages available to computer professionals. C programming language which was developed like 40 years ago is still a persistent entity.
I know in this new world new languages has taken over the programming world. Languages like C#, Java, Python or others. May be (new) "people" don't like C/C++ anymore (I should be precise). But if you look at most core part of modern software system, they are still coded in C /C++. I will support my argument with following famous software.
Gecko :     This is the layout engine of Mozilla FireFox web browser. So this is the heart of FireFox and it is still written in C.
Android  : To days most famous mobile operating system. Core part of android is written in C/C++.
VLC player : Most preferred Video player, guess what its written in C/C++.

Doom engine : Id software Doom game engine, written in C/C++.

Half life engine : Written completely in C, C++ , the result? Well everyone knows ;)

Oracle DB : The Oracle Database management system, Owned in C/C++.

U Torrent  : Our beloved torrent client , written completely in C/C++
OK I think this is enough, the list is really long. But why I mentioned these examples? As you can see I chose them really carefully. How?
These example represents different programming scenarios. So as you can see C/C++ can tackle from web development system to database management system. The vary versatility of C/C++ is what it makes C a great programming languages. The code that C produces is far superior to any other language. The performance comparison is not even close. I know some languages specialize in certain part of programming (Like LISP excels in string handling), but C is still very very close to them. The C code is very close to even assembly languages. That is why most core system are still coded in C.
Languages like C#, java , python may have great programming supports in terms of API or libraries. These languages may also feature fancy stuff like garbage collection or dynamic variable types. But the raw powerhouse of C language is what it sets it apart from other language. (Most fast drivers still prefer the manual gear system then auto gears. right? )
Not to mention that while you have worked with C programming, it is very easy to migrate to other languages.
"At last there are only two type of programming languages in world. One is the language people always bitch about and other nobody uses".

Does Your Adsense ads Disapear in Firefox ?

I don't Know if it is a bug in Firefox or Its addon Ad Block Pro. But in case you are running Firefox with Ad block pro, there is a chance that your adsense ads will be blocked by ABP. Not only this, Ad Block Pro also messes with the latest interface change in Google Adsense . Most of the Adsense advertiser were not able to see the interface at all.
How to fix the issue? If you really love Ad Block pro, then simply go to your web address , right click on ABP icon and choose "Disable on ".
And this will hopefully unblock your adsense ads.
If this doesn't work out, Try Disabling ABP all together from addon menu.

Monday, March 28, 2011

Burnedpage.com in parking

I decided to park my domain burnedpages.com
My own wordpress installation was not working as I would have liked. Also it was becoming too cumbersome to manage 3 blogs. With me being busy with college website , I think I will start development for burnedpages.com after 2-3 months.

Another session went past

Its been one year now, this year has moved at a rate that I didn't imagined. Last year I joined Govt. P.G. College Kullu in feb. This session is near closing and I must say I learned so much in past year.
Understanding management skills in college from our beloved Nand Lal Sir ji. Learning SEO , website link building and Internet marketing with  my friend Gopal Krishan.Next month is going to be development phase for college website.  Govt degree college kullu is going to be updated.

Wednesday, March 9, 2011

Blogger having trouble?

Recently noticed that blogger is having trouble. Sometimes the application just crashes and sometimes the things don't work. I have seen some bugs when we use template editors. Not to mention the conflicting bug that arises when the autosave saves your post and you click publish at the same time.
The other day my friend Gopal's Blog got "Wiped " somehow. Like he told me he didn't do anything and his blog http://programminglanguageforstudent.blogspot.com/ just vanished into the thin air. This makes me wonder if it is safe to blog at blogger or not?

Why this blog is called Quantum variables?

Actually there is nothing about it that made it "Quantum Variables". This just shows my passion towards two of my favourite subjects. One is Quntum Physics, other being Programming . And the name sounds really catchy. And thats it.

Rejuvenation: Blogging with flavour

I am going to change the over all theme of the blog now. My blog will contain programming technique discussion only. Other tech stuff will be migrated to Burnedpages.com
I hope I could share some of my programming experience (good or bad). I also have this unusal  way of changing my work environment too. So expect to see discussion of C, C++, Java , C# , PHP, LISP etc.