Posts

Showing posts from August, 2022

How to set up a serious Kubernetes terminal

  Kubernetes comes pre-bundled with a  remarkable CLI.  For fundamental tasks, it works magnificently. Unfortunately, when one necessities to accomplish something rapidly, intricacy increments. The Kubernetes people group has constructed a wide range of electronic tooling for checking your bunch — kube operations view, grafana and so on. Notwithstanding, having a completely kitted terminal will quickly accelerate the time it takes to get to the base of an issue. It shapes a central piece of your Swiss armed force blade. Coming up next is an exceptionally short rundown of open source devices that I've applied to my OSX terminal. When utilized together, they permit me to skirt around my kubernetes bunch, immediately investigate issues, and screen conduct. I've removed loads of little utilities and adhered to the devices that I end up utilizing consistently. Prior to any devices… Before you pursue these apparatuses, I'd emphatically suggest introducing zsh. It is an extraordin

How to host a Git repository on a subdomain with Netlify

   Suppose you have your portfolio, as www.glynlewington.com, facilitated on Netlify and need to add your tasks onto a similar space. They are independent git storehouses and Netlify is made for facilitating from a solitary vault… however don't fear! We can have them on subdomains like project.glynlewington.com with a tiny bit of work. Photograph by Nicole Y-C on Unsplash Netlify makes it simple to have your static destinations with them for nothing. I as of late moved my portfolio from a VPS over to them, and it's extraordinary that they consequently update your site each time you push to your git vault. Previously, I had all my own undertakings additionally facilitated on subdirectories, for example www.glynlewington.com/project. This is either troublesome or incomprehensible with Netlify. Netlify is generally set up for you to have everything in one site from one git store. The trade off I came to is facilitating them on subdomains all things considered, as project.glynlewin

How to choose which validator to use: a comparison between Joi & express-validator

   Envision you have  a web based business site and you're permitting clients to make accounts utilizing their name and email. You need to ensure they join with genuine names, not something like cool_dud3. That is where we use approval to approve information sources and ensure input information keeps specific guidelines. On the lookout, we as of now have a lot of approval libraries, yet I will analyze two significant approval libraries: Joi and express-validator for express.js based applications. This examination is valuable when you have chosen to involve outer info approval library for your application based on expressjs and are to some degree not certain which one to utilize. Who is what? Joi Joi permits you to make plans or constructions for JavaScript objects (an article that stores data) to guarantee approval of key data. Express-validator express-validator is a bunch of express.js middlewares that wraps validator.js validator and sanitizer capabilities. So by definition, we

How to make peace with deadlines in software development

   As an engineer,  this would one say one is of your greatest bad dreams or would it be a good idea for me to say your foe? Name it anything you desire. Just own it. It panics you a great deal. Indeed, even now, while you are perusing these sentences, it makes your hair stand on the end. Thinking about how I know that? I know since I've felt something very similar. However, presently the apprehension is before. I've reconciled with cutoff times. I've embraced them. So I recommend you do exactly the same thing. Embrace them, wipe the slate clean with them. This is the main way that you can overcome them. Alright at the same time, how you can do that? There are a few realities that we as a whole will quite often overlook with regards to setting a cutoff time. My point here is to show them to you so you can see that it takes so little to cover the apprehension and begin appreciating life while you are chipping away at your venture without agonizing over dates. Work in a quiet

How to automate website performance regression testing

 In another post I went over how to analyze website performance using Lighthouse, and specifically how we can automate performance monitoring with Foo’s Automated Lighthouse Check. In this post I’m going to demonstrate how we can step it up a notch by regression testing performance… automagically 🔮. What is Regression Testing? Regression Testing is a type of software testing to confirm that a recent program or code change has not adversely affected existing features. Adhering to best practice could include the below. Maintain a Strict Testing Schedule: Always maintain a continual testing schedule throughout the entire software development life cycle. Not only will this quickly force the team to adapt to a frequent testing regimen, it will also ensure the finished product is as well-tested as possible. Use Test Management Software: Unless your current software project is a simple self-developed side project, chances are you’ll have such an abundance of tests that tracking each will be