Sunday, October 12, 2014

My Relativistic Paradox

It’s been a really long time since I’ve posted something on the blog. Blogger tells me my last post was 28th May. That’s nearly 5 months back. As you can guess, a lot has changed in 5 months. NO. I still don’t like my college, but now at least I’m comfortable around some of my classmates. Secondly, I am sort of forced to conclude that I am better off than some of my friends as well, who deserved more but got less, and more importantly who deserved less and got more but still aren’t happy. (Evil Laugh).

Of all the teachers in the college (or university, if that matters), the most cool teacher I find is our physics professor. Well, it’s also possible that I find him cool only because of physics, but anyhow. As many of you may know, the first semester studies include basic engineering level physics. Thus, so far, I’ve studied LASER, optical fibers, mathematical derivations of Maxwell’s equations (ugh!) and of course, relativity. Things can get really interesting and peculiar, particularly if you go down on a very small scale, (quantum mechanics), or you go very fast (General relativity).

With quantum mechanics tackled (or maybe not, because you can never be sure! :P ), I started to focus on the special and general theory of relativity. You all might have heard of the twin sister paradox, where one of them travels through space time and upon returning finds that she has aged less than her twin sister who stayed on earth. Basically implying that time moves slowly for anything moving with any speed. This also implies that someone living on say 4th floor will live longer than someone living on ground floor. The difference perhaps may be less than a nanosecond. As you move faster and faster in space, you end up moving slower and slower in time. For someone moving at the speed of light, time will simply pause. This is the time dilation area of general relativity.

                                  Stephen Hawking on the Grandfather paradox


Then there are two other aspects of relativity, one is length contraction, where a rod of length 1 meter(say) will look shorter and shorter as it gains velocity, until it becomes a point when it reaches c, the speed of light. The other aspect is relativistic mass, where the object gains mass as it gains energy, specifically kinetic energy. Any object moving at the speed of light will have infinite mass. I’m not posting the equations here, as I find them boring.

All these results were obtained by Einstein using a simple postulate that speed of light is independent of the frame of reference that is irrespective of the motion of the source of light. In noob-y words, velocities cannot be added or subtracted to light. Still confused?


Assume you are in a car, moving at 40kmph. You throw a ball forward at 10kmph relative to yourself. To a person standing on the ground, the ball will have a velocity of 50kmph. This is Newtonian mechanics. Simple and intuitive.
Now, measure the velocity of light escaping from the headlamps, and ask the stationary observer to do the same.

Irrespective of the direction of motion of car, and irrespective of the velocity of the car, the speed of the photons emerging from the headlamp will be 3x10^8 m/sec. That’s weird. But that’s nothing.

Assume that there is a train, moving at just 1m/sec less than the speed of light, (.999c, or something like that). What about the light from the engine in front?
I asked the same question to my professor. According to him, since light is independent of other velocities, the light would be there as usual. But according to my view, the light would not be behaving the usual way. If the light is mounted3 meter above the ground, then it would take 3 seconds or less to reach the ground itself, and once it bounces back from the tracks, it will take minimum another second to catch back to the front of the engine, which has already passed over. Another interesting thing may happen if someone on this train sneezes. Since nothing can travel faster than speed of light, the air and the saliva droplets and everything lese would just end up floating in midair. The person might not be able to sneeze at all!

Then my Prof. said that screw the speed being 1m/s less than c. Even if the speed is equal to c, then also light will be visible from the front.


Erm, no. AFAIK, once the train reaches c velocity, time will cease to exist. This has multiple implications. Firstly no one will be able to actually turn the light on. Since doing so would require a certain amount of time, which as I’ve said, just isn’t there. Even if we assume the light was on before the train hit the c velocity, won’t make much difference. Think at a basic level. Bulb glows when current passes through it. Current is basically the flow of electrons. To observe something flowing, you need time. Since you no longer have time, you no longer have electron flow, you no longer have current and thus you will no longer have a glowing light bulb. So this means you won’t see light up front. Right? WRONG!

If you had the light turned on before you hit the speed of light. You will still perhaps see the bulb glowing. Everything will come to a halt. Your heartbeat, your brain, everything. Hence if your brain was seeing light before, it will continue to do so. Photos may keep on hitting you retina, but they won’t be absorbed, because again that requires time, which just isn’t there. I think perhaps that’s not good for health as well. Leaving a paused heart aside, all the photos will tend to accumulate inside your eye ready to be absorbed by retina, as soon as they get the time. Now if the train slows down a bit, time starts flowing again and all the photons will be absorbed directly. Damaging your eyes. Or there is another possibility of photons destructively interfering with each other to produce a null effect.

To someone on the ground, Doppler Effect of light will be observed to the extreme. I’m not going into that partly because this post has already become too complex for many people and partly because I still don’t understand what all can happen.


All this also taught me another lesson. It simply doesn’t matter where you are getting education now. If you have interest and internet (ofc) then everything else just ceases to have value. Perhaps my college isn’t that bad after all. But again, I just don’t care.




Wednesday, May 28, 2014

The Great Indian Bastards!

I’d like to start this post by making an assumption. At a first look to the title of this post, nearly all people from India, would be taken aback a bit. They might find it a little bit offensive. That’s absolutely true. IT IS meant to be offensive! But fear not, it’s not meant to be offensive against every Indian, and I can safely predict that if 100 people found the title offensive, nearly 90 people would agree with me. Provided they read this post completely. And if you still are one of the ten people, then the offence was directed at you.

Random HDR!


The inspiration for this post comes from a national news item I saw around 3 hours back on TV. Apparently, in the new “Modi Sarkaar”, the HRD ministry is now headed by someone who isn’t a graduate. Maybe the minister IS a graduate. Heck, I don’t even care if she secretly has done a PhD, or has an IQ that will make Einstein shy. The more interesting fact is the “Big Question” news debate going on, on national TV!
The question the host asks, and I quote, (sort of):-

“Ok, so let us raise the big question tonight! Should educational qualification be used as a measure to judge the competence of a minister? Joining me now….”

And he proceeds to introduce the guests for the debate.  In my opinion, the debate is simply pointless! Everyone knows that educational qualification, can in no way be used to judge the ability of someone to perform a given task. Well, given that nearly (I don’t have an exact figure) 4 million students, throw away 2 years, or even more, of their life to get into a “prestigious” college so that later on, when they go looking for jobs, they get selected easily due to their apparently better level of education. And nearly the same number of students then prepare for exams like GATE and GRE, more or less for the same purpose of obtaining a better higher level degree. For instance, the C++ language they teach to CSE students in IIT’s is wildly different from the language being taught to the students in relatively lower standard college. The working principle of a 4 stroke petrol engine, being taught to the Mechanical IIT-ans is unbelievably different from the ones which are taught to students of local colleges. In a nutshell, it is extremely important to get admission into a good college so that you learn the “better C++” and then sit inside a 4x4 cubical, coding all day, probably for an MNC such as Facebook or Google. That is EXTREMELY important! And that’s just the stream of Non-Medical. I won’t comment on the situation of the Medical and commerce students, because I personally find it a little offensive to comment on something I have very less information about. But, having observed my friends, I can assume the situation is not too different.

Random HDR 2!

You don’t need any qualification to be the Head of the Human Resource and Development, of a country with a population of approx. 1 billion. That’s just insane! You need advanced degrees in education so that you can code endlessly, perhaps work in a bank, or building model bridges, work and do what your superiors says you to do, like fetching your boss a coffee or some other extremely important jobs students get immediately after graduating from colleges. Who cares if all the education mechanism of a country is headed by a person who “maybe” is a graduate?


If the above passages made you go like “WTF is this guy saying? It’s completely stupid!” you, sir/mam are from the 90 person sample size, and I congratulate you. The reason you thought the above content seems stupid is because it IS stupid! And you have the brains needed to detect the stupidity in it. Unfortunately, the 10 people, who don’t detect this cosmic level of stupidity are the ones who have been running the country and all its major systems for quite a while.

My apologies for going so off-topic. So much stupidity made me forgot that this is primarily a science blog!


This post comes courtesy of (yet another) exam result that came out today, and as usual, it was crap for me. If you are starting to think that maybe I’m dumb, then you haven’t been more wrong previously. And I’m not being cocky. While I was writing this post, I was chatting with my friends as well… friends who also scored poorly in the exams… BUT, friends, who can diagnose an engine problem in a car, who constantly talk and chat with me over topics like cosmic inflation, CMB, Multiverse theory, Why Morgan Freeman is legendary, How do I code my app/phone so that it works/looks exactly the way I want it to look, amongst other things, which I can surely claim that no other “topper” has even the faintest idea about. All these friends of mine just had their self-confidence destroyed like Hiroshima. And it has affected me as well, in a bad way, but not as much as you would expect.

Normal Long Exposure (Midnight)
23 seconds ISO 400 

As we struggle to rise up again, I hope that you all have already risen, and doing what you like to do. Because, if you do something you like, you are axiomatically doing it perfectly. And remember, disappointment is for wimps, start getting angry, even if you have to be angry at yourself!



Until my next results, (sooner than you think!)

Cheers!

Wednesday, May 14, 2014

The Science behind HDR photos


As usual, after the sadness of the whole “Results and Ranks”, comes the period where you really don't care about it anymore. This happens at least with me, and perhaps a good thing for me as well.

This time around, as I've mentioned it before, I took to Photography as a hobby. It took me a while to understand all the basics of photography and I became aware of some of the techniques used to enhance photos. This is going to be a HUGE post, so deal with it. Also, all the photos posted here were captured from my home, yesterday.

Single Photo HDR
Camera EOS 1000D  with GPlus HDR
The original photo straight from SLR
Quite boring, right?



I won't be going into the basics of photography due to the abundance of tutorials available on google, which perhaps will also offer a much better explanation of things. Exempli Gratia, I still don't know the difference in metering modes, although they “seem” to be very important. In this post, I will be talking about the effect which usually results in photos look more like CGI and less like actual images. This is the HDR or High Dynamic Range effect.

The camera (regardless if its a smart phone or bonkers expensive SLR) has a certain range of colors which they can express at a certain degree of exposure. Over exposed images have more detail in the poorly lighted parts of the photo, but a complete washout occurs in the bright part. Underexposure usually results in shadows in the dim lit parts but captures the bright part with much more detail. What HDR basically does is it merges these (usually 3, but can be more) differently exposed images into one single image. For eg, in a scattered cloudy landscape scene, it takes the sky part from the underexposed image, since it has more detail, and the scene part from the overexposed image, which has more detail for the dimly lit subjects, and combines them. This allows for much more range of colors to be present in a single photo, and since we can adjust the range of this “mixing” , we call it High Dynamic Range.

Normally exposed photo of my backyard (sort of)
Here, because of the excessive wind, 3 photo HDR didn't worked well. It resulted in too much ghosting. The app HDR was... well,decent...

Same photo, HDR with Google Plus app


There are softwares, like the Google Plus Photo app, which have inbuilt HDR filter which creates HDR image from a single photo, relying heavily on algorithms and codes. Of course, its good, but its not as good as the real deal, since you can never get the detail of 3 differently exposed photos from just one. Its like the software that converts 2D content into 3D, works, but not that good. However, in cases where the subjects move a lot, like trees swaying in the wind, the single shot HDR is the best way to go, as you would never be able to overlap the images, as explained by the previous set of photos.

Thankfully, nearly all the cameras and smart phones have the option of setting the exposure level, so you can take 3 photos with different exposure and combine them with software. Someone may say that their device has inbuilt HDR mode, especially inside the camera app itself. Well, yes! But, I think that the HDR mode in smart phones isn't that good... and if your device is a DSLR like the EOS 5D MK-III, then shame on you for reading all this, and I will conclude that you are an idiot having more money than you know what to do.

Normal Photo

HDR using Dynamic Photo HDR


What we need to do is that take three photos, in exactly the same position, with exposure -2, 0, and +2. These steps are called stops. So, we need 3 photos, each 2 stops apart. More than 3 also works, but the diff decreases exponentially. Once these photos are captured, copy them to a PC. Now, there are many softwares that can do the HDR effect. The obvious one is Photoshop. Photoshop CS4 and above have HDR command in Files>Automate>(somewhere). There is also one called Photomatix (Professionals only). But the one I use is called Dynamic Photo HDR, which has the advantage of being really easy to use and understand what you are doing and how will it affect the photo, along with the fact that its free! Also the fact that it works with JPEG, RAW, a single photo, and can mimic the HDR effect on videos, makes it perfect for me.

Once again, Photo a normal camera would capture.

Google Plus HDR

Dynamic photo HDR
Probably the best for this set.


The software itself is about 20 MB in size. After loading it, create a new file. Specify the 3 pictures you want to mix, then press the Guess EV button. After a while, you will see a preview of the HDR image. When you proceed, you will be asked to align the images, as the 3 photos will ALWAYS be a little bit different... Use the scrolls to adjust the images (Both sets). If the alignment is way off, use the anti-ghosting feature. (I recommend reading the inbuilt tutorial). When you are satisfied, hit next. After a while, it will say you to “Tone Map HDR”, proceed and start experimenting! Vary the intensity, the colors, the curves, the dynamic lighting, the radius and everything else till you are satisfied with the image. At the bottom right, there is the option to save. 

Standard Camera Click

Google Plus HDR

3 Photo Dynamic photo HDR
Once again the best IMO

HDR photography is a very exciting area. You should try it at least once. BUT, HDR effects work well only outdoors, and that too landscapes. The best HDR effects come where the sky is cloudy, and the sun peeks out. Indoor HDR photos, are very tough to master, but if done properly, can produce radical results. If you want more info on HDR images, the Instruction Manual of the Dynamic Photo HDR has more than enough content, which is super easy to understand, along with adequate theory and tips and tricks.

One more thing, you need brains to figure out if 1 pic HDR will be enough or 3 pictures would be required. Eg:- the first pic of the plane, I obviously cannot take 3 pictures! So single photo HDR, implying the App, would be better. If however the object does not moves, the 3 pic HDR is way ahead of the game.

Trying my 55-250 zoom lens
The TV Tower on the mountain is approx 25 km from my home


Be sure to check out my Google Plus profile for more examples of HDR images. Also, feel free to ask questions and show off your HDR pics to me! I may post some i like here... :)

Good day to all!

Sunday, May 4, 2014

Life As I Know It...

I'd like to start off from where i left the post last time. I was successfully able to answer my own question, with the help of some good folks over at Gplus. And as it turned out later, I had already stumbled across the answer to my question long before I even had thought of it... and that's both hilarious and freaky at the same time.


 Oh, and if you don't understand the comic, don't worry! As I said, even I didn't when I read it for the first time.

 When I found the answer, i was a bit more sad than happy, because i used to think that i challenged a theory which all scientists follow. But that was for just a short while.


Just around two days of the post, the results for the exam for which I had been preparing for the last two years came out, and as usual, i didn't do well in them. In India, these exams are not just exams, they, in many cases (unfortunately) end up deciding the course of a persons life. A bad result in this exam(s) is more than enough to destroy the self confidence of any regular kid, and in most of the cases the parents also start brown-beating them. Due to the low scores or ranks, the students are incapable of getting into a stream of their own choice, a field in which they want to study, and their only options are either to drop the year, and prepare for the exam next year (which stats show is a bad way to go, as improvements are rare and not much), or get a paid seat in a private college, which is not only expensive as hell, but also quite pointless.



This time around, I am the one who is struck in the dilemma of dropping or getting a paid seat. Though I still have a couple of other options as of now, I'm not that interested in them too much. Until the final result is declared, I along with perhaps 70% of the students along with me, have nothing better to do except wait (and maybe prepare for any other entrance exam coming their way), and with each passing day, stress levels increasing, self confidence decreasing, mocking by the “toppers” and inferiority complex settling in their minds. All of this happening just because of the way how these students filled up a sheet of paper in 3 hours, which will end up deciding the quality of lives these students will lead.

As I'm typing this, the other half of our generation, who chose the medical path, is getting ready for something insanely similar to happen with them. All I can do for now is wish them Best of luck.

Good day to all...

Tuesday, April 29, 2014

What I Did for 2 Years... (In Short)

Hello again!

Its been 2 years since I stopped blogging, and MANY things have changed since then, including myself. For example, I have realized that Science and Technology are the only way forward for humans. I no longer believe in religion, and the only thing that affects our lives is what we do. Only our actions matter.

Enough philosophy for now.

I cultivated many new hobbies which include customizing android smartphones. I was quite famous (for a short while) on XDA, as AcedExplorerABL. Then I focused again on tinkering with PC's and now no PC in my home has Windows on it. Also, I found the remaining of my creativity lying hidden in Photography.



Ocimum tenuiflorum or "Tulsi" plant in my Backyard



So, in total, I've been busy doing everything possible (and legal), except studying.

There are many things I have to (and hopefully, will) share with all of you. But the thing I have on the top of my head is just a random thought that came to me while watching Neil DeGrasse Tyson's Cosmos Reboot.

He said that the farther we look in the cosmos, the older the light gets. This comes from the fact that light from the sun reaches us in 8 minutes and some seconds and by extension the light reaching us now, should be around 13.6 billion years old, which is approx the age of the Universe.


One of the type of Photo I'm Dying to Capture

This also can be deduced from the speed at which the universe is expanding, for us. In one second, a distance of 299792458 meters comes into view for us. This is governed by the speed of light, which obviously is the maximum speed limit for our universe.

The statement implies that as we look deeper and farther into space, the light reaching us is older and older. A while back, a friend of mine gave me an animated GIF which said that after pointing the Hubble Deep Space telescope in a dark part of universe and capturing all the light coming from there for 4 months (Implying a shutter speed of 4 months)(OMG), it captured galaxies forming and scientists predicted that the photo captured is approximately "only" 300 million years old from the "Big Bang".



All is well till now. Extending the same argument, that the farther I try to look in space, the older light I see, or simply put, The farther I try to look, the nearer I get to the Big Bang, There must be a place to observe in the universe where if I look long enough (in order to see older and older light), I should see perhaps the universe just about seconds after the Big Bang, or maybe even the "Singularity" as scientists call it.

Even the above stated fact may not be trouble. The problem comes now. Assume that from your home, you look in the north direction, and are able to see singularity, or maybe just a few seconds after the Big Bang. What do you expect to see if instead of North, you looked in the Southern Sky? Surely you cannot see the Big Bang in the south as well,  because you just looked at it, and it was in the North part of sky, and Big Bang postulates that the universe started from a single point (Singularity).

When I shared this paradox with one of my friends, he said that if the Universe started from a single point, and resulted in the current state, then we should see the big bang unfolding, anywhere and everywhere we look, in the sky, Given that we look long enough...  Like the 4 months of exposure. This implies that the starting point of the Universe, which of course is only one (According to Big Bang) should be scattered everywhere in the Universe and should be visible in any direction of the night sky, (with proper equipment,obviously).



This question has stumped me for quite a while now. There is an excellent chance that one of the assumption that I have made is wrong. After all, I have yet to join a college! If anyone is interested to discuss this "Theory", or has any doubts related to this post,be sure to comment and let me know.

Good day to All!