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
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.
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.
“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.
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 😉
Foreach Rs 2000 I earn over 21,923, Rs 300 will be deducted under the PAYE system . 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 .
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.
“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.
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.
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?
Well, 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/externaldriveauto defaults0 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: http://askubuntu.com/questions/14365/mount-an-external-drive-at-boot-time-only-if-it-is-plugged-in
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. 😉
Got my VW Polo (Mk3/6n) some new Tyres recently at Tiremaster LTD located at Curepipe. Very nice and professional service I must say.
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’.
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.
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 😉
After a fresh install. Here’s what you see. Nothing.
Look at how ugly the KDE Cashew button has become. It used to be so beautiful in previous releases.
No more events and holidays shown in Calendar Widget :(. Maybe the feature might come in the future.
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?
What? The icons are still like KDE 4 era?
No visible regressions nor visible improvements.
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
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:
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.
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 😉