Posts

Update on the Hero Duet Vx

Well, last I talked about it was when it's battery got discharged due to lack of use and severe cold. Since then we took it to a Hero Authorised Service Center. The guys there charged it overnight free of cost. And it's been running well since. The odo reads 800KM to date and we will get it serviced by 1000KM for second free service.  Lets see how it goes. 

Got the Raspberry Pi 3 Model B

Image
Update: Received Portronics 5V 2.3A power adapter and the case too on 9/1/2017. Got Raspberry Pi, Samsung Class 10 16GB sd card and a HDMI cable. Still waiting for the power adapter and pi case. Excited times ahead!!!

The case of our new Hero Duet and it's disappearing odometer

So we bought a new scooter couple months back. We bought it at my hometown because we don't have the necessary papers here in city. It's been sitting at home for a while and its winter these days. So the battery died. And we didn't have enough time to get it fixed, but we had to ride it to city. So the odometer disappeared and it kept coming back for a while but when the charge dropped it used to vanish. And it was all hilarious!!!! Well to start, we (me and wifey) did not have any vehicle of our own. I never needed one and she never got hold of one. So few months back we decided to get one since we need it for moving around the city and travelling in buses is atrocious - costly and irritating due to all the small walks you need to do here and there. So we asked around but the paperwork was stuck here and there. Wifey decided to buy one at our hometown. She goes there couple months back and buys one - a Hero Duet 110cc scooter cost us about INR 64,000/-. Good deal. Then it...

Happy New Year 2017

Wishing you all a very happy new year!!! Wassup for new year? I have just ordered a Raspberry Pi 3. So some tinkering with that. Maybe setting up a Digital Home Theatre - since I'll have all the components - a low power CPU in form of the Pi 3, wireless KBD Mouse - already have these, a display - going to buy at least 18.5" panel, and speakers - the 2.1 Sony's shall suffice. That's looking like good deal.

Cyclomatic Complexity and C Code

Cyclomatic Complexity refers to the code complexity and the relevent threat level of code having bugs. It's measured as counts and the range is generally 1-10 good - very less possible bugs, 10-20 average - few bugs possible, 20-30 High threat - high number of bugs possible due to high complexity, >30 is very dangerous with very high number of complex bugs possible. Generally a program counting the Cyclomatic complexity goes through the code and counts the various conditions, branches, go to's etc. Then by counting the edges of code flow graph w r t nodes, the CC count is calculated. What I have to do with all this? Basically in my current organization we have CBA - continuous build automation facility which produces nightly builds of all projects. It also performs linting, static code analysis and produces various red/yellow etc flags for code quality issues. Recently a red flag was seen in a feature I halped integrate. This is a third party component, but since we integrat...

Thinking about getting a Raspberry Pi 3 to use as Living Room Computer

Well, I have a laptop for home use. But it's got kind of cramped feeling when using it for media consumption - because mainly that's what we use it for. Basically I have an external HDD to which I dump whatever media I get my hands on. This is then used on the laptop. So I'm looking at a setup which is cost effective and at the same time let us do the TV thing with external HDD and also lets us do bit of browsing for news etc.  Recently I purchased a Logitech MK215 wireless Keyboard Mouse combo and it's made this setup much better. So now I'm thinking of shifting to bigger display - at least a 18.5 - 24" monitor. The problem is connecting laptop to this will just make the laptop work as desktop and it's not good for battery. Also it gives us a tangle of cables plus the space used. Then there's the screen switching between external and internal display. So it's not just the ideal setup. What I want is a low power one box solution that will let me pla...

My views regarding smart phone purchase

Many of us are routinely looking at buying yet another smart phone and there are so many options out there, so many features, combinations and different hardwares, it becomes challenging. Looking at the available choices it can be frustrating at times - especially for people looking to buy an Android phone. There are some people who want an iPhone. New buy is simple for them. If you have the budget go for the latest and greatest from Apple. Otherwise settle for one or two gen older iPhone. You know what you are getting. You want it so you take it with all the shortcomings or the lack of features there-of. They spend considerable amount on phone and get something that can be very fulfilling for them. Next are people who are looking for just calling and light games-entertainment. They usually have budgets from INR 5000 to 10000. And from options front they have Androids only. The entry level androids are quite limiting in hardware/features and overall performance. But they can be good va...