Blog

Thoughts from my daily grind
Posted by Ziyan Junaideen 17 September 2020
Find a file quickly in Ubuntu or any Linux/MacOS distribution using `locate`.
Posted by Ziyan Junaideen 17 September 2020
The Opera Browser has always been a small player in the browser market share. This probably limits its ability to license H264 and similar proprietary formats leaving HTML5 video unplayable. This is how to fix it.
Posted by Ziyan Junaideen 12 September 2020
People love iPhones but hate their price. But now there is an iPhone at a price point you will love. Starting at LKR 105,000/= its not bad for a phone.
Posted by Ziyan Junaideen 09 September 2020
The quality of a video has 3 aspects. They are video resolution, audio quality and playback smoothness. If any of these are compromised watching a video is not entertaining. This is how I fixed the MKV video playback issues I had.
Posted by Ziyan Junaideen 08 September 2020
A full tutorial on installing and configuring PostgreSQL RDBMS for local development.
Posted by Ziyan Junaideen 06 September 2020
If you are still copying content using the mouse, its high time you learn about xclip, the cool Linux tool that lets you copy paste using the traditional clipboard or using the mouse middle button.
Posted by Ziyan Junaideen 05 September 2020
First thing for a software engineer to do once he/she does a fresh Ubuntu installation is to install Git the distributed version control system used for managing code in software development.
Posted by Ziyan Junaideen 30 August 2020
Can Ranil be called a leader? I think not. At the moment the UNP is in the a pathetic state, worst than the JVP, for the first time. If any one can recover the party, that would be Arjuna Ranatunga.
Posted by Ziyan Junaideen 30 August 2020
Banks have been in the forefront of using technology to improve efficiency and better security due to the enourmous responsibility they carry. Here we discuss the use of AI based signature verification for banks.
Posted by Ziyan Junaideen 28 August 2020
IFrames are useful tools to integrate one service to another. For example, a church website to include a donation page from a donation management platform. This is how you can make such automatically resize to fit content.
Posted by Ziyan Junaideen 28 August 2020
The COVID19 pandemic was not all negative. I made it an excuse to cut my own hair. It went fairly well the first 5 times, better than my pears. How ever the 6th was botched due to technical error cause by carelessness.
Posted by Ziyan Junaideen 27 August 2020
Final Cut Pro X joins my inventory of software at a cost of $299.99. I assume it will be instrumental in producing decent video tutorials, product videos and fun memories for years to come.
Posted by Ziyan Junaideen 01 July 2020
Almost all websites run fine when it comes out of the developers forge. But many e-commerce stores slow down in time, especially when products increase and visitors come. What may be the issue? How can it be fixed?
Posted by Ziyan Junaideen 30 June 2020
Sri Lankas proud education system was put to reality check when the COVID 19 lock-down hit the country. Inequalities in the society let some students continue learning while others were left behind. Sri Lanka is not ready for remote learning is one of the main things we learnt.
Posted by Ziyan Junaideen 30 June 2020
SLTNet is the premier Internet Service Provider in Sri Lanka thanks to their monopoly in the market. While their services are good, their pricing for bandwidth is daylight robbery. On top of that many are concerned if they are cheating w.r.t. bandwidth usage.
Posted by Ziyan Junaideen 29 June 2020
Althought not a heavy gamer, I have loved to play Battle Royale. The new additions to the map are exiting but the tanks are ruining my CoD Mobile excitement.
Posted by Ziyan Junaideen 29 June 2020
Apple announcing Apple Silicone is significant. What it brings to the table by unifying the architecture is boundless. How ever concerns persist for web developers and software engineers who prefer to test their apps on X64.
Posted by Ziyan Junaideen 28 June 2020
Custom Rails validator classes can help clean up your model code. How would you test your custom Validator using RSpec?
Posted by Ziyan Junaideen 28 June 2020
The choice of using Highlgiht JS is almost a sentimental one. Various bugs and complications forced me to replace Highlight JS with Rouge (Ruby) and I am happy I did.
Posted by Ziyan Junaideen 28 June 2020
Every developer values code highlighting and theming. This is how you can handle syntax highlighting in your Rails project.
Posted by Ziyan Junaideen 28 June 2020
The reCaptcha GEM is not built to handle different configurations of reCaptcha (ex: V2 vs V3 or as I hear V2 Checkbox vs V2 Hidden). If you need to to use another version you will have to rig up your own implementation.
Posted by Ziyan Junaideen 20 June 2020
Affinity by Serif is selling their software Designer, Photo and Publisher on discount. The iPad versions of the apps just cost $9.99 and the desktop version of it cost $24.99. Grab your license today.
Posted by Ziyan Junaideen 07 June 2020
නරි නෑවීම කියන්නෙ මොකක්ද කියන කියමන අහලා තිබුනට එකෙ ඇත්ත තෙරුම දැනගෙන හිටියෙද? The meaning of the Sinhalese saying "නරි නෑවීම".
Posted by Ziyan Junaideen 06 June 2020
Did J J Thomsons discovery of radioactivity kickstart nuclear physics? Or had Sri Lanka already mastered nuclear technology to the extent to build space ships?
Posted by Ziyan Junaideen 05 June 2020
Code deploys failed. Connection to port 22 was timing out. I thought it was a Github issue or a firewall issue. But it turned out to be an issue with SSH. The config I used to get deploys operational.
Posted by Ziyan Junaideen 18 April 2020
Bring sanity to your code and avoid massive expectation pyramids by chaining multiple conditions inside a single `expect` block.
Posted by Ziyan Junaideen 07 April 2020
The SD Card of my Samsung Galaxy S9 Plus went undetected after installing a system update.
Posted by Ziyan Junaideen 07 April 2020
As it seems many SLT Broadband users are experiencing slower torrent speeds during off-peak times. Is Sri Lanka Telecom up to no good?
Posted by Ziyan Junaideen 03 April 2020
I placed in an order in Keells Super website with great difficulty on April 1st. Estimate was up to 72 hours but haven't received yet. Now Thalahena is not in the delivery grid and I am worried.
Posted by Ziyan Junaideen 03 April 2020
The Sinhala and Tamil New Year in 2020 is unlikely going to be a blast. The COVID19 virus has put the country in to a state of lockdown. New year celebrations aside, people are struggling to survive the day.