Logging in Node.js: Winston vs Morgan vs Pino

|
| By Webner

Logging is an essential part of any application. It helps developers understand what is happening in the app, debug issues, and monitor performance. In Node.js, there are several popular logging libraries available. In this post, we will compare three of

Javascript Calendar Problem on Chrome and Safari browsers

| By Webner

While working in a project, we faced a problem with using a calendar on a webpage. It was working fine for Mozilla Firefox but not for Chrome and Safari. Initially we had this code: <input type=”text” name=”startdate” id=”startdate” class=”form-control datepicker”

Salesforce | Fatal error: Uncaught SoapFault exception: [sf:REQUEST_LIMIT_EXCEEDED] REQUEST_LIMIT_EXCEEDED: TotalRequests Limit exceeded

| By Webner

Problem: “Fatal error: Uncaught SoapFault exception : [sf:REQUEST_LIMIT_EXCEEDED] REQUEST_LIMIT_EXCEEDED: TotalRequests Limit exceeded.” In our case, this exception was raised while upserting records in Salesforce using PHPSFDC toolkit. Solution: When our code exceeds API limit within Salesforce, it throws above exception. This

How to add slow blur effect using jquery and css

| By Webner

Suppose you have to blur this image: To show it like this and this blur effect should be gradual: This is one solution to achieve this: $(document).ready(function() { animationTime(); }); function slowblur(number) { $(‘#firstimage’).css({‘filter’:’blur(‘+number+’px)’,’-webkit-filter’: ‘blur(‘+number+’px)’,’-moz-filter’: ‘blur(‘+number+’px)’, ‘-o-filter’: ‘blur(‘+number+’px)’,’-ms-filter’: ‘blur(‘+number+’px)’}); }