Welcome to my blog!

Hirad Daneshvar

My name is Hirad Daneshvar, an I'm a Research Assistant (Ph.D. Candidate) at Toronto Metropolitan University.

I have 5+ years of experience as a software engineer and database developer, and I have been conducting research on applied deep learning for more than 5 years.

I initially started this blog to share solutions to problems I faced as a developer. Then I became interested in sharing my knowledge in different areas.

You can checkout my personal website at https://hdaneshvar.com to learn more about me and to find ways to connect.

Latest Posts

Python Virtual Environment
Python

Python Virtual Environment

Jan 29, 2025

In this post I want to talk about virtual environments in Python and why we need them. This is especially important if you are using Python to impleme...

Continue reading
MongoDB Indexes - Part 2
MongoDB

MongoDB Indexes - Part 2

Mar 21, 2020

This is part two of a two-part series on MongoDB indexes. In my previous post, I talked about what indexes are, how they can help us, and some types o...

Continue reading
MongoDB Indexes - Part 1
MongoDB

MongoDB Indexes - Part 1

Feb 18, 2019

In this post, I will try to explain what indexes in MongoDB are and how they help you improve the performance of your application. We will be talking ...

Continue reading
MongoDB One-to-Many and Many-to-Many (Basics)
MongoDB

MongoDB One-to-Many and Many-to-Many (Basics)

Jun 1, 2018

In my previous post I talked about sub-documents. If you are here, this means you have a compelling reason not to use sub-documents (probably reasons ...

Continue reading
MongoDB sub-documents (Basics)
MongoDB

MongoDB sub-documents (Basics)

Apr 27, 2018

As we all know, MongoDB is a document-oriented database which is a NoSQL database. One of the great features of MongoDB is supporting sub-documents. I...

Continue reading
MySQL Sorting Persian Data
SQL

MySQL Sorting Persian Data

Feb 14, 2016

Introduction: When sorting Persian data in mysql, Persian letters (گ,چ,پ,ژ) are not placed in the right order and they will appear after other letters...

Continue reading