RationalSpace

Remember Me

leave a comment »

“Remember me when I am gone away,
Gone far away into the silent land;
When you can no more hold me by the hand,
Nor I half turn to go yet turning stay.

Remember me when no more day by day
You tell me of our future that you plann’d:
Only remember me; you understand
It will be late to counsel then or pray.

Yet if you should forget me for a while
And afterwards remember, do not grieve:
For if the darkness and corruption leave
A vestige of the thoughts that once I had,
Better by far you should forget and smile
Than that you should remember and be sad”.

~ Christina Georgina Rossetti

Written by rationalspace

October 27, 2016 at 4:23 pm

Posted in Random

Farid

leave a comment »

​वेख फरीदा मिट्टी खुल्ली, (कबर)
मिट्टी उत्ते मिट्टी डुली; (लाश)

मिट्टी हस्से मिट्टी रो​​वे, (इंसान)
अंत मिट्टी दा मिट्टी होवे (जिस्म)

ना कर बन्दया मेरी मेरी, (पैसा)
ना ऐह तेरी ना ऐह मेरी; (खाली जाना)

चार दिना दा मेला दुनिया, (उम्र)
फ़िर मिट्टी दी बन गयी ढेरी; (मौत)

ना कर एत्थे हेरा फेरी, (पैसे कारन झुठ, धोखे)
मिट्टी नाल ना धोखा कर तू, (लोका नाल फरेब)

तू वी मिट्टी मैं वी मिट्टी; (इंसान)
जात पात दी गल ना कर तू,

जात वी मिट्टी पात वी मिट्टी, (पाखंड)
*जात सिर्फ खुदा दी उच्ची,

बाकी सब कुछ मिट्टी मिट्टी*

Written by rationalspace

October 27, 2016 at 4:21 pm

Posted in Random

Optimising CSS

leave a comment »

Great post on optimising CSS

Written by rationalspace

February 17, 2016 at 4:25 pm

Posted in Frontend, Performance, UI

2015 in review

leave a comment »

The WordPress.com stats helper monkeys prepared a 2015 annual report for this blog.

Here’s an excerpt:

A New York City subway train holds 1,200 people. This blog was viewed about 3,900 times in 2015. If it were a NYC subway train, it would take about 3 trips to carry that many people.

Click here to see the complete report.

Written by rationalspace

December 30, 2015 at 10:18 am

Posted in Uncategorized

ChakrVyuh – beautiful poem in Ardh Satya

leave a comment »

चक्रव्यूह मे घुसने से पहले
कौन था मैं और कैसा था
यह मुझे याद ही ना रहेगा

चक्रव्यूह मे घुसने के बाद
मेरे और चक्रव्यूह के बीच
सिर्फ़ एक जानलेवा निकटता थी
इसका मुझे पता ही न चलेगा

चक्रव्यूह से निकलने के बाद
मैं मुक्त हो जाऊँ भले ही
फ़िर भी चक्रव्यूह की रचना मे
फर्क ही ना पड़ेगा

मरुँ या मारू
मारा जाऊं या जान से मार दूँ
इसका फ़ैसला कभी ना हो पायेगा

सोया हुआ आदमी जब
नींद से उठ कर चलना शुरू करता हैं
तब सपनों का संसार उसे
दुबारा दिख ही नही पायेगा

उस रौशनी में जो निर्णय की रौशनी हैं
सब कुछ समान होगा क्या?

एक पलडे में नपुंसकता
एक पलडे में पौरुष
और ठीक तराजू के कांटे पर
अर्ध सत्य

Written by rationalspace

October 6, 2015 at 5:51 pm

Posted in Random

TIME_WAIT and netstat

leave a comment »

Good blog explaining TIME_WAIT & netstat

http://antmeetspenguin.blogspot.in/2008/10/timewait-in-netstat.html

Written by rationalspace

July 2, 2015 at 4:41 pm

Posted in Uncategorized

Sharing videos to play embedded within Facebook

leave a comment »

So you have created good video content and have put it up on your website. How do you make it shareable on facebook?

Well, you can put a share button that facebook provides and the appropriate og meta tags on the page. Here is a set that facebook tells us to put in the page.

Now, in a typical scenario where you might have put your videos on Amazon S3 or your own Server, then clicking on the facebook share button will share the page of your website on which the video is embedded. It will not really embed the video in the news feed of facebook. Embedding in facebook news feed is much more useful as the users can click there itself and play the video. He need not go to one more page and again click play there. So the chances of your content going viral is more if the video that we share on facebook plays there itself.

This basically requires 2 things:

  • All your videos should be hosted on a secure URL i.e a URL starting with “https://” . Now you can get this done by applying for an SSL certificate for your website and enabling that on your server. However, if you are on Amazon AWS, you can do this very simply by using “Cloudfront”. You can create a cloudfront distribution – choose the S3 bucket that stores the videos and configure it.  Cloudfront by default gives an SSL certificate. Cloudfront does not give us very pretty URLs but then it suffices for the purpose of sharing. Also make sure that you have selected support for both HTTP and HTTPS on the cloudfront.
  • You also need a “SWF” / Flash player. Also this player should be hosted on the same S3 bucket which is behind the secure cloudfront. Basically, the flash player URL also needs to be secure. I used flow-player SWF  for this purpose but you can use whatever you like.

Here is a working demo.

Written by rationalspace

April 27, 2015 at 5:45 pm

Posted in Frontend, Social Media

Tagged with ,

%d bloggers like this: