HowTo

Jorm.jl – An Object Relational Mapper for Julia

Object Relational Mapping (ORM) is a powerful technique that bridges the gap between object-oriented programming languages and relational databases. It simplifies the work of developers when dealing with SQL related databases, making it easier. Jorm.jl is a simple ORM tool designed to simplify interactions between Julia applications and relational databases. This article will delve into what Jorm.jl is, …

Jorm.jl – An Object Relational Mapper for Julia Read More »

Implement Higher Order Functions in Go Lang – Map, Reduce and Filter

Higher-order functions are a fundamental concept in functional programming, and Go is no exception. In some time ago we explored how to implement some of the higher order functions in Python,you can check out the video here . In this tutorial we will learn how to implement them in Go. In Go, higher-order functions are …

Implement Higher Order Functions in Go Lang – Map, Reduce and Filter Read More »

How to use PyGWalker with Flask in Python

Pygwalker is a python framework with a look and feel like Tableau, that allows data scientists to analyze data and visualize patterns with simple drag-and-drop operations. In this tutorial we will see how to use PyGWalker in Flask. We will build a web application whereby a user can upload a csv file and analyze it …

How to use PyGWalker with Flask in Python Read More »

How to Use Jinja-Like Syntax in Julia Web Apps with Oxygen.jl

Oxygen.jl is a simple microframework that is quite useful for creating web apps and APIs in Julia. In my opinion, it is like the Flask of Julia as GenieFramework.jl is like the Django of Julia. Since it is quite new( Sept 2023), it does not yet have support for using Jinja – a templating engine …

How to Use Jinja-Like Syntax in Julia Web Apps with Oxygen.jl Read More »

Copying Model Instance Vs Versioning Model Instance In Django

Recently I was working on a project that involved how to keep track of changes made to a django model. This brought us to consider which approach to use, i.e whether to copy or to version using different strategies. To begin let us understand the different between the two concept. Difference Between Copying A Model …

Copying Model Instance Vs Versioning Model Instance In Django Read More »

How to Work with UFW – Uncomplicated Firewall

Ufw (Uncomplicated Firewall) is a firewall management software which is quite useful during devops and system administrative tasks. By the end of this post, you will learn How to install and setup a firewall How to allow and deny access via ports How to delete rules etc Let us start. Installation and Setup To install …

How to Work with UFW – Uncomplicated Firewall Read More »

Multiple Select with Django Forms

To use a multiple select with Django ModelChoiceField for forms, you should use the ModelMultipleChoiceField instead. This field allows you to select multiple options from a queryset of model instances.Here’s an example of how to use ModelMultipleChoiceField with a multiple select widget in a Django form: Create your models: Define your models in the models.py file. In this example, we have a Tag model and …

Multiple Select with Django Forms Read More »