Sunday, 6 September 2015

New Kids on the Block

Recently wired.com carried an article that showed how Facebook's developers  turned to a 25 year old language Haskell to improve their anti-spam solution. The article turns the spotlight on a few new (..and old) languages that are being used to solve computing problem that mainstream languages like Java, C, C++ etc are unable to address satisfactorily. One of the worlds most efficient messaging application WhatsApp is written in a little known language - ErLang but that's another blog topic.

http://www.wired.com/2015/09/facebooks-new-anti-spam-system-hints-future-coding/

Useful Links

Just thought of using this post to collect all the useful links that I encounter as I research various aspects of technology. These are links that I read through and personally find quite helpful.

Hope it helps.

Inspiration


Digital Transformation


Data Lakes, Analytics etc

https://itnext.io/hydrating-a-data-lake-using-query-based-cdc-with-apache-kafka-connect-and-kubernetes-on-aws-cd4725b58c2e

SEO (Search Engine Optimisation)

Multitenancy








https://www.oreilly.com/radar/how-architecture-evolves-into-strategy/


EA

https://eapj.org/the-many-lies-about-reducing-complexity-part-2-cloud/

Java Articles




Miscellaneous




Cloud





Microservices















Containers





Data Analytics


Serverless





Sunday, 24 May 2015

Monaco GrandPrix 2015 - A wrong Arrow from the Silver quiver!

Mercedes got it all wrong in the last 8 laps and tied themselves up in knots. If not, the heading would perhaps have something to do with an adventurous 17 year old named Max Verstappen.

The start of the race had a bit of promise, with Nico having being edged out of pole by a mere 3 tenths of a second tried to make amends by challenging Hamilton into the first corner. However he had to back off to defend second position from an opportunistic Vettel trying to slot in through the outside.

Hulkenberg was shouldered out by Alonso and Massa too had an incident at the back of the grid. And all was calm. The Monaco track lived up to it's reputation of being notoriously difficult to overtake. Ferrari tried the undercut on Mercedes by pitting Vettel early but the Silver team proved to be alert and covered it nicely to retain track position for Rosberg. And all was calm...that is till a young gun named Max Verstappen decided to put on his thinking cap and try to make it into a points scoring position.

His strategy was simple. As a back marker he pasted himself to the rear of Sebastian Vettel's Ferrari as it lapped other back markers. As the back markers moved aside for Sebastian coming through, Vestappen followed Vettel to make up a position. By the time the fellow racers realised what was going on he was through in Sebastian's wake. A couple of positions were made up in quick succession. However Renault warned Grosjean on what was transpiring. Grosjean cleverly used the Grand Hotel haripin to let Vettel through and prevent Vestappen from following through. On the softs with newer tires Vestappen was much quicker and looked set to pass Grosjean. On the start straight, he sold Grosjean a dummy to the left and jinked to the right and tried to pass Grosjean on the inside. Grosjean held his line and braked a bit early with disasterous consequences. Vestappen barged straight into the right rear of Grosjean destroying his front suspension and crashing into the barrier at over 200kmph. Luckily he wa able to climb out of the car and walk away. A thin line between a hero and a zero.

However this guy is someone to watch out for with a very intelligent and mature head on his young shoulders. A definite future champion.

In the ensuing safety car period Mercedes suddeny decided that with a 21 second gap it would be a good idea to pit Hamilton. However this meant that Nico and Vettel were handed first and second on a silver platter. As Hamilton joined  the grid both leading cars passed him.

The race ended in the same order. The championship is now closer with Hamilton's lead whittled down to 10 points. Now if only Ferrari's promised upgrades mount a mighty challenge to the Silver Arrows and we would have a stunner of a season!!

Sunday, 12 April 2015

The Chinese Connection

The Chinese Connection

With the safety car being pulled into duty on lap 54 of a 56 lap Chinese GP, the end of the race was bit of a anticlimax. However other than Hamilton suffering a hot butt (literally as his seat was inexplicably heating up!!) the race was pretty standard fare.

It was a standard day in office for the Silver Arrows. After locking down the front row post qualifying, the duo of Hamilton and Rosberg were never challenged. Hamilton crucially controlled the pace in the second segment of the race going slow enough to aggravate his team mate but doing so meant that he preserved enough life in his tyres to ensure that he could up the pace as needed which he did by posting the fastest lap times just before his second pit stop. In the process he built up a 6 second gap from his team mate. Rosberg did not seem to have any moves to mount a serious challenge. He was also kept on the straight and narrow by Sebastian Vettel who kept the gap close enough to capitalise if his fellow German compromised his tyre strategy by attempting to challenge the leading Mercedes.

Ferrari tried the undercut using Vettel at the pit stop but was unable to work their magic as in Sepang with Merc seemingly wiser in the third race of the season. Towards the last few laps of the race a scintillating battle between the Ferrari teammates seemed in the offing. Raikkonen had tyres that were 4 laps newer then Vettel's and was reeling in his team mate at a steady pace. But any hopes of seeing a Vettel-Raikkonen match up were dashed by the safety car coming in at lap 54 with two more laps to go and staying till the end, on account of Vestappen's engine blowup. It was an unfortunate closure to what had been another stellar piece of racing from the young gun.

Alonso did what he usually does, putting in a fantastic last segment on soft tyres to reel in his team-mate Jeson Button who was having a right tussle with Pastor Maldonado. Fights with Maldonado rarely seem to end well with Jenson tagging the back of Maldonado's car sending the Venezuelan into retirement. Having being close enough to the two to get tangled in the mess, Alonso kept his nose clean to make up two places. Jenson was lucky to be able to finish the race. Hope to see Alonso get back to achieving great results with mediocre cars. The incident was to be investigated after the race.

In the end it was a one two for the Silver Arrows followed by the Ferraris of Vettel and Raikkonen. After three races the team order seems to be Mercedes followed by Ferrari, Williams and Sauber. Next week Bahrain after which the show moves on to Europe where the team order will be really shaken down.

Sunday, 29 March 2015

The horse prances at Sepang


German precision and Italian passion.

Ferrari is back. Mercedes tripped over their strategy or rather the lack of it. The safety car also helped Ferrari. But that takes nothing away from what Ferrari achieved as a team. As they say luck is where preparation meets opportunity.

Amazing what changes over a span of two weeks. After the race at Melbourne the f1 fratenity was in a tizzy on how strong Mercedes was and how their domination would be bad for the sport. Even the drivers at Mercedes seemed apologetic about it. Fast forward to Sepang, we had a Ferrari split the Mercs in qualifying and go on to put together a brilliant race to finally take the chequered flag. And what a race. 16 laps left and 13 seconds behind, Hamilton had a chance if it had not been for the decision to put on the hard compound for the last stint. What was required was 1.42.7 which was a tough ask from the hard compound even with the talented hands of Hamilton guiding them. 

Ferrari's decision to stick to their two stop strategy and stay out during the safety car period proved to be spot on. Harks back to the inspired strategies at Ferrari during the Ross Brawn era. The 2.4 second pit stop gave Vettel a chance to come out just behind Rosberg and build a 23 second gap over Hamilton when the Mercedes driver pitted for the second time, which equates to the time needed to pit and come out without losing track position. Lewis being Lewis whittled the gap down to around 19 seconds to ensure that he gained track position when Vettel pitted for the second time. But even with a relatively slower 3 second pit stop, Vettel's race pace ensured he came out just ahead of Rosberg and around 9 seconds behind Hamilton who had one more pit stop remaining. However having used their softer compounds during qualifying, Mercedes put out Hamilton on the hard compound which just did not have the pace required to reel in the leading Ferrari.

Lost among all the action at the front was Raikkonen who rounded out the top four positions. Starting 11th after a spot of bad luck in qualifying, a puncture in the race pushing him dead last, he put together a superb drive to finish 4th and complete a very successful weekend for Ferrari. Misfortunes aside he may have made it two podium steps for Ferrari. 

It was a strong comeback for the sport as well with a very close fought race up and down the order. Be it the young chaps at Torro Rosso out classing their seniors at Red Bull, the close fights between Force India, Lotus and the Red Bull, the fights between the Williams drivers the race never had a dull moment. A word in for Max Verstappen - who came in for a lot of flak for being introduced into F1 at such a tender age. Over the last two races he has shown what a good pair of hands he has, indulging is some close wheel to wheel racing with Valtteri Bottas. F1 is tough politically and if he has the head to deal with all the mind games, I think we are looking at a future world champion in the making. The talent is definitely there.

McLarens did better but still have a long way to go before taking the fight to the leaders. The races in Europe will be the ones that separate the men from the boys and confirm whether Ferrari's form is enough to beat the Silver Arrows. Here's to what looks set to be an awesome season of racing.

Tuesday, 24 March 2015

10 Java Articles from JavaCodeGeeks

JavaCodeGeeks had an interesting collection of Java articles. Read them at - http://www.javacodegeeks.com/2015/03/10-java-articles-everyone-must-read.html

Sunday, 22 February 2015

Driving the Hyundai Grand i10 AT




Released in India in 2013, the Grand i10 with it's mature styling that has enough interesting elements to add the required pizzaz to the design still sells in commendable numbers, regularly featuring in the monthly top 10 in terms of sales numbers in India.

At the time of it's launch, I was hunting about for an automatic for my wife. The Honda Brio was too expensive and the Suzuki A-Star too small to be used for anything more than the office commute. I had zeroed in on the Hyundai i10 AT when the Grand was launched. However the lack of an AT option at that time , meant that I dropped it from my list. However the build and the quality of interiors did impress me when I took a quick look inside.

Forward to 2015 and I was evaluating an AT option for one of my relative. Now the situation was reversed. The Grand has an AT option and the regular i10 does not. More than the space and overall capability of the car, I was interested in checking out the performance of the AT version.

The Grand i10 AT is available in the top end Asta spec only. This fully loaded version has keyless entry, electrically folding mirrors, turn indicators on the wing mirrors, automatic climate control among others.

Stepping into the vehicle brought for the test driver, I was immediately wowed by the quality of the interiors. Every touch point had a feeling of quality and the fit an finish was spot on. You could easily be mistaken for being in a car a segment or two above. Definitely miles ahead of the regular i10 which was a trendsetter in it's class when launched.

The Grand i10 uses the same 4 speed auto box that first saw duty in the venerable first generation Santros. Using the box in my i10, I can attest that it is is leagues behind the current crop of AT boxes. It does the job and that's about it. The extra horses in the 1.2 Kappa ensure that the blunt transmission is masked to a certain extend. But in the Grand i10, Hyundai has also added an additional gate which allows you to use the gear box in a trip-tronic mode...tipping forward to go up the box and down to go down.

Slotting the gear box into Drive and moving off, the car immediately felt composed and solid. The suspension has a new found maturity and composure, with a good balance between ride and handling. Of course being a Hyundai the suspension tilts towards the softer side but not in a way that creates an unsettled ride like in the i10, i20 and the Verna a generation before.

A little into the drive I checked out the tiptronic function. The i10 has an O/D switch on the gear lever, that ensures that the gear box stays a cog lower than what it normally would select. This helps in overtaking but the triptronic feature is much better in this regard. As you slow down the box automatically downshifts (if you don't) in this more, but holds the gear for upshifts. However for a quick overtake the engine turns raucous and  feels fizzy. Progress is quick though and get the job done for a reasonably quick overtake.It's a step forward but Hyundai seriously need to bring in a good 5 speed auto to replace this box.

Interior space is very good with rear legroom matching if not better than premium hatch a segment above. Boot space is adequate for the size of the car.

Fuel consumptions is a serious archilles heel for this box and in the i10 it gives you figures close to a BMW 5 series petrol in the high single digits and lower double digits (8 - 12 kmpl) especially if driven with anything more than a light foot. In a heavier Grand i10 I don't expect this to improve by much even with the recently improvements that Hyundai has made in engine efficiency and tuning of the 1.2 Kappa.

This is a car that you would go for if you were looking for a small hatch with excellent interior quality, space and features, a good design and decent performance trump over the requirement for a good mileage.