The New MCB Internet Banking Website 2016

After logging in through the usual Internet Banking link, I was asked to choose a new password after which I was in the new web interface.


It definitely looks better than the previous interface which had a long long menu bar. It feels very light and minimalist.


However I am still facing a hard time accessing my Prepaid Card dashboard that is still dependent on flash; meaning it can’t be used on Macs and Linux unless you have flash plugin installed.

How did you find the new internet banking portal? How is it compared to other internet banking in Mauritius like SBM or HSBC etc?

Attending Front-End Mauritius Meetup July 2016

“A reasonable coding approach to CSS and Sass”

Umar presented some of the “best practices” in the CSS universe; some of which stirred some religious debate e.g. the usage of 2 spaces vs Tabs for indentation. Yusuf, a backend PHP developer, pointed out that in the PHP community, the latter have coding standards known as PSR (PHP Standards Recommendations) which is widely accepted. CSS does not have such widely accepted standards. However attempts are being made have to formalize the standards as David mentioned. I forgot the github name of the project.

Anyways, I am of the opinion that if you are following a coding standard, try to stick to it after deciding on which standards you and your team are going to use.

Another point which I remember is to NOT use CSS #Id Selectors and it makes total sense. The reason is pretty simple to me. Good programmers write code in order to cater for most scenarios. Ids can be used only once on a page. Let’s take for example a “single post page” in a blog. You know very well that only 1 post is going to be displayed on a page

#post {
  background-color: red;

 <article id="post">


.post {
  background-color: red;

 <article class="post" id="post-15">

Why you should opt for the second option is that when you have to write the front-end for search page etc, you can just use the class .post without problems as many articles can appear. But during the meetup, maybe I should be replacing the post id using -data* stuffs. Gotta read more on this.

What to remember here is, never ever use # in CSS unless working with form input as per what Sundeep said.

“Vue.js Jumpstart”

Humeira introduced us about Vue.js. I used it previously. Simply love the simplicity and the level of laziness it allows developers to have. However Vue.js is a relatively new technology and I guess it’s pretty normal for big corporations to not use it in production at the moment. As time goes by, I hope Vue.js really takes off in terms of popularity thus gaining stability.

Vue.js, to me, is awesome because it allows me to concentrate on the logic of data objects  in JavaScript and I don’t have to care about the UI views. I know it would simply update itself to reflect the state of my JavaScript object. I just love declarative type UIs.

“Le futur, c’est maintenant avec CSS4”

David explained the differences between a CSS preprocessor and CSS postprocessor. Maybe I might not have yet fully grasped the differences right now but from what I can understood, preprocessors convert .sass or .less to .css. Postprocessors take plain .css augmented with new unsupported attributes by browsers and compiles it into plain .css which are supported by most browsers. Anyways, I think this topic is too advanced for me right now.


Photo stolen from David

Much more happened at the meetup but this writeup is all about what struck me personally. I’d recommend you to attend future meetups so as to be able take part in the interesting debates and be up-to-date with latest front-end techs 😉

Let Mauritian people afford new Tyres for less accidents!

Foreach Rs 2000 I earn over 21,923, Rs 300 will be deducted under the PAYE system [1]. The remaining Rs 1750,  Net Payment, which will be credited into my bank account. Should I decide to purchase let’s say 1 tyre for my car at Rs 1200 + VAT/Tax. I need to pay Rs 1380 (Rs 180 as VAT/Tax). But wait! Is that it?


Let’s see what the the MRA website says about Tyres [2].

Screen Shot 2016-07-25 at 9.55.09 PM

What do I see there? There was already a 30% duty/custom charges on it. Meaning about Rs 277 was already Taxed upon it by Government.

In order to change 4 tyres on my car, I need to work for a whopping Rs 6494. PAYE will cut Rs 975 on my salary slip. I will pay 15% VAT for 4 tyres totaling Rs 720. 30% Duty/Custom Charges totaling Rs 1107. In reality, It would have costed only Rs 3692.

Do you find it OK to have to work for Rs 6494 to buy things which are priced at Rs 3692. And that thing happens to be primordial for road safety?

And it’s not over. I need to pay Rs 3500 yearly as Road Tax. Meaning I need to earn Rs 4117 (15% PAYE). Rs 1200 fitness for twice a year, need to work for Rs 1412. Not counting yearly insurance, levy on fuel and so on.

Hey Mr the Government. Instead of putting bullshit policies around, let the common people use their hard earned money to maintain their cars properly instead of paying you to use shitty roads. Buying new tyres is NOT a crime but rather should be encouraged for safer roads.

BTW, there is a petition to remove Custom Charges on new cars which have engines less than 1600 cc. Please sign here:

NOTE: I am not a financial expert. I am just a citizen of Mauritius browsing the internet.






Anil Bachoo vs Anil Gayan

Anil Bachoo vs Anil Gayan

One thing that stroke me in this post in this:

“I believe these people are governing from their comfortable office and cars far from the reality of our society.” – Anil Bachoo

Well Mr Anil Bachoo, you’re completely right about this. I guess you lots of experience in this field right? huh!

What did you do when National Transport Corporation was reporting “losses”? Instead of finding the root of the problem and find solutions, you just increased bus fare for “ti-dimounes” by Rs 2 for each travel while you continue to drive in your BMW with police escorts.

It’s really hard to compare whether the current government is shitter than the previous one. I don’t want this aging,money-minded fleet of politicians to tell us what to do. I’m fed up of you all MSM, MMM, PTR, PMSD et al.

More Money to Mauritian Parliamentarians.

We, the people who make the salaries and allowances of “honorable” parliamentarians, got Rs 150 increase in our salaries as “compensation” [1].

Mauritius Compensation Rs 150

When parliamentarians decide to give themselves more of our hard earned money. We, the ones who i remind make the salaries of parliamentarians, can’t do anything.

The “opposition” only puts a motion to diminish the increase of salaries of parliamentarians [2].

What we, the Mauritian people, actually want is to reduce the salaries of parliamentarians.

But no one gives a shit. We voted to replace dictatorship with ‘dictatorship’ [3]. That’s our punishment.




Noise at Tamarin “Public” Beach in Mauritius

These guys brought their fucking electricity generator and their fucking huge speakers. Spreading high amplitude noise waves. Totally spoiled my afternoon. I was at Tamarin since around 1300 and they were already present in the kiosk.

Tamarin Kioske

After swimming, I was in such  hurry to return home. Just when I was about to start my engine, I noticed they were leaving. It was around 1820.

Finally I could get out of my car. My sister said “now we can finally hear the sea”. The atmosphere became relaxing all of a sudden. I told everybody to get down and enjoy the beach and the clear sky for sometime. Listen to their shit:

Last time at Blue Bay had a similar experience. A guy in a restaurant was singing so loud in speakers so that even in the waters you could hear the noise.

Should I have called the Police or it was their “right” to put such loud music?

Mounting Pendrives at Boot on Raspberry Pi (or Not)

Raspberry Pi with PendriveWell, I got a pendrive that I want to be automounted on my Raspberry Pi. Simple as hell. Do an $ lsblk command. Find the drive name. Mine was /dev/sda1.

I edited the /etc/fstab file to automount it at boot

/dev/sda1       /mnt/externaldrive      auto    defaults     0       0

Problem is that when the pendrive was not on the raspberry pi, the latter would refuse to boot properly. Even the WiFi or ethernet doesn’t work. Had to actually plug in my TV’s HDMI cable to view the boot error messages.

Some googling after, found this page:

Edited my /etc/fstab like this now. Notice the nofail option.

/dev/sda1 /mnt/externaldrive auto nofail,auto 0 0

Now I can boot with either a pendrive in or not. 😉

Think my 32GB MicroSD died on me

And I didn’t make a backup of it since quite some time. Lost quite some photos 🙁 Been using the card since like 4 years now.

lsblk shows the disk as 30.6mB

root@nayarpersonal-Satellite-L50-A:~# lsblk
mmcblk0        179:0    0  30.6M  0 disk

Same result with fdisk

root@nayarpersonal-Satellite-L50-A:~# fdisk -l /dev/mmcblk0
Disk /dev/mmcblk0: 30.6 MiB, 32096256 bytes, 62688 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

I tried dd’ing the disk onto an image but the image size turned out to be 31mB which doesn’t help at all into recovery.


Searching on the internet, didn’t find someone who managed to fix it except for a guy who put it in oven. Weird.

Advice: always backup your datas!!!

Review: Firemax FM316 Tyres at Tiremaster LTD

Got my VW Polo (Mk3/6n) some new Tyres recently at Tiremaster LTD located at Curepipe. Very nice and professional service I must say.

Volkswagen Polo Mk3

Bought a set of 2 Tires of the size 155/70R13 for Rs 1668, i.e. Rs 834 each, including mounting and balancing. I’m not sure it was Nitrogen filled as per what the ad said. I simply forgot about it.

The advertisement also said “European Quality Tyres” but actually they are from China of the brand ‘Firemax’. I guess it’s only about the ‘standards’.

Firemax FM318 FF101

I love the new Tyres. The steering wheel feels much much lighter. I don’t have to stress that much so as to be able to park or do some quick maneuvers. I guess 155/70R13 tyres have smaller contact width that 155/80R13 ones. I remind you this car doesn’t has power steering. Now it feels like as if it did have PS 😛

I don’t feel any vibrations when going above 100km/h on the motorway. Driving on bumpy roads feels a bit more firm but it is still a very comfortable ride.

Are the tyres durable? Only time can tell. Rumour says typical tyres last about 2 years. We’ll see how they perform with time as they wear out.

n00b Review: Kubuntu 16.04 LTS

Paradigm shifts are very small in KDE as compared to what gnome and other workspaces offer in their upgrades. This might make following KDE upgrade kinda boring or unexciting. KDE’s look the same since maybe decades. This is one of the reasons people prefer KDE 😉

The desktop

After a fresh install. Here’s what you see. Nothing.

Kubuntu 16.04 Desktop

Look at how ugly the KDE Cashew button has become. It used to be so beautiful in previous releases.

Kubuntu 1604 Cashew

No more events and holidays shown in Calendar Widget :(. Maybe the feature might come in the future.

Calendar Widget Kubuntu 16.04

Start menu

Pressing the “start” icon. Nothing. I’d expect at least a browser and file manager there. How would people coming from Microsoft Windows get a hint where to start exploring?

Kubuntu 16.04 Start Menu

What? The icons are still like KDE 4 era?

Kubuntu 16.04 icons


No visible regressions nor visible improvements.

Dolphin in Kubuntu 16.04

System Monitor


System Monitor in Kubuntu 16.04

New Screenshot App: Spectacle

Well. Like the previous app except that now it names the screenies with the time in the filename (‘Screenshot_20160424_141321.png’). Nice

Kubuntu 16.04 screenshot app: Spectacle


Never worked 100% with me. In KDE 4, I couldn’t rely on it to bring me my mails and alert me. It would just stop working for no apparent reason and work again later. First time opening Kontact in Kubuntu 16.04. It looks like this:

Kontact in Kubuntu 16.04

Don’t think it is production ready. Will it ever be? I guess no one uses it. I’ll still test it in a few days at work.

Other issues:

I don’t seem to be able to drag and drop images from Dolphin or Spectacle to WordPress. Is it just me?


It is just like KDE 4. Feels like KDE 4. Just maybe feels better (for now) with a refined “new” old look. Good to know that it is running with Qt5 with QML.

If your production Kubuntu 14.04 LTS works well for you, I don’t really see the need to go through the pain of upgrading knowing that the upgrade process *might* break. If you are installing Kubuntu on a new machine, definitely choose 16.04 LTS. Better stay up-to-date on paper 😉