Blog

Thoughts from my daily grind
Posted by Ziyan Junaideen 06 April 2021
The vehicle import ban was necessary to keep exchange rates stable. How ever the governments focus to prioritise EVs with the relax of the import restrictions could destabilise the power grid.
Posted by Ziyan Junaideen 05 April 2021
Its almost Sinhala Tamil New Year and it might be a good time to buy a MacBook Air. Shops want to rid of the Intel i3 versions and the M1 MacBook Air prices are also not that bad.
Posted by Ziyan Junaideen 03 April 2021
It could be argued that `NOT NULL` is the most popular database constraint out there. There are times you need to add a constraint or remove it. Some advice on how to do it in Ruby on Rails.
Posted by Ziyan Junaideen 02 April 2021
The popular Trailblazer sister project Reform (and Reform-Rails) on Ruby 3.0 environment is expected to have errors due to the fact Ruby 3 is not yet supported. Updates expected to come soon.
Posted by Ziyan Junaideen 01 April 2021
A pair of Shubunkin Gold Fish bought from East West Aquarium join my aquarium increasing the population to 6. The 3 different pairs are Black Moor, Gold Fish and Shubunkin. In search for 2 more pairs.
Posted by Ziyan Junaideen 01 April 2021
Personal experience compiled to a simple informative article on choosing between an inkjet printer, ink-tank printer or a laser printer.
Posted by Ziyan Junaideen 31 March 2021
If there has been a scarcity of pet / aquarium fish that may be the result of import controls. Yes! Apparently we are importing pet fish from Singapore and China.
Posted by Ziyan Junaideen 30 March 2021
Fix the JavaScript error "Lqb is not defined" where it works in Development but not in Staging or Production environments (where assets are compiled and minified).
Posted by Ziyan Junaideen 29 March 2021
GoDaddy is loved by many for the task of buying domain names and even hosting. How ever their payment method processing has a history of making trouble in the form - now it works; now it doesn't!
Posted by Ziyan Junaideen 28 March 2021
Install webpacker in your Ruby on Rails 4.2+ project to manage client side libraries in a sane way.
Posted by Ziyan Junaideen 26 March 2021
Terrible oversight resulted in the inclusion of swear words in the word database used in the XKPassword Ruby gem. The database has been cleaned and a new version released.
Posted by Ziyan Junaideen 24 March 2021
An e-commerce ready website is important to a laundry business. Due to obvious differences how a laundry website should bill the customer differ from how an e-commerce store should bill the customer.
Posted by Ziyan Junaideen 24 March 2021
The Sri Lankan legal system in general and court houses in particular could benefit greatly going digital. I believe it is time we leave behind the typewriter and using computers, scanners, cameras, software and databases.
Posted by Ziyan Junaideen 22 March 2021
Most Sri Lankans know Highland and Milco brands. Their website offered exceptional e-commerce service at first. But as the lockdowns ease their service has significantly deteriorated.
Posted by Ziyan Junaideen 22 March 2021
Tiers are as important as any safety feature on a vehicle. They are also instrumental in comfort. Not every tier is equal. When you are replacing tiers spend a little extra and get a good set of tiers. It is an investment that last a good 5 years.
Posted by Ziyan Junaideen 22 March 2021
Reduce form submission spam using a combination of reCaptcha V2 and V3. V3 will give a seamless submission experience to general users and prompt for validation using V2 on suspicion.
Posted by Ziyan Junaideen 21 March 2021
A mouse which is not registering your clicks properly is a nightmare condition in modern user interfaces that rely on pointed inputs. Fortunately many of these issues can be fixed rather easily.
Posted by Ziyan Junaideen 20 March 2021
TRC-SL recommends ISPs to come up with unlimited bandwidth packages. SLT had unlimited internet but then they got greedy. My fingers are crossed and I hope for the best!
Posted by Ziyan Junaideen 18 March 2021
Its hard to imagine a web-development project that doesn't have FontAwesome. This is How you can install and configure FontAwesome (free) using Webpacker in Ruby on Rails 6.
Posted by Ziyan Junaideen 13 March 2021
In Rails & UJS - how would you execute a JS layout of one resource from within another resource? You could render it as a layout and include or you can make a request to the route.
Posted by Ziyan Junaideen 10 March 2021
Is your development environment using Vagrant? You are saving the files but the Rails server / application is not detecting and auto updating file changes? Here is how you can get it resolved.
Posted by Ziyan Junaideen 10 March 2021
Shutdown / halting, sleeping, restarting your Mac using the GUI is obvious and easy. That is not your only option Here is how you can use the terminal and give the appearance of a pro level geek.
Posted by Ziyan Junaideen 07 March 2021
Most fun happens in the 500mm focal range and I'd been carving for a super telephoto with about 600mm range. With Sigma and Tamaron in being the competitors neither are in stock in Sri Lanka.
Posted by Ziyan Junaideen 05 March 2021
In my quest to find a decent platform to invest in stocks I found etoro. It allows ETFs, crypto and CFD. Once again being a Sri Lankan resulted in complications.
Posted by Ziyan Junaideen 05 March 2021
Being interested in a stock image library subscription, I took a look at Envato Elements. It offers a good selection for the price. How ever it lags far behind the likes of Adobe Stock.
Posted by Ziyan Junaideen 05 March 2021
Upgrading Ahoy lead to a Rails routing error - No route match [POST] "/ahoy/events" which was a result of not enabling Ahoy.api.
Posted by Ziyan Junaideen 04 March 2021
Robinhood is a great app, but unfortunately you need a US SSN to get access it. Some not possible unless you are studying or working in US.
Posted by Ziyan Junaideen 04 March 2021
Boost your laundry business with a fully featured web and mobile solution custom built to meet the industries requirements.
Posted by Ziyan Junaideen 04 March 2021
Fixing rbenv based Ruby installation on a Vagrant VM running Ubuntu following the installation of ZSH and oh-my-zsh.
Posted by Ziyan Junaideen 23 September 2020
Greatly improve your photo editing capabilities with Skylums new Luminar AI app. The app uses advanced AI to suggest AI filters to easily bring even most of your boring photos to life.