Improving Performance by Writing a Custom Static Asset Server in Rust

The ability to serve static assets is critical for many SaaS products, including Shopblocks. Many of these products will store the files to be served in a segmented way, perhaps across multiple drives, and in multiple folders. At Shopblocks, our setup means that each customer has their assets stored on specific mounted drives, and in specific folders per customer. For ...

Read More »

Python GUI Examples (Tkinter Tutorial)

In this tutorial, we will learn how to develop graphical user interfaces by writing some Python GUI examples using Tkinter package. Tkinter package is shipped with Python as a standard package, so we don’t need to install anything to use it. Tkinter package is a very powerful package. If you already have installed Python, you may use IDLE which is ...

Read More »

jQuery ColorPicker Example

Hello readers, in this basic example, developers will learn what jQuery is and how to integrate a ColorPicker component for jQuery. 1. Introduction jQuery is nothing but a JavaScript library that comes with the rich functionalities. It’s small and faster than many JavaScript code written by an average web developer. By using jQuery developers can write less code and do ...

Read More »

Node.js File Upload with Progress Bar Example

In this post we will look at how to upload files using Node.js and show the user a progress bar with the status of the operation. Node.js, as you know, is a Server side JavaScript framework which has shot to prominence recently. A lot of people with existing skills in JavaScript are now able to use the same for server ...

Read More »

jQuery Tutorial for Beginners

Hello readers, every decent programming tutorial will start with a “Hello World!” example and this tutorial is yet another one of them. In this basic example, developers will learn what jQuery is and how to start writing the code using the jQuery library.                   Table Of Contents 1. Introduction 1.1 What we ...

Read More »

Rust for Java Devs – Compiling code and using Cargo

After my last post seemed to be well received I am back with another Rust for Java Devs post. Today we will look at a compiling Rust code and have a brief look at using the basics of Cargo. For a developer there isn’t much difference between how to compile Rust code compared to Java, but where they vary are ...

Read More »

Rust Design Considerations with Borrowing

Rust has a fairly unique way of handling memory-freeing by implementing an ownership system. Each code item you create in Rust is assigned ownership/lifetime at the time of its creation. From that point on, you may choose to let the item be borrowed by things further on within the same scope or allow the ownership to be consumed (taken over) ...

Read More »

AngularJS with SQL Example

Hello readers, in this basic example, developers will learn what AngularJS is and how to make a simple angular application to interact with the database. 1. Introduction 1.1 What is AngularJS? AngularJS is a JavaScript MVC or Model-View-Controller framework developed by Google that lets developers build well structured, easily testable, and maintainable front-end applications. Before we start with creating an ...

Read More »

Doing Multiple Searches in VS Code While Refactoring

I spend a lot of my time refactoring code across a very large, legacy codebase at work. Often times, I’ll do a search for something and work my way through the results over a period of days. Sometimes, something I see might lead me to do another search and a minor refactoring job which is part of the overall refactoring ...

Read More »