Skip to main content

Posts

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...

Testing In Python...and my Two cents

The only lesson I have learned in mys past one and half of years of experience in testing is that the easier I make writing and running tests for my programs, the faster I can produce bug-free software. Being a developer and also being a tester can do wonders I think. Never before this thought would have crossed my mind while coding. That is why I start most projects nowadays with two pre-baked files:  main.py  and  tests.py . With this setup and tools like  Nose , testing code in Python for me is nearly pain free. Recently however, I notice one aspect of the  unittest  package in Python's standard libary drives me absolutely crazy: Why is there no simple method to run a single test case from within an interactive python shell? As developers, this is important because if we are going to make writing tests an integral part of our development workflow, one needs some way to actually run the damn test without dropping out of our Python session...

Building Blocks of My First Native App

A few months back when I was at the NASSCOM Tech-Unique (yes the second version of the It-NIketan where I had to deliver a speech last time) it seemed the event mostly centered about how Mobile Web is emerging and how we should embrace it. In the discussion there we several interesting points raised and people started dragging PhoneGap in. While this was a very interesting topic, it disturbed me for certain reasons. I raised my worries, and unfortunately the speakers or the panel couldn't come to any solutions. So I am still at a loss for the cons of this method. Nevertheless I decided to put my mind out on the matter. I consider myself well-versed in web development, and I was excited about the features that PhoneGap brings to web apps. Going the HTML5 web app route seemed like the most sane route. Pros You don't have to learn any new languages if you're already a decent web developer It's very quick to prototype Though we didn't end up using it,...