Recently Updated Pages
Microservices Explained
Problem with Monolithic architecture At the beginning of application development, the standard w...
What is Spring and Spring Boot?
Spring Framework The Spring Framework is pretty much a framework like Django (but a little diffe...
Common Collections
Vector Allows you to store variable number of values next to each other To create an empty vect...
Enum and Pattern Matching
Defining an Enum Enum or enumeration gives you a way of defining a set of possible values for on...
Using Structs to Structure Related Data
Defining and instantiating structs Struct allows you to compose different type of data together ...
Slice Type
Slice type Slices in Rust let you reference a contiguous sequence of elements in a collection ra...
References and Borrowing
Ownership Rust has it's own way of managing memories that are allocated on the heap. Unlike C, w...
Command substitution vs Process substitution
https://unix.stackexchange.com/a/393352
Variables, types, mutatbility, functions, and control flow
Variables By default variables are immutable in Rust. Once you assign a value to it you cannot c...
Ever wonder what apt-get does underneath?
Shower thoughts This question came from when I was showering one day: What does apt-get or apt o...
Getting started
Hello world fn main() { println!("Hello, world!"); } The main function is always the first f...
Downloading and Installing Rust
Instructions To download and install Rust it is pretty simple. Just run the following curl comma...
CSS Max-width
Max-width This property is interesting because if you specify a max-width, the content's width w...
Parameterization and string substitution
String substitution In the context of building a database query like so: CREATE TABLE fish (nam...
OAuth 2.0
Time before OAuth Before OAuth was invented, a common way to give third-party application access...
All about modules
Two different standards In the browser JavaScript ecosystem, JavaScript modules depends on impor...
Async and await
async keyword async keyword is placed before a function like so: async function f() { return ...
More promise API
Promise.all This API will allow us to take in an iterable, an array of promises and return a new...
Try...catch
Syntax try { // Code } catch (err) { // Error handling } finally { // Excuted always,...
Getters & setters
Virtual property In addition to the normal property that we have for objects, we can also set up...