Advanced Search
Search Results
263 total results found
Lab: Intro to Analytics and Machine Learning
Analytics service Amazon EMR Hadoop framework as service. Data can be analyzed. Athena Analyzed data stored in Amazon S3 bucket using standard SQL statement Elasticsearch Service Allow high speed query Kinesis Collect and process and analyze real-time ...
Lab: Intro to Security, Identity, and Compliance
Security, identity, and compliance AWS Artifact Online portal that give access to AWS security and compliance documentation. You can read documentation about security and how to make your application government compliance. AWS Certificate Manager Issues SS...
Downloading and Installing Rust
Instructions To download and install Rust it is pretty simple. Just run the following curl command and pipe it into bash. curl https://sh.rustup.rs | bash This will install rustup which is a tool that helps you install Rust across all platforms. Update and...
Getting started
Hello world fn main() { println!("Hello, world!"); } The main function is always the first function that is executed in every Rust program. The body of the function is wrapped in {}. println! call is actually not a function call, but rather is calling a R...
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 or yum, pacman does underneath to install all those programs that you have specified? Well you're in luck because the past me have did a good research on how it wo...
Lab: Intro to Developer, Media, Mobile, Migration, Business, IoT
Developers tools Cloud9 IDE in AWS, let you code and then develop services directly from the IDE CodeStar Can manage entire CI/CD pipeline for your application. Have project amangement dashboard, JIRA. X-Ray Make it easy to analyze and debug application,...
Elastic Beanstalk
EB Let you deploy your application without you having to worry about allocating the servers. You just need to worry about writing the code. It also automatically handle capacity provisioning, load balancing, scaling, and application health monitoring. To up...
Variables, types, mutatbility, functions, and control flow
Variables By default variables are immutable in Rust. Once you assign a value to it you cannot change it without explicitly marking the variable as mutable. fn main() { let x = 5; x = 6; // compiler error } In order to make your variable mutable yo...
AWS CLI
AWS rest API This is used by AWS Management Console, AWS CLI, AWS SDK, and other AWS services. So in the backend, HTTP restful request is used for actually carrying out those resource management actions. Documentation is available for those rest API call for...
References and Borrowing
Ownership Rust has it's own way of managing memories that are allocated on the heap. Unlike C, where the burden of allocating and freeing the memory that is allocated on the heap falls on the shoulder of the programmer, Rust manages the memory for you as long...
Command substitution vs Process substitution
https://unix.stackexchange.com/a/393352
Slice Type
Slice type Slices in Rust let you reference a contiguous sequence of elements in a collection rather than referencing the whole collection. It is also a reference so there is no ownership, no moving. Let's start with a string slice that reference to a part ...
Using Structs to Structure Related Data
Defining and instantiating structs Struct allows you to compose different type of data together into one big object, just like structs in C. You will have to name each piece of data that you are using so that you can access them when you instantiate a struct...
Enum and Pattern Matching
Defining an Enum Enum or enumeration gives you a way of defining a set of possible values for one value. "This value can be these possible set of values". To define an enum to be a set of possible values here is an example: enum IpAddrKind { V4, V6, ...
Packages, Crates, and Modules
Crate The smallest unit that the Rust compiler will work with. When you run rustc some_file.rs the file some_file.rs is treated as a crate file. A crate when being compiled can be compiled into two forms, a binary crate or a library crate. Binary crate are p...
Common Collections
Vector Allows you to store variable number of values next to each other To create an empty vector you call the Vec::new function let v: Vec<i32> = Vec::new(); Since we are not inserting any initial values into the vector we will have to provide type annota...
What is Spring and Spring Boot?
Spring Framework The Spring Framework is pretty much a framework like Django (but a little different) that gives you the tools to build a Java applications quickly and conveniently. There are many aspects that the Spring Framework provide and we will go throu...
Running Java Applications
Running Java App In order to run your Java Applications you must first compile all of the source code into it's .class byte code file respectively. Then in order to run your code you have to specify the fully qualified name for the class to the java command. ...