Taswar Bhatti
The synonyms of software simplicity
Category: Learn Series
MVP TechBytes

If you’re exploring the idea of pursuing a career path with Microsoft but feeling uncertain about where to begin, we’ve got you covered. Watch our MVP’s video on Microsoft Azure learning, certifications, and career growth. Learn about role-based certs, Microsoft Learning Rooms, and cultivating a growth mindset for success. 🧑‍💻 To learn more: 🔗 Microsoft […]

Redis

Redis HyperLogLog is used for calculating the cardinality of a set or non mathematically speaking it is a probabilistic data structure used to count unique values. Basically it is an algorithm that use randomization such that it can provide an approximation of the number of unique elements in a set by just using a constant […]

Redis

Redis Hash Datatype are similar in C# world as Dictionary e.g Dictionary<string, string>. Just like in C# redis stores map of attributes using key value pair. One thing to note is in Redis a Hash both the field name and the value are strings. Therefore, a Hash Datatype is a mapping of a string to […]

Redis

Continuing on with our Redis for .NET Developer, the Redis String Datatype is also used to store integers, float and other utility commands to manipulate strings. Redis String Datatype using Integers In Redis float and integers are represented by string. Redis parses the string value as an integer and the neat thing about them is […]

Redis

What is Redis – Installing Redis on Windows Redis (REmote DIctionay Server) is a very popular open-source, networked, in-memory, key-value data store, sometimes referred to as a data structure server which also comes with optional durability. Redis is well known for high performance, flexibility, provides a rich set of data structures, and a simple straightforward […]

conversion

In this post I will write about some tips on JavaScript Conversion from type to values etc. Tip 1: Boolean values In JavaScript one can use the double not (!!) to convert a variable to a Boolean. What the !! operator (poor man casting) does is, it first cast the data to a true Boolean […]

javascript

Here is another quick tip on JavaScript, the default value in Javascript. If you are coming from the C# world you may have seen something along the line of

The above code shows the ?? for null coalescing operator in C#, don’t confused it by the generic default value. In JavaScript, there is the […]

Javascript

In JavaScript there are two types of equality operator, the === and the !== , sorry I forgot to mention their evil twin == and != . tsdr; (too short didn’t read) Use three equals unless you fully understand the conversions that take place for two-equals. Basically what the triple equal (===) compares is if […]

Javascript quick tip debugger

Here is Javascript quick tip debugger for Javascript developers, there is a debugger statement in JavaScript, which invokes any available debugging functionality. e.g setting a break point, and if there is no debugging functionality available the statement has no effect. Let’s say you wish to debug a function

One could then add a debugger; […]

Javascript

Here is another quick tip on creating modular JavaScript, namely function wrappers, or more technically called Immediately-Invoked Function Expression (IIFE). A self-invoking anonymous function runs automatically/immediately when you are create it, but don’t confuse it with document.ready or window.onload. The basic of IIFE is to use a wrapper so that it does not pollute the […]

UA-4524639-2