In Python, a dictionary is a collection you use to store data in {key:value} pairs. It is ordered and mutable, and it cannot store duplicate data. We write a dictionary using curly brackets like this: my_dict = { “id”: 1, “name”: “Ashutosh”, “books”: [“Python”, “DSA”] } Sometimes, we need to merge
Category Archives: Uncategorized
Dark mode is starting to become a requirement rather that a nice-to-have feature like it was back in the day. It gives users the option to choose a theme that’s comfortable for them, whether they’re working during the day or at night. If you haven’t already heard, Tailwind CSS is
As programmers, we will inevitably make mistakes. Even the most accomplished specialists make them. But you’ll become a better programmer faster if you don’t make the same mistakes over and over. There are many types of mistakes you might make when you’re coding. The majority of them usually come from
What is a SIM swap?SIM swapping is when a hacker convinces your cell phone carrier to switch your phone number to a different SIM – one that they own. This is a relatively normal thing for a retail employee to do, which means that someone asking for a swap
Mixins are my favorite thing about Sass. They made my life so much easier, so I wanted to show you how they can do the same for you. Mixins can be a bit tricky to understand at first, but don’t worry. You’ll get the hang of it by practicing and
In this tutorial for beginners, you will learn the basics of using SwiftUI to make API calls using the popular Internet Chuck Norris DataBase (ICNDB) as an example. It will display a joke quickly and easily using Swift and SwiftUI. You’ll see how the cross-platform framework SwiftUI lets us use
Discord is an instant messaging app that lets you communicate through voice, video, and texts. It is available in a web-based form, a desktop app, and a mobile app. But sometimes, when you’re trying to establish a voice call connection, you’ll get an error that says “RTC Connecting Discord”. This
Let’s face it – state management across multiple components isn’t easy. Sometimes we might set up the state or logic handling properly, but fail to consume the states. Or we might get everything working, but clutter up the codebase in the process, making it hard to read, adapt, and extend. The
In this conference talk made for Tech Fest 2021, Steven Lemmo talks to you about building SaaS Applications with WebSockets. Here is a full breakdown of what he will cover in this 40 minute talk: The reason for this talkWhy Websockets?Websockets minimal API exampleRest Web ServicesMultiple ListenersFull DuplexWebsockets time-lineTypeScriptVendor
Colors play an integral role in how usable and accessible your web design projects are. At times, they can even make or break a project. Having a color palette comprised of different shades and hues of a specific color can be really helpful. It helps you visualize how you can
