React’s useEffect hook has indeed made life a lot easier. But there are times when you would most certainly miss the fine-grained control class-based components give you over a component’s lifecycle. One such time is when you… Read More The post Prevent useEffect’s callback firing during initial render appeared first on The Armchair Critic.
I recently had to install and configure Jest in a React app written using Typescript and ran into quite a few roadblocks. So, I thought of detailing the steps I followed to overcome the difficulties.… Read More The post Jest for a Typescript-based React app appeared first on The Armchair Critic.
Tournament selection is one of the many selection strategies we use in Genetic Algorithms (GAs) to select individuals for crossover. In this article, we will take a quick look at GAs, selection strategies, and finally… Read More The post Tournament Selection in Genetic Algorithms appeared first on The Armchair Critic.
Asgardio OIDC JavaScript SDK allows developers to implement OIDC authentication in their Single Page Applications in a fast and secure manner, especially when using the WSO2 Identity Server as the Identity Provider. The SDK offers three… Read More The post Asgardio OIDC JS SDK: Bootstrap in three easy steps appeared first on The Armchair Critic.
An SSD comes with a lot of advantages. It’s quick and fast and makes your PC boot faster, which, you may argue, is the dream of any PC owner. But it also has its shortcomings in a way that it... Continue Reading → The post An ideal SSD + HDD configuration for Windows 10 appeared first on The Armchair Critic.
Setting up your Raspberry Pi device with Rasbian can be easy if you have the luxury of an HDMI monitor. But what if you don’t have one? Well, here I detail a method by which the OS can be set... Continue Reading → The post Setup Raspbian Stretch on Raspberry Pi 3 without a monitor appeared first on The Armchair Critic.
Let me begin this article apologizing to all cricket devotees who would consider questioning Bradman’s forte a blasphemy. But I indulge myself in questioning percepts and I am a proud adherent of “Socratic questioning”. Though, the belief world over is... Continue Reading → The post 4 players who were supposedly better than Sir Donald Bradman appeared first on The Armchair Critic.
Afghanistan are early favourites to make it into the 2016 Asia Cup, but can there be upsets? The Asia Cup tournament for the year 2016 would be held as a series of T20I matches, making it the second biggest International T20... Continue Reading → The post Which Associate Team will qualify for the Asia Cup 2016? appeared first on The Armchair Critic.
Cricket is a quirky sport in a way that it requires more input from the cerebrum in comparison to any other sports. A good cricketer needs to be as strong as a gymnast who excels in rings, as balanced as... Continue Reading → The post 5 of the most innovative tactics that were employed as a stopgap solution appeared first on The Armchair Critic.
Bye Bye Test cricket! In a shocking revelation Test cricket, one of the three formats in cricket has announced that it has decided to hang its boots. Test cricket is the oldest format in cricket, having made its debut in... Continue Reading → The post Satire: Test cricket announces retirement appeared first on The Armchair Critic.
Cricket has been rendered poorer with the departure of two greats on the same day So cricket’s brain drain is almost complete with the retirement of Michael Clarke and Kumar Sangakkara. The last decade’s batch has almost graduated, leaving cricket... Continue Reading → The post Kumar Sangakkara vs Michael Clarke: A statistical comparison appeared first on The Armchair Critic.
There may be situations where you may have to take pictures remotely and view them. With a Raspberry Pi single board computer, Pi Camera and Socket.IO server, creating a DIY remote camera has never been easier. To create this remote... Continue Reading → The post DIY Remote Camera using Raspberry Pi, Pi Camera, and Socket.IO appeared first on The Armchair Critic.
If you are brought up watching cricket, there are certain things in life only you can relate to. The ones who don’t follow the sport or have no idea about it have definitely missed... The post 35 things that only cricket fans can relate to appeared first on The Arm Chair Critic.
Any heart-warming novel will have its final chapter. Any supremely impassioned movie will have its final minutes. A good rendition of mellifluous music will glide through a crescendo before petering out to a cathartic consummation. Kumar... The post Kumar Sangakkara’s retirement – It’s not the end, it’s the consummation appeared first on The Arm Chair Critic.
If you surf the social media, all what you would find are posts of condolences for South Africa’s “unexpected” semi-final exit from the World Cup that they deserved to win. Imageries of Ab de Villiers shedding... The post CWC 2015: New Zealand vs South Africa 1st semi-final – Why the Kiwis were worthy winners appeared first on The Arm Chair Critic.
Giles Clarke, the chairman of England and Wales Cricket board has come forward to help the homeless South African team by promising a sanctuary for the 15-man squad which has been denied entry... The post Satire: England to provide asylum to ‘homeless’ South African cricketers appeared first on The Arm Chair Critic.
Needless to say, WordPress’ Gutenberg editor has made life easy for a lot of people. You no more need additional plugins, shortcodes, and theme customizations to format your posts to fit your various needs. I switched to Gutenberg to write... Continue Reading → The post WordPress Gutenberg Editor: Applying a custom format to a text selection appeared first on The Armchair Critic.
Docker helps keep your development and production environment constant allowing swift migration of apps from development to production. Since I wanted to migrate my blogs from a traditional web host to the AWS cloud, I found containerizing my web applications... Continue Reading → The post Creating a LAMP stack using Docker Compose appeared first on The Armchair Critic.
Regularly backing up your web server content, or any content for that matter, is essential to avoid data loss in case of a malware attack or accidental deletion. If your website is hosted on a web host that doesn’t provide... Continue Reading → The post Automatically backing up your files on a web server and uploading them to Google Drive ...