Skip to main content

Posts

এক যে রানি | Once Upon a time there was a Queen....

এক যে রানি বহু কাল পূর্বে গৌড়বঙ্গে দোর্দণ্ডপ্রতাপ সম্রাজ্ঞী ছিলেন। তাঁর এক সভার বিবরণ। প্রাচীন পালি থেকে অনুবাদ করতে কিঞ্চিৎ গুলিয়ে গেছে। চন্দ্রিল ভট্টাচার্য মোসায়েব১:  হুররে রানিমা, হুররে! বইমেলাকে আরও চার দিন বাড়িয়ে দিলেন! তেরপল-ওলা আর সিড়িঙ্গে কবিরা ধন্য ধন্য লাগিয়ে দিয়েছে। মোসা২:  কী আবিষ্কার! কলম্বাসের বাবা! বইমেলাকে চার দিন, দুগ্গাপুজোকে ১৮ দিন, ভাইফোঁটাকে ১৪৩ দিন বাড়িয়ে দিলেই রাজ্যে আর নিরানন্দ বলে কিস্যু থাকে না! বোকা:  ঠিক ‘চার’ দিন বাড়ালেন কেন? পাঁচ কেন নয়? সভাকবি:  আরে গাধা, চারে বেদ! চারে চার্চিল! চারে চার্লি চ্যাপলিন! আর, কালচার-এর ন্যাজেই তো চার! মহারানি:  বাহবা! এই একে এ বছর একটা বিভূষণ-টিভুষণ কিছু দিয়ো তো! দূত:  ম্যাম, ম্যাম, তাজা খবর এল: পার্ক স্ট্রিটে ধর্ষণ, বারাসতে গণধর্ষণ, সামতাবেড়েয় ধর্ষণ, মধ্যমগ্রামে গণধর্ষণ, নিশ্চিন্দিপুরে ধর্ষণ— রানি:  বলিস কী? এক দিনে এতগুলো সাজানো ঘটনা! সংস্কৃনারী:  দিদিমুনি, এরা কিস্যু বোঝে না, মধ্যমগ্রাম আর পার্ক স্ট্রিটের প্রেক্ষিত আলাদা, বারাসত আর সামতাবেড়ের প্রেক্ষিত আলাদা, প্রেক...

Installing PHPUnit+PEAR in Ubuntu 12.10 and Overcoming the "PHP_CodeCoverage_Filter::getInstance" Fatal Error

PHP was one of the very first languages I learnt on my way to the world of web dev/design and it still is a very strong tool in my Swiss Army Knife for any web based projects. In recent times however with the advent of various frameworks I started to realize finally my days of painstaking coding is over and I now can finally work on my small-medium sized applications with minimal effort needed for testing.......how wrong I was. When introduced to the world of testing I started to realize how inefficient and poor my coding standards were also how terrible they were in terms of maintenance. Also the flaws I started to find in my old projects urged me to unit-test my newer ventures. And I found the gem called PHPUnit There are three ways of installing it in your dev box (Assuming Ubuntu) Install Through PEAR Install Through Composer Install using standalone PHAR file And as a loyal user of PEAR I straight went to PEAR and just typed the following command which is su...

And the NEXUS 10 is here

As you’ve no doubt already heard, Google is planning to unveil some  new Nexus-branded goodies on Monday . LG’s Nexus 4 smartphone has been examined in what seems like excruciating detail already, but now leaked images of Samsung’s Nexus 10 tablet (obtained by  BriefMobile ) have begun to make their way ‘round the web. An earlier leak of the Nexus 10’s instructional manual gave us a rough sense of its size and dimensions, but these new images add some much-needed context. First impressions: it’s actually pretty ho-hum in terms of industrial design. There aren’t enough photos floating around to form a really clear impression of the hardware, but (in usual Samsung fashion) it looks awfully slim and more than a little plasticky. The front-facing speaker placement is one of Samsung’s preferred (and rightly so) design choices. Most concerning is the patch of textured material running horizontally across the tablet’s back. Samsung seems to have gone for the same aesthetic as t...

XML parsing and Python: the lxml way

Today I was tinkering with an idea involving parsing a Html file by taking an XML structure and building a simple xquery engine in python. I know...most of my "World changing ideas" finally end up on my unfinished/fragile Github Project category. But knowing how it's gonna help me in long drive I tried to give it a shot anyway. And this is when I discovered  lxml  and immediately fell in love with it. But rather going to the intricacies I'm gonna share how simple it was for me to pars an xml file with it. First, we'll make sure we have everything in place. Things we need lxml Yeah...that's kinda only thing you'll need :) (and of course Python!!!). If you are sing Ubuntu or Xubuntu (like me) then just goto synaptics package manager and install it. Or get it from the website if you are gonna tinker in windows. Now, let's assume that we want to parse a xml file named 'file.xml' with the following content: ...

The Ammazing iOS6 Maps

omg: somebody painted the landscape in white. Three types of image quality in southern switzerland. The Helsinki Central Railway Station has magically turned into a park Helsinki’s biggest open-air marketplace (Kauppatori) has also been magically been turned into a park (along with a bunch of other marketplaces)   Walking across there seems like fun… Apple thinks that much of the east side of Portland, Oregon is a nature park New Orleans famously misplaced Crescent City Connection bridge, otherwise known as the Greater New Orleans Bridge to no one New Orleans famous Huey Long Bridge now available at Home Depot Apple seems to have left out half of one of Southeastern Europe’s biggest tourist destinations Apparently Belgrade, Serbia has no rivers

The new iOS6 Maps....And how they fare to Google Maps

We just had the grand release of iOS6 and with it the new Apple Map (yes...the one apple cooked up after abondoning Google Maps). But it seems they were in a little hurry with it. Just see the images below and please do come back with what you think ;) The Williamsburg Bridge in New York like you've never seen it, thanks to Apple's new map app.  New York's Manhattan Bridge in Apple Maps on iOS 6. The road to the Hoover Dam on the Black Canyon of the Colorado River, between Nevada and Arizona seems to take a sudden drop. In Punta Arenas, Chile, not only are highways duplicated, but they are even build out over the water. A side by side of the Cayman Islands, showing the difference in detail between Google Maps and Apple Maps in iOS 6. There are many more of these examples sprawled acroos the net So What's your take on this?

Mamata Declares Herself to be Maoist : Anonymous...or is It?

I am sure most of you who is reading this post already know what happened on 14th August. 14th August night at 07:00 P.M IST aitmc.org (the official website of All India Trinamul Congress) was hacked (Wait I didn't say by who/whom). On Aitmc's site there is a place where the chairperson (Mamata Banerjee) expresses her views. On 14th night a new message appeared from the CM which went like below. " I AM A MAOIST at heart and always have been, It always pained me to speak and act against the ideology that I myself loved so much. I also appologize to the people whom I have hurt, The artist who tried to speak the truth, the writers who saw the right thing and every and any person who tried to tell me I was going in the wrong direction, I am at your feet asking you to forgive me for the misguided acts I have done In life " Well there were more but you get the point. The full statement can be seen in the below screenshot A full dump  can be seen here  htt...