Tag: Code

The Pleasures of Reading Computer Code

As Wilson noted, many of these recipes were incredibly ornate — like a lamb korma by Madhur Jaffrey “with an ingredient list that goes on for more than a page”. So they weren’t necessarily the meals you’d immediately rush out to make. Indeed, you might never make them a...

Writing Scalable & Maintainable Code

Well if you have, there’s really nothing to be ashamed about. We all write flawed code as we learn. The good news is, it’s fairly straightforward to make improvements- but only if you’re willing. One of the best ways to improve your code is by learning some programming design pr...

Boost Your Python Code With Rust Extensions

As most of you already know, Python is a general-purpose programming language optimized for simplicity and ease of use. While it’s a great tool for light tasks, code execution speed can soon become a major bottleneck in your programs. In this article, we’ll discuss why Python is so sl...

ChatGPT’s new Code Interpreter and what it means for you

How do I enable Code Interpreter? While the process is extremely quick and simple, Code Interpreter won’t show up by default. Once you’ve loaded into ChatGPT, look in the bottom left corner for your name/account. Click on the 3 dots next to your account name and then select “Set...

There Is No Bad Code

They understand that it’s not functionally doing what is expected, and so take the time to revise it until it—at least seemingly—does the right thing. If someone ever knows what it actually should do. When they do (think they) know, they might add tests, or even use a test-dri...

There Is No Bad Code

They understand that it’s not functionally doing what is expected, and so take the time to revise it until it—at least seemingly—does the right thing. If someone ever knows what it actually should do. When they do (think they) know, they might add tests, or even use a test-dri...

Can we assess the morality of our UX?

Morality is a combination of personal and social standards. It allows us to behave acceptably in society. What morality really means is something philosophers and the like have been reflecting on for ages. Writer and scientist Jonathan Haidt is among them. I discussed his Moral Foundations Theory...

10 essential VS Code tips & tricks for greater productivity

Did you know that 73% of developers worldwide depend on the same code editor? Yes, the 2023 Stack Overflow Developer Survey results are in, and yet again, Visual Studio Code was by far the most used development environment. “Visual Studio Code remains the preferred IDE...

I used React wrong for years, upgrade your code with React Hooks.

Use React Hooks to decouple your code from presentation and logic to achieve higher reusability and maintainability. I have been working with React for several years now and have optimized my programming skills in this framework over time. When I first started, I didn’t really understand th...

Clean Code Is Slow, but You Need It Anyway

In case you haven’t heard, something really interesting is happening in the programming/software development scene on Twitter. It started from one of Casey Muratori’s videos on Performance Aware Programming. It is aptly titled: “Clean Code, Horrible Performance.” It stemmed f...

Code Style Matters in a Take-Home Interview

Let’s get this out of the way to start: probably not just software engineering interviews, but all interviews are in some way flawed. They can overemphasize unimportant aspects during the job and underemphasize aspects that are very important on the job but might be harder to capture in an ...

How to Chat With Any File from PDFs to Images Using Large Language Models — With Code

So much valuable information is trapped in PDF and image files. Luckily, we have these powerful brains capable of processing those files to find specific information, which in fact is great. But how many of us, deep inside wouldn’t like to have a tool that can answer any question about a ...

The Pleasures of Reading Computer Code

Even if you never cook it. Maybe especially if you never even plan to cook it! Back in 2013, the author Bee Wilson pondered this phenomenon while reviewing the William Sitwell book A History of Food in 100 Recipes. As Wilson noted, many of these recipes were incredibly or...

This Code Is $#&!

Coding is a lot of things: Brain-teasing, challenging, fun, powerful, and thus liable to give its practitioners the occasional God Complex. But primarily? Computer programming is deeply, agonizingly frustrating. (I’ve blogged about this before.) Computers are brutal, unforgiving taskmasters...

There Is No Bad Code

Your bugs? Nothing wrong with them. The code simply does the wrong thing. It was not intended. But that’s what it does now. What will you do about it? Some don’t ship it. They understand that it’s not functionally doing what is expected, and so take the time to revi...

Google Summer of Code  — Final Evaluation

Google Summer of Code — Final Evaluation The great adventure has finally come to and end. This post is a total description of my work during the summer of codes and will serve as my final submission for the last evaluation. Project Title : Add "Autofix" feature f...

Strumming Through Code with 10 Python Libraries and Their Country Theme Songs

Buckle up partner and grab your coding boots!  By the time we’re done here you’ll understand why Python’s top libraries are as irresistible as the twangs and tales of country music. Whether you’re a code-slinging cowboy/cowgirl or a country-loving coder, saddle up and le...

Cracking Code Your Daily Dose of Inspiration to Master the Craft

Hey there, everyone who’s diving into the coding world!  Get ready to unlock your coding potential with this blog, your source of daily inspiration and guidance on the coding journey.  Imagine this: each day, you're adding a new brushstroke to your coding canvas. It's not ...

A Deep Dive Into Guidance’s Source Code

This is a text about a library that is used to build applications with LLMs (Large Language Models). This article is rather dense, so don’t feel frustrated if you don’t understand everything at first. Beware: I might also have misunderstood some (or many) things in the process. So if ...

Java Best Practices for Writing Clean and Professional Code

Secrets of Clean Code: A Journey through Java Best Practices for Ongoing Coding Mastery   Writing professional and clean Java code is essential for any Java developer who wants to unleash the full potential of their software. I’ll be discussing seemingly small details, yet they h...

Why 99% of People Fail to Learn to Code

Avoid making these crucial mistakes when learning a new programming language, framework, technology etc.   Aren’t you tired of being stuck in tutorials, repeating every process and still failing to finish your project or understand? Do you feel like you’re running on a hams...

Java: Best Practices for Writing Clean and Professional Code

Writing professional and clean Java code is essential for any Java developer who wants to unleash the full potential of their software. I’ll be discussing seemingly small details, yet they hold tremendous importance and have the potential to transform you into a highly efficient engineer. ...

30 year old code killed! Microsoft rewrites Windows kernel with 180,000 lines of Rust

Microsoft is rewriting its core Windows libraries using the Rust programming language.May 11 — The latest Windows 11 Insider Preview release is the first to include the memory-safe programming language Rust, according to Azure Chief Technology Officer Mark Russinovich. “If you’r...

Check AI-Generated Code Perfectly and Automatically

Do you love AI coding tools such as ChatGPT and GitHub Copilot? Do you hate that you can’t trust the code they produce? In some (for now, limited) cases, you can trust their code! Using formal verification tools such as Kani for Rust we can sometimes autom...

3 Silent Pandas Mistakes You Should Be Aware Of

Not knowing the mistakes we make in programming does not necessarily make us a fool. However, it may result in undesired consequences. Some mistakes shine like a diamond and can be recognized from miles away. Even if you don’t notice them, compilers (or interpreters) inform us about them by...

A Quick Fix for Your Sluggish Python Code

We are using resource-intensive techniques such as LLMs and Generative AI a lot these days. Whoever uses precious resources would know how daunting it is to do the same task again, even though we know the results will be the same. You’d blame yourself for not storing the results of its prev...

Recyclerview generic adapter — Android

RecyclerView is a powerful widget for displaying lists and grids in Android applications. To maximise code reusability and maintainability, it’s crucial to build a flexible and generic adapter that can work with various data types effortlessly. In this blog post, we’ll explore the implem...

AOSP: Source Code, Repo, Git

Repo is a Python script developed by Android to facilitate the management of multiple git repositories. The emergence of repo is not to replace git, but to allow Android developers to use git more effectively. The Android source code contains hundreds of git libraries, and just downloading s...

Preventing Bugs and Vulnerabilities: Leveraging Static Code Analysis in Android Development

In the world of software development, creating robust and secure applications is of paramount importance. Android, being one of the most widely used mobile operating systems, demands a high level of diligence to ensure bug-free and secure applications. Static code analysis is a powerful tool that ca...

Don’t Use Parcelable! Use This Instead…

The other day I was trying to implement a certain functionality that involved passing data around my screens. As it was a tutorial, I followed the guy’s advice in implementing Parcelable in my model class (Data Class when using Firebase) but it never worked. I thought it was because the code h...

The Ultimate VS Code Setup for Python

Having a well-optimized setup for your Visual Studio Code (VS Code) is nothing short of a game-changer when it comes to unleashing your coding potential. Imagine an environment tailored precisely to your needs, where every keystroke brings forth a symphony of efficiency and creativity. A good setup ...

Display the source code reference that’s writing a log message.

ntroduces a new package to the standard library called slog; This package gives Go developers the ability to record log entries in a structured format without too much hassle. One of my favorite features about this package is the ability to print out the line number and file a log entry is comi...

Clean Code: Objects and Data Structures

In the world of software development, writing clean and maintainable code is a paramount goal. The “Clean Code: Objects and Data Structures” chapter provides a set of foundational principles that can guide developers toward crafting code that is not only functional but also comprehensibl...

Writing Clean Code

Lately, I see a lot of articles about clean code. And that’s good! Back when I was a teacher people asked me what my vision of clean code is. I never understood why people asked about ‘my vision’. I just read about Robert C. Martin, a.k.a. Uncle Bob, and stuck to what I have done a...

Building a Full-Stack Flask-React Web App:

Welcome, weary travelers of the Internet! You’ve ventured far and wide, seeking wisdom and morsels of code. Your journey has led you to the Oracle of Web Development: a blog post about building a full-stack Flask-React web application. Prepare for a cosmic, high-level, and minimally granular o...

The Future is Now: 3 AI Tools Every Developer Should Know

As developers, we’ve all been there — stuck trying to juggle coding, meetings, and documentation. It’s easy to get bogged down with monotonous tasks that eat up our time. But what if AI could swoop in and automate some of that work for us? Well, the future is now, friends! There ar...

I Made an AI News Editor-in-Chief Without Knowing How to Code

Iam a person who, until recently, thought Python was just a type of snake. Yet, over eight hours this week, I used the giant snake’s programming language namesake to create an app. And not just any app. A bloody useful one! I built a writing prompt app that acts like the editor-in-chief of a m...

My $500 MRR Product Learnings :)

Six months ago, around Feb or so — I launched this cool AI-powered code generation tool for gaming engines called haddock.ai. It basically supports scripting for Roblox/Unreal/Unity/Minecraft (forge) platforms using text prompts. This is what the code generation interface looks like for t...

The Battle of the Agents — 4 Autonomous AI Agents

Everybody is talking about AutoGPT, and other autonomous AI Agents. Having tried them, I can vouch that they aren’t really the “shit” right now, but the potential has me flummoxed. One of the most significant limitations of the current system is its memory capabilities. Recently...

VS Code Extensions for React Native Developers

If you are a React developer using VS Code as your primary code editor, you will probably like to take advantage of the VS Code extensions. In this article, I’ll help you choose the best VS Code extensions to improve your React development environment. Section 1: Fundamentals The ...

Effective Strategies for Dealing with Bugs in Code

We use the squash, splat and crush analogy from insects when talking about bugs. This is with good reason: Thomas Edison wrote about bugs during his hardware engineering travails and this means the term is probably here to stay. Get used to it, or bug off! Approaches to dealing with bugs ...

THIS Python Library Simplifies Working With Pandas

In this article, we will be looking into another great Python’s library called Sketch. It does not only let’s you ask your dataframe questions, but also gives you the actual pandas code. Let’s take a quick look at how it works. The initial step involves installation, which is ef...

Effective Use of TypeScript’s Conditional Types

TypeScript is a powerful language that enhances JavaScript with static typing. One of the most valuable features of TypeScript is its support for conditional types. With conditional types, developers can define types based on conditions, allowing for more flexible and reusable code. In this comprehe...

The Evolution of Java

Java was first released, and over the years, it has undergone significant changes. I started working with Java in the early 2000s, using J2SE 1.3, which lacked features that are now commonplace. Java 5 introduced generics, “for each” loops, annotations, autoboxing, and unboxing, resultin...

The Tech Trek: Embrace the Challenges of Becoming a Tech Professional

“Tech is not meant for you.” “You can’t succeed in tech.” “You aren’t even good in Maths” “You are well-known for having bad grades”. Have you ever heard these from someone? Probably from yourself? In my case, it was my own voice in my head...

Nostalgic Fun Facts On Computing For Each Day of A Year

Doyou know, Youtube was registered on Valentine’s Day, Apple was founded on April Fool, and Gmail was released on April Fool’s Day with 1GB of free storage (which was large at that time, causing people to think it was a prank)? Do you know that even though World Wide Web Day is celebr...

10 Python Projects with Code

Python is a versatile programming language known for its simplicity and readability. It is widely used for web development, data analysis, machine learning, and automation. One of the best ways to improve your Python skills is by working on practical projects. In this blog post, we will explore ten ...

Elevating Code Quality: Ultimate Guide To Integrate SonarQube with CircleCI for Effective Code…

In today’s fast-paced software landscape, ensuring your codebase's reliability, maintainability, and security is paramount. This is where SonarQube comes into play as an invaluable tool that empowers developers to detect and address issues early in the development process, ultimately leadi...

Don’t future-proof your code

What you think might happen doesn’t matter. Developers love to future-proof their plans. They want to make sure that they anticipate future needs and code accordingly. The bad news is: humans are quite bad at predicting the future. This is a key lesson. Anticipatory coding is often waste...

5 More VS Code Extensions to boost your productivity

In a previous blog post, we delved into some Visual Studio Code extensions that can significantly enhance your coding productivity. But the world of extensions is vast, and here are 5 more recommendations that may improve your coding quality of life. File Ops A lightweight extension to im...

Why You Need To Code Every Day When You’re Learning To Program

When I was first teaching myself computer programming, I’d often set aside a big chunk of time on the weekend to work on tutorials. By the end of a couple of hours, I always felt like I’d made real progress. Alas, by the time the next weekend came around, a lot of what I’d learn...

How I learned to Code in 6 Months & Got a Job Offer (self-taught)

I quit my job in April 2021, self-taught programming/web development & landed a Remote Full Stack job in November 2021 (based in Vancouver, Canada); all without spending a dime. Figured someone might find a factual time-history of my experience useful -_- Net amount of LeetCode time wa...

What is good/bad code? An illustrated example for non-programmers

I once read a quote somewhere that basically had the following content: “The lives of many people in the modern world depend on software, such as that which controls flight systems in large commercial airliners, and yet the field of software development is mostly unregulated. Anybody can ...

I Completed All 8 Advents of Code in One Go: Here Are the Lessons I Learned.

Last December, I completed my first Advent Of Code: 2022. Before that, I had a total of something like six stars for the past seven years. But this year, we created a private leaderboard at Docker, and it motivated me to go as far as possible. For those unfamiliar with the Advent Of Code, on...

How to Restore Missing QR Code Icon in Linkedin Search Bar

Has the QR code icon in your Linkedin search bar gone missing? If you use it frequently to expand your network at in-person events, this might be a hindrance. What is the Linkedin QR code? Image of Linkedin QR code page by Jujube Li. © 2023. All rights reserved. It’s a screen...

Top 10 C# Code Smells

Amid the lines of logic and layers of algorithms, there lurk imperfections known as “code smells”. This guide dissects these subtle offenders, guiding you towards coding finesse. I wish these code smell insights had been part of my early learning. Recognizing and addressing these woul...

8 Quick Refactoring Tips to Make Your Code Cleaner and More Pythonic

In this article, I will show you eight quick refactoring tips that will make your code look much cleaner and more Pythonic. Tip 1: Merge Nested If Statements Instead of having nested if statements, it’s better to merge them into one. For example, instead of writing: if a: if b: ...

The Awesome Power of Well-Documented Code

Back when I was researching my book Coders, I talked to a lot of folks who ran very successful open-source projects. “What”, I asked them all, “made your project take off?” Why did yours gain legs, when so many others — including quite good projects —...

Understanding the Difference Between ‘String’ and ‘string’ in C#

C# is a strongly-typed programming language, which means that knowing your data types is essential for writing effective C# code. In C#, one of the most frequently used data types is the string type, which can be declared as either String or string. This can lead to some confusion: Wh...

Tiny Snippets of Code That Changed The World

In 1997, Ethan Zuckerman broke the Internet — by inventing the pop-up ad. He was working for Tripod.com, an online service that let people make little web pages for free. To make money, Tripod sold ads that ran alongside the pages. The problem was, ads would wind up running next to racy con...

38 Python Tips and Ticks To Learn Before You Write Your Next Code

Python is a widely-used and versatile programming language with an extensive collection of libraries and frameworks. Beyond the well-known features, there exist lesser-known Python coding tricks and libraries that can significantly make your life as a developer easier and your code more efficient. T...

The Importance of Code Ownership

You write it; you own it.” It’s the philosophy of a software engineering department I once worked in. It is a great philosophy to ensure accountability for any written code. But it is easier said than done. Code ownership, though it sounds simple, is also one that can easily be lef...

It’s OK to code, it’s OK to no-code, but there’s a cost to both

This post may appear as an overly critical review of no-code tools, but it’s not. The goal is to look at coding and no-coding through different lenses: a designer, a developer and a product founder. This article explores product end goals and output. The no-code movement is growing. Ne...

Stop using Data Transfer Objects (DTOs) in your code

Goals and objectives vary a lot depending on your organization's goals and constraints. When I was a consultant, I was essentially “outsourced” to help with a particular project for a short period of time. You get exposed to very diverse projects and different ways of doing things. ...

How to build a culture of code quality

A code quality culture is essential to stay ahead of your competition. High code quality ensures your codebase is maintainable, scalable, and efficient. While a culture of code quality is an internal aspect of your engineering team, it directly affects your end users. High-quality code allows you to...

Why Data Quality Is Harder than Code Quality

As a data engineer, I always feel less confident about the quality of data I handle than the quality of code I write. Code, at least, I can run it interactively and write tests before deploying to production. Data, I most often have to wait for it to flow through the system and be used to encounter ...

Clear Code: How To Write Code That Is Easy To Read

This article is a follow up to a tweet I made on how I deal with my poor ability to remember implementation (code). It may seem funny to you, but I do actually tend to forget what I write shortly after writing it. First, we will discuss why you may want to write more legible code as opposed t...

10 essential VS Code tips & tricks for greater productivity

Did you know that 73% of developers worldwide depend on the same code editor? Yes, the 2023 Stack Overflow Developer Survey results are in, and yet again, Visual Studio Code was by far the most used development environment. “Visual Studio Code remains the preferred IDE...

Writing Better Code in Go with the Option Pattern

As developers, we are always looking for better ways to write code that is maintainable, testable, and scalable. In Go, we often see structs with many fields, which can make initialization a pain, especially when some fields are optional. It becomes even more challenging when there are ma...

5 Big Mistakes C# Developers Often Make in Their Code

As C# continues to evolve, offering more features and tools for developers, it’s essential to reflect on common pitfalls and areas where we can improve. Here are five mistakes C# developers often make, along with tips to avoid them. Image by KamaranAydinov on freepik. 1. Neglect...

From Code To Cash: How To Make Money With Software

I’ve done several presentations at conferences and universities. Through these, I make a lot of very nice and interesting contacts. A young gentleman and fellow software engineer in his mid 20s, who had been in the audiences of one of my presentations, recently approached me. He came up with t...

15 JavaScript Techniques to Enhance Your Code

As a popular programming language for web development, JavaScript offers a lot of features and functionalities. Whether you’re a seasoned developer or just getting started, there are always new tips and tricks to learn that can help you write more efficient and effective code. In this blog pos...

Catch all Exceptions in JavaScript

JavaScript, you can catch all exceptions, including both built-in errors and custom errors, by using a try-catch block with a catch clause that acts as a catch-all for any type of exception. This approach allows you to handle unexpected errors and prevent them from causing your p...

Maximizing code efficiency with base r + dplyr

Data is messy. In order to glean insight from the millions of datapoints that carousel across our screens daily, we need to understand how to manipulate them. In my experience as a data scientist and analyst, tidyverse’s dplyr package provides some of the best tools on the market to wrang...

The Ugly Truth About Messy Code: Why Writing Clean Code is Not Optional

Hey there, code warriors! Are you tired of wading through a sea of spaghetti code? Do you long for the sweet, sweet embrace of clean code (whatever that means)? Well, you’ve come to the right place. Because today, I’m going to show you the one thing that separates the pros from ...

Get Started With JavaScript

If you are in the IT field, then you must hear about the programming language JavaScript. There is also a myth that Java and JavaScript are the same, the fact is no, when javascript was made Java was a popular language, so its name was decided as javascript. According to a survey in 202...

Code Smells in Angular

In one of my previous post I talked about “Clean Frontend Architecture” and principles that should be followed in order to positively influence the maintainability and scalability of frontend applications. This time I would like to show the most common “Code Smells”...

Elevating React Development with DRY Principles: Techniques for Code Efficiency

Programming is often considered more of a craft than a mere job, and rightfully so. In our roles as developers, it’s imperative that we continually strive for excellence in the quality of software we produce. To guide us in this endeavor, there exist invaluable principles, one of which is the ...

Can You Get the Information on the QR Code Image Just by Using Javascript?

Recently, I found something very interesting and it is about QR codes. It is really amazing that you can use pure JavaScript to parse the QR code image and get the content it represents. 1.# Friends, try it, please! My friends, I have prepared an online example for you, you just need to cop...

Typescript Best Practices

I have been extensively using Typescript since the beginning of this year. The reason for this can be attributed to its popularity, as it was ranked 4th in Github’s language rankings for 2022. Additionally, it appears on most job descriptions, with over 801,000 job offers explicitly ...

Angular: Best Practices for 2023

Angular development is known for its robustness, scalability, and performance, making it popular among web development companies and developers. Hence adopting best practices in Angular development leads to consistency, code readability, performance, maintainability, and scalability. It helps tea...

Python Logs Aren’t Code. They’re A Communication Tool.

Your Present & Future Self Will Hate You For Forgetting To Do This Programming Chore Nothing will ruin a programming session faster than bad coffee shop WiFi. And on the particular day I’m recounting, as much as I needed the vanilla latte sitting to my left, I really needed that sweet, ...

My 7-Step Cheat Sheet for Choosing Good Names

aming things can be considered a difficult task because the names chosen for variables, classes, functions, and other elements of the code need to be meaningful, accurate, and easy to understand. In order to keep the codebase clean and maintainable, it’s vital to have good, consistent, nami...

6 Advanced TypeScript tricks for Clean Code

Six advanced TypeScript tips will be covered here, along with examples showing how each one works step by step and their benefits. By using these tips in your own TypeScript code, you not only raise the general standard of your writing but also grow your skills as a TypeScript programmer. ...

How to change/rename the app name in react-native(in android and IOS)

To change the app name in a React Native project, you’ll need to make adjustments both in the code and possibly in the configuration files. Here’s a step-by-step guide on how to do it: Change the Display Name (Visible Name): To change the display name of your app that appears on ...

Validating IPv4 and IPv6 Addresses with Ease — Unveiling the Power of Validation in JavaScript

In this article, we will embark on an enlightening journey to solve an intriguing problem using JavaScript. Our goal is to validate whether a given string represents a valid IPv4 or IPv6 address. Address validation is essential in networking and security applications to ensure the correct format of ...

Maximize Code Security in Your NestJS Applications (Part 1)

As a developer, we all know how critical code security is. The recent data breaches at Optus and Medibank highlight the importance of code security again. So, the question is: how can we write secure code to prevent various types of attacks in web applications? Following best pra...

For Beginners: How to Create your Own Manual React App Without Using Cli

With above command, we begin to obtain a clone of the boilerplate code ready for the React project in the latest version. What is Boilerplate code ? In computer programming, boilerplate code or boilerplate refers to sections of code that have to be included in many places...

Open–closed principle in Javascript.

Creating a large, scalable software project for an enterprise can be a complex endeavor, especially when you’re working with multiple teams. To ensure success, you need a well-thought-out plan and a set of best practices to guide your development process. The Open-Closed Principle (OCP) is ...

The death of the .env file

Six months ago, I advocated for everyone to stop using .env files in favor of approaches using secret management platforms. Since then, I’ve learned and experienced much more about how to manage environment variables effectively. In this article, I argue again for why we should reduce the prac...

Unleash the Power of React Custom Hooks: Your First Dive into Simplicity

Have you ever felt like your React components could use a bit of decluttering? Do you find yourself repeating code patterns and longing for a cleaner, more efficient way to manage your state and logic? If so, you’re not alone. I, too, once grappled with these challenges until I stumbled upon a...

How to Upload Code to GitHub : A Step-by-Step Guide

Tables of Contents Introduction to GitHub Setting Up Your GitHub Account 2.1 Create a GitHub Account 2.2 Creating Your First Repository Git : Local Setup 3.1 Installing Git 3.2 Verifying Git Installation 3.3 Configuring Git Connecting and Uploading Your Code 4.1 Adding and Co...

5 SaaS ideas that you can try now!

If you are studying this article, then you are already familiar with Software as a Service (SaaS) . SaaS is generally a way for people to access software applications over the internet, usually through the cloud. Individuals and businesses of all sizes use SaaS to perform their daily tasks and opera...

5 Different Ways to Add CSS in React

Styling is a crucial aspect of any web application’s user interface. In React, there are various methods to apply CSS styles to your components, each with its own advantages and use cases. In this guide, we’ll walk you through different ways to add CSS to your React components, along wit...

How to improve coding skills

In today’s competitive tech industry, it is essential to have strong coding skills to succeed. Whether you’re a beginner or an experienced developer, improving your coding skills through regular practice can help you stay ahead of the game. In this blog, we will discuss How to improve co...

What are Facades in Laravel and Why Do We Use Them?

Many of beginner don’t now too much about Facades, even though it’s one of the must important architecture concepts in Laravel and understanding it will help to make more powerful and professional projects. So, What is Facades? As a Laravel programmer you have seen Route::...

How to get user location in the browser using JavaScript?

You can use the Geolocation API in JavaScript to retrieve the user’s location in a web browser. Here’s a basic example of how to do it: // Check if geolocation is available in the browser if ("geolocation" in navigator) { // Get the user's current location n...

Stop Wasting Your Time Learning To Code

Remember back in 2002 when we were able to charge $400k for a website that hit a database? Those were some amazing times, and I’m glad I put that money away. But the game changed right? Companies found out they could hire developers from India, Pakistan, and Russia and pay them pennies o...

Python Logs Aren’t Code. They’re A Communication Tool.

Nothing will ruin a programming session faster than bad coffee shop WiFi. And on the particular day I’m recounting, as much as I needed the vanilla latte sitting to my left, I really needed that sweet, sweet public broadband because the power was out at home and, more importantly, so was the c...

Simplify Airflow DAG Creation and Maintenance with Hamilton in 8 minutes

This post walks you through the benefits of having two open source projects, Hamilton and Airflow, and their directed acyclic graphs (DAGs) work in tandem. At a high level Airflow is responsible for orchestration (think macro) and Hamilton helps author clean and maintainable...

Python Optimization Guide: Make Your Code Run 5X Faster

In the world of programming languages, Python stands tall as one of the most versatile languages that offer simplicity and readability. Python has become popular among developers due to its easy-to-read syntax, object-oriented nature, community support and large pool of libraries. It can be used in ...

Visualising Forest Cover Evolution in India using Python

We will use python visualisations to observe trends of state-wise forest cover over the years in India Introduction India is famous for its natural diversity and one of the most contributing factor to this diversity is, its forests. From the very childhood, however, I have been reading about d...

Like Streamlit, but faster and with a visual UI editor. Streamsync.

Streamsync is a new open-source framework for creating data apps. It allows you to build the user interface using a visual editor, while retaining the power of Python in the backend. It’s all contained in a pip-installable package. Streamsync’s visual editor, Streamsync Builder. ...

10 Python Projects with Code

Python is a versatile programming language known for its simplicity and readability. It is widely used for web development, data analysis, machine learning, and automation. One of the best ways to improve your Python skills is by working on practical projects. In this blog post, we will explore ten ...

Python Profiling — Why and Where Your Code is Slow

Picture this: you write a script to process some data on your laptop, go for a coffee break, and when you return in 15 minutes, it’s barely 10% done. Why is it so slow? Which part is slow? Is it reading the data, processing it, or saving it? How do I make it faster? Is it even actually...

Python Comments: The Voice of Code Explanation

Comments in Python are like the storytellers of your code. They explain, they clarify, and sometimes, they even stay quiet to let the code shine. In this article, we’ll dive into the world of Python comments and learn how they play an essential role in the programming narrative. Understandi...

How I improved my python code Performance by 371%!

Before getting started let’s discuss the problem statement in hand. I wanted to analyze some data stored in a text file. Each row contained four numerical values demlimited by a space, for a total of 46.66M rows. The size of the file is around 1.11 GB, and I am attaching a small screen shot of...

__init__ Files in Python: How to Organize Your Code into Logical and Reusable Units

Python’s module system is a powerful tool that helps developers to organize their code into reusable, logical units, thereby enhancing maintainability and readability. This article explores the intricacies of Python modules, with a focus on the __init__.py file, various import approa...

6 Things I Wish I Knew Earlier About requirements.txt

1) How to install everything inside requirements.txt requirements.txt contains the required libraries for a project that needs to be installed (usually using pip). A simple example: library-one==1.0.1 library-two==3.1.4 library-three==100.1.0 To install all 3 libraries, we can run ...

Feature Importance Analysis in Machine Learning

Hello, everyone! My name is Anar. I am a machine learning engineer and, as a side gig, a co-owner of SPUNCH, where I have the honor of exploring new horizons in Data Science :) In this series of articles, I will focus on real-life cases from the business world that have helped me and, I hope, will...

Build a Custom Langchain Tool for Generating and Executing Code

In the previous articles (1,2), we saw that LLMs could generate and execute coding instructions sequences — however, often, they get stuck on errors, especially related to package installation. I wanted to have something similar to Langchain Python REPL, but that instead: Allowed the ...

How to be a pro in Python using Decorators

In Python, a decorator is a way of modifying or enhancing the behavior of a function or class without changing its source code. Decorators are essentially functions that take a function as input and return a modified function as output. Decorators are defined using the “@” symbol...

4 Best Practices to Ensure Code Quality

Code quality is one of the most important aspects of software development. It affects not only the performance and reliability of the software, but also the productivity and satisfaction of the developers. In this blog post, I will share some tips on how to improve code quality using four practices:...

Creating your first AI app

This article will guide you through creating your first application that uses AI, to see just how simple yet powerful it is. We will create an application that takes user input and generates a short poem using that input. Without AI, this would be a very complex task. For this article we&rsquo...

How to write better code — follow the interface

If each component is manufacturered and measured according to a standard specs, it can be swapped with other standard-component components. Interface Stability benefits both the programmer and the Operating System Provider. example: open system call Your work as a programmer is simplifie...

Confirmed: Code Coverage Is a Useless Management Metric

There is a strong belief that code coverage is a strong metric to measure the quality of a software product, a belief that’s been shared without question among tech leaders for many years. Its rationale seems sound on the surface: the more thorough the testing, the higher the code coverage, an...

From Python to Beyond: A Memoir

As I typed the very first print(‘hello world’) statement and hit run on my battered Dell Latitude E5400 laptop, (the said machine truly deserves a standing ovation) my eyes lit up with excitement. I was following along Mark Lutz’ masterpiece — Learnin...

Visual Studio Code Extensions You NEED!

As a developer, you are always looking for ways to improve your workflow and increase your productivity. Visual Studio Code (VS Code) is a popular code editor that offers a wide range of features and extensions to help you take your coding to the next level. In this article, we will explore some of ...

The value of code

Sooner or later, every software engineering organization is faced with the task of trying to evaluate the productivity of their team and the performance of its members. And invariably, the conversation turns into a discussion about whether, or how much, to measure code output as an individual produc...

21 Python Tips And Concepts To Improve Your Code

Python is easy to write and understand but you can quickly use it the wrong way and jump into a minefield of anti-patterns. This post curates a list of 21 concise tips that improve your code readability and efficiency. They are drawn from personal projects, thorough code reviews, and inspiring di...

It’s Not You, It’s Me: Improving the Quality of Deliverables Through an Effective Code Review

Software development is not getting simpler. Nowadays any application seems that needs to be cloud-based, event-driven, and provide high levels of scalability and fault-tolerant. The consequence of this scenario is that the code review stage of your development lifecycle becomes increasingly more...

Mastering .NET Development: Best Practices for Clean and Maintainable Code

As a seasoned software engineer with 10 years of experience in .NET and C# development, I have learned that writing clean and maintainable code is essential for a project’s long-term success. In this blog post, I will share some of the best practices and tips for writing clean, efficient, and ...

Code Rot Is a Process Decision

I’ve had the great fortune to work for an organization that made a good-faith effort to empower its teams. And I’ve worked at other places that didn’t. In my role as a dev lead, therefore, I’ve seen firsthand the difference between the two: empowered and… what&rsquo...

GitHub Copilot is Code Cloning 2.0

The coding community loves one thing overwhelmingly, but begrudgingly admits: a shortcut. The shortcuts show up as object, function and variable naming schemes and conventions. The shortcuts show up as time complexity optimization hacks. Or the shortcut shows up as a beta software product or platfor...

Refactoring agile fragile code is the gift that keeps on giving

I’ve been around the dev work block. There have been some good and fun projects. Then there have also been horror shows. But it doesn’t matter what feelings I have towards the code, they all have one thing in common — they all need to be refactored, eventually. Refactoring is on...

30 Best Practices for Clean JavaScript Code [Bonus tips at the end

No waste of time. Let's go directly into it. 1. Avoid Global Variables Bad Example: var x = 10; function calculate() { // Using the global variable x return x * 2; }j Good Example: function calculate(x) { // Pass x as a parameter return x * 2; } const x...

How To Deprecate APIs The Right Way

The only certainty in software development is that requirements change. How many times has this happened to you? You start a project, develop an app to satisfy the requirements, release it, and everyone is happy. The product manager comes back and asks to add a new feature. Suddenly, you have to ...

My Engineering Manager Origin Story

I always had a negative view of a management role. I didn’t think it was for me. I had trouble understanding what managers even did and how they created value. Above all, I saw a manager role as a threat to what I love most: writing code. But today, I became an engineering manager! ...

How to Chat With Any File from PDFs to Images Using Large Language Models — With Code

So much valuable information is trapped in PDF and image files. Luckily, we have these powerful brains capable of processing those files to find specific information, which in fact is great. But how many of us, deep inside wouldn’t like to have a tool that can answer any question about a ...

Solving Inverse Problems With Physics-Informed DeepONet: A Practical Guide With Code Implementation

In my previous blog, we delved into the concept of physics-informed DeepONet (PI-DeepONet) and explored why it is particularly suitable for operator learning, i.e., learning mappings from an input function to an output function. We also turned theory into code and implemented a PI-DeepONet that...

Build Elegant Web Apps for Your Data Projects Using Low-Code Taipy

Today, when more and more businesses are driving critical decisions based on data, effective communication of insights driving these key decisions holds immense importance. In this process, businesses often need effective low-code tools, such as creating dashboards/web apps to present data to sta...

Introducing IceCream: Never Use Print() To Debug Your Python Code Again

Errors are almost inevitable while programming. In fact, it is rightly said that a programmer spends a significant amount of their time debugging to make their code error-free. While debugging, using print() statements to understand the flow of the pipeline and spot unexpected behavior ...

A comprehensive and hands-on guide to autonomous agents with GPT

Every time I think the pace of advancement in GPT is fast, it gets even faster. In the past month, the concept of GPT/LLM-backed autonomous agents is getting wild — with AutoGPT, the most famous project in this area, getting over 117K stars on GitHub in less than a month since its release and ...

Elon Musk has these three goals for his AI company

Elon Musk, the tech visionary known for his groundbreaking ventures, is setting his sights on the world of artificial intelligence (AI) with his latest endeavor, xAI. In a forthcoming book, journalist Walter Isaacson provides an exclusive look into Musk’s thoughts about the future and reveals ...

Bushido: The Timeless & Fascinating Code of the Samurai

The Samurai are one of the most iconic figures in Japanese history. They were members of a powerful warrior class who emerged during the feudal era of Japan, and who played a critical role in shaping the country’s political and social landscape. But what really defined these warriors&nbsp...

Cracking the Code: HR’s Top Tactics to Boost Employee Office Arrival Punctuality

Are you tired of playing the waiting game every morning, wondering when your employees will finally stroll into the office? Punctuality can be a real struggle for many workplaces, but fear not, because HR has a few tricks up its sleeve to make sure everyone’s in sync with the office clock! ...

Confirmed: Code Coverage Is a Useless Management Metric

There is a strong belief that code coverage is a strong metric to measure the quality of a software product, a belief that’s been shared without question among tech leaders for many years. Its rationale seems sound on the surface: the more thorough the testing, the higher the code coverage, an...

Every Code Owner should be using this Github file

Here’s the situation: you have a nice repository with your outstanding development, and you start receiving helpful contributions to your code. But what if someone touches a file or folder that wasn’t meant to be changed by everyone? You probably start thinking about assigning respo...

Drawing with code: an intro to CSS art

What is CSS Art? CSS art lies at the intersection of vector illustration and front-end development. It involves manipulating HTML <div> elements with CSS to render shapes in the browser. These shapes are customized by assigning values to various properties like height, b...

Getting Started with C# MonoGame in VS code

If you want to run C# and MonoGame in VS code, here it is step-by-step! + Presenting my project. This is a tutorial for Windows users, Linux version coming soon. For Game development, why MonoGame? Here some points: The API is multi-plataform, allowing make games for Linux, Mac, ...

Creating Space Invaders clone with PyGame in 100 lines of code or less

If you ever wanted to make Space Invaders in Python, but were too lazy to do it, here’s a short tutorial with GIFS! >>basic settings First I create the Game class that will control the game. Then I initialize pygame instance and the alien list. I set the refresh rate to 6...

Code Sekai — Dev log | July 2023

August is coming, It’s time for our Code Sekai’s Devlog! Our dedicated team has been hard at work, making continuous progress and developments to maintain the project’s momentum post-launch. Let’s dive into the highlights of our Grand Opening Tournament! Community Enga...

Video Game Code Names, Ranked

We got a lame reveal of the specs for Scorpio, and no name, price, look, or any other actually important details. Which begs the question: is Scorpio the greatest code name in video game console history? Well, it’s time to do the internet’s favorite thing (no, not harassment), ranki...

The Cosmic Significance of the ‘Rosebud;!’ Cheat Code

We built fancy houses, installed fire alarms, and laughed at the foibles of the babbling virtual people. When he went to bed, I even dared to flirt with the ridiculously seductive Bella Goth: One day, he taught me the “Rosebud;!” cheat code like it was a drug deal. “This will ge...

From “spaghetti code” to “spaghetti architecture”

Note: All the names and events in this story are fictional, and any resemblance to real people or events is purely coincidental. The story is completely made-up but is inspired by a mix of a few common patterns I have either seen myself or heard from others in the past few y...

Cracking the Code: How Databricks Built a Data-Driven Empire

In today’s digital realm, where data reigns supreme, companies are on a relentless quest to unlock its treasure trove and gain the upper hand. Enter Databricks, the undisputed champion in the data and analytics arena. But what’s the secret sauce that makes Databricks so irresistible? Wel...

Top 10 Must-Have VS Code Extensions for Everyday Use!

Visual Studio Code (VS Code) reigns supreme as the go-to text editor, and its magic lies in its extensibility. With a wealth of vs code extensions at your fingertips, you can personalize your coding environment to suit your unique needs. Top 10 Must-Have VS Code Extensions For Everyday U...

Using Terraform Test for testing your terraform code

Hashicorp has introduced its testing framework officially (terraform test). Note: This testing framework is available in Terraform v1.6.0 and later. Terraform tests let authors validate that module configuration updates do not introduce breaking changes. Tests run against test-specific, short-...

FinOps as Code: Terraforming Cloud Cost Management

As cloud budgets continue to grow as the #2 line item behind salaries for many companies, cloud practitioners are becoming more attuned to the FinOps imperative — the need to optimize cloud costs, budgets, and cost allocation. In addition, most major organizations employ multiple cloud service...

Unlocking the Power of Terraform Modules: Simplify and Scale Your Infrastructure as Code

The need for efficient and scalable solutions is paramount in the dynamic world of cloud infrastructure and DevOps. As organizations increasingly adopt Infrastructure as Code (IaC) to manage and provision their cloud resources, Terraform has emerged as a powerful and versatile tool. Terraform enable...

Infrastructure as Code with Terraform

What is Terraform? Terraform is an infrastructure as code (IaC) tool that allows you to create, manage, and update infrastructure resources such as virtual machines, networks, and storage in a repeatable, scalable, and automated way. Task 1: Install Terraform on your system. Create an EC...

How to write less code in tests

One year ago we started trying Maestro. It’s a game changer for the UI tests! As our UI tests were a mess, we got encouraged to try it. The results for the first use case were impressive: we reduced from more than 260 lines to just 21, almost 92% less! It’s well kn...

10 tips to increase your iOS code quality (pt. 2)

Quick and straight to the point, here are 10 tips that you can adopt in your iOS projects. If you want to check part 1 and add another 10 tips to your toolkit, here it is  10 quick tips to increase your iOS code quality Practical Strategies for Elevating Your iOS Code Quality bloren...

Beautify Code Without Optionals in Swift

Optionality, while safe, can provide us with multiple issues that we need to handle and/or compensate for. I’ll be going through ways of handling optionals within function returns here so that whoever needs to consume it doesn’t have to deal with optionals. They can be applied to othe...

Clean Code Review: Removing All the Extra Types

I recently came across an interesting post on the r/swift subreddit that featured an example of a “Clean Code” project, which doesn’t happen all too often. I was intrigued and decided to check it out on GitHub, then proceeded to download it, set it up, and try it myself. ...

10 quick tips to increase your iOS code quality

Writing quality code is a continuous improvement process. We all improve over the years if we continue to practice. The code that you write today is probably better than the code you wrote two years ago, and it will probably be worse than the code you’ll write one year from now. And that&rs...

8 Advanced Python CLI Tricks To Save You From Writing Code

Yes, you can leverage the power of Python without writing any code. The trick is to invoke Python's built-in modules, third-party packages, or your own modules in a way that makes them execute from your command line interface directly. As long as you installed Python, the implementation of...

How to fix the “Error code: 9” update problem in Microsoft Edge for MacOS

It started appearing on my comp a week ago. Microsoft screwed up something during the auto-update. I tried many things myself, but I failed. So, I had to go to the Technical Communities, where I found a thread on the subject. Initially, I could only find people who could feel sympathetic ...

Setting up SSH Remote Development using Visual Studio Code on macOS

My desktop and laptop computers are both Apple Macs and are also both Apple Silicon. This makes certain tasks harder than they should be. For instance I want to deploy my website project to a server running on Intel / AMD x86_64 but the only way I could test that before I pushed the project into pro...

Getting started with Rust in Visual Studio Code

Interested in learning Rust? Rust is becoming increasingly popular, largely due to its built-in memory safety and phenomenal performance. With some of the world’s largest companies like Microsoft and Amazon adopting Rust in their own organisations, and supporting the development community, Rus...

CoderDojo at Storm ID — Learn to Code in Edinburgh

We’re excited to officially kick off a series of monthly coding lessons for children and teenagers interested in the world of digital, commencing this April! Members of Storm ID and Storm Ideas (full of knowledge about coding and equally full of enthusiasm to pass this k...

Measure your code coverage using Istanbul (with a demo)

It’s well understood that unit testing improves the quality and the maintainability of source code. BUT… how can we gauge the quality of our unit tests? Enter: code coverage measurement tools! Essentially, code coverage is a simple measurement of the percentage of our sourc...

Understanding JavaScript Code Coverage

This is the first of a two-post series in which we try to understand how code coverage is measured and reported in JavaScript by building a simple code coverage tool ourselves. You can find the second post here and the reference code for this exercise here. I have always been fasci...

Understanding JavaScript Code Coverage

This is the second of a two-post series in which we try to understand how code coverage is measured and reported in JavaScript by building a simple code coverage tool ourselves. You can find the first post here and the reference code for this exercise here. By the end of the l...

Unraveling the Coffee Code: Data-Driven Analysis into Istanbul Café Locations — subdue ver.

In the following script, I will be excavating into the cityscape of Istanbul. The threefold objective is to examine the city’s population distribution, the geographical spread of coffee shops, and the average Airbnb rental prices across various neighborhoods. Data All the data used in th...

The Theodosian Code

The Theodosian Code was created out of need, not want. While Roman Law was a paragon of organization and bureaucracy, after nine centuries of laws piling on top of each other it had reached a breaking point. Lawmakers moved to create a clear, singular book of laws instead of relying on various sourc...

Women Who Code Network Launches in Vancouver

VANCOUVER — January 19th, 2017 — Women Who Code (WWCode), the world’s largest non-profit organization dedicated to supporting female engineers in their professional goals, announces the establishment of a local Network in Vancouver, BC. The inaugural e...

Beyond the Code: Carbon Impact of Large Language Models (LLMs)

I’m sure you’ve heard of ChatGPT, Copilot, or any of the other many (many, many, many) AI tools hitting the tech scene. But something a little more nuanced is coming to light–and that’s the environmental costs. I mean, ‘L’ in LLM doesn’t exactly stand for &r...

Cracking the Code: The Women of STEM Who Are Changing the Game

Throughout history, women have made major contributions to the STEM (Science, Technology, Engineering, and Mathematics) fields, yet their accomplishments have frequently gone unnoticed and are underrepresented in the media. Women continue to advance in STEM despite the obstacles they confront, dispe...

Inclusive Code-struction: A How-To Guide

This is a powerful truth we must keep in mind as developers. It’s easy to fall into the trap of using language or syntax that may not be inclusive or considerate of all users. This can take many forms, from insensitive terms to assumptions about the experiences of different users. But with awa...

Nature’s Code

On the canvas of existence, equations unfold, Tao’s brushstroke in the stories told. Quantum whispers in the rustling trees, Zen moments in the hum of the cosmic seas. Fractals spiraling, the nautilus’ chambered shell, Golden ratios in sunflower seed heads that swell. Sacred geom...

US Constitution & Numerology: The Hidden Code

Greetings, dear readers! Today, we embark on an intriguing exploration that intertwines history, politics, and the mystical world of numerology. Yes, you heard it right: numerology, the ancient study that uncovers the profound significance of numbers and their influence on human life. What does n...

U.S. Supreme Court Takes Charge: New Ethics Code Promises Accountability and Transparency!

In a ground-breaking decision that comes after months of scrutiny and controversies over undisclosed gifts, the Supreme Court confronts its own set of rules for the first time. The release of this code marks a significant turning point for the Supreme Court, which has faced increasing criticism...

A Peek at the Supreme Court’s New Code of Ethics

The Supreme Court has been under fire recently for perceived lapses in ethical judgement. Recent events have reduced confidence in the institution to an all-time low. In an effort to restore sagging confidence, the Court, for the first time in history, put together a code of ethics. So, here is a...

Why black people won’t go anywhere in their careers without code-switching

Code-switching is when an outcast of a group changes the way they act in order to fit into that group. This can be an unconscious decision as well as a conscious one. When you read this the first thing that might come to your mind may be kids when they’re trying to be cool, or people at work w...

Adding α,α-disubstituted and β-linked monomers to the genetic code of an organism

The paper describes a new method called “tRNA display” to engineer orthogonal aminoacyl-tRNA synthetases that can attach non-canonical monomers (ncMs) to tRNAs, independent of whether the ncMs can be polymerized by the ribosome. Current methods rely on the ncM being a ribosomal substrate...

90% of New Code of PostgreSQL is Written by Just 50 People, Proudly OpenPie Takes a Seat

As one of the most popular open source databases in the world, PostgreSQL won the DB-Engines DBMS of the Year 2023. However, its number of global committers has remained at a small number (about 30 people) for a long time, and Chinese people are rarely included in the global contributor list . ...

The Code Written Within Us

I think about how genetics and software are very similar. In genetic terms, as a result of the translation of encoded data into proteins by living cells, the code works unless an error or mistake is made. If there is an error in the codes, errors will occur in protein synthesis, meaning the code wil...

Genesis Code: Cracking the Genetic Blueprint for Customized Evolution

The Genesis Code is a deciphering of the complex language of human DNA, the result of decades of unceasing study and state-of-the-art technology. Thanks to this revolutionary finding, scientists now have unparalleled access to the genetic code that makes life possible. With the ability to choose its...

From Medicine to Code: A Journey of Passion and Perseverance

My journey took an unexpected turn when my academic performance fell short, and the doors to a future in medicine seemed firmly shut. Rejection after rejection from government universities left me at a crossroads, grappling with uncertainty about my next steps. Determined to chart a new course, I co...

Cracking the code

Peter Drucker, the father of modern management, wrote a book called The Effective Executive. The biggest take away for me was that we are all executives, that is we all make numerous choices everyday. Being effective at making choices is one thing, making the right choices is quite another. Life ...

Institutional code and human behavior (1)

The things that make us most uniquely human are social. Language, art, music, architecture, economy, religion. These all have an audience… They’re all about producing something that is meant to be interpreted or used by others. I would suggest that this isn’t just because human...

Saying ‘I Love You’ In Morse Code

At last. At last, you found that person who you think is different. At last, you found a keeper. At last, you found a person whom you can single out from the crowd. And you want to propose to this special one in a special way. You want to cherish this moment of professing your love. So you decide to...

Why Don’t People Code in Chinese?

Chinese characters are perhaps one of the oldest written forms still in use today. When the characters were first invented, they were logograms resembling the shapes and forms of things they were used to describe. Over time, the characters have evolved to be written more easily, and most of the orig...

A Primer on Code Mixing & Code Switching!

I grew up speaking Telugu and English and have a fair command of Hindi. Even though I usually speak Telugu at home, I always notice other languages tend to find their way into my conversations. I use to wonder why?? Linguists refer to this use of two or more languages concurrently in a conversati...

Sociopolitical Meaning of Mandarin-Cantonese Code-switching

Code-switching and borrowing are two sides of the same sociolinguistic coin, since there is a strong positive correlation between synchronic alternations from one language to another and the actual diachronic transfer of linguistic form/pattern from one to the other. In my last article, I analy...