Rustlings functions3: Passing an argument to a function
lessonDuration 18sFree
[README](https://github.com/ChristopherBiscardi/rustlings/blob/egghead/exercises/functions/README.md) for this exercise.
Browse
Find courses, lessons, articles, talks, and podcasts.
182 resources
Showing 97–120 · Page 5 of 8
lessonDuration 18sFree
[README](https://github.com/ChristopherBiscardi/rustlings/blob/egghead/exercises/functions/README.md) for this exercise.
lessonDuration 1m 38sFree
[README](https://github.com/ChristopherBiscardi/rustlings/blob/egghead/exercises/functions/README.md) for this exercise.
lessonDuration 25sFree
[README](https://github.com/ChristopherBiscardi/rustlings/blob/egghead/exercises/functions/README.md) for this exercise.
lessonDuration 1m 19sFree
[README](https://github.com/ChristopherBiscardi/rustlings/blob/egghead/exercises/error_handling/README.md) for this exercise.
lessonDuration 1m 15sFree
[README](https://github.com/ChristopherBiscardi/rustlings/blob/egghead/exercises/error_handling/README.md) for this exercise.
lessonDuration 21sFree
[README](https://github.com/ChristopherBiscardi/rustlings/blob/egghead/exercises/enums/README.md) for this exercise.
lessonDuration 31sFree
[README](https://github.com/ChristopherBiscardi/rustlings/blob/egghead/exercises/clippy/README.md) for this exercise.
lessonDuration 1m 59sFree
In DynamoDB, it's possible to "age-out" or delete items based on a time-to-live attribute. We cover how to set up such an attribute, what values you need to use, and how they can be used for both deletion of items as well as for aging older data out of dynamo into another table or even S3.
lessonDuration 50sFree
`Ref`s are opaque. To access the fields on a document associated with a `Ref`, we first need to run `Get` on our results and then we can access fields using `Select` ``` Map( Paginate(Match(Index("all_customers"))), Lambda("X", Get(Var("X"))) ) ``` ``` Map( Paginate(Match(Index("all_customers"))), Lambda("X", Select(["data", "firstName"], Get(Var("X")))) ) ```
lessonDuration 56sFree
When working with FQL it's often the case that you'll encounter `Ref`s. `Ref`s don't have any fields on them though! So how do we access the fields? `Get`. ``` Collections() ``` ``` Collection("customers") ``` ``` Ref(Collection("customers"), "244075679454331401") ``` ``` Get(Ref(Collection("customers"), "244075679454331401")) ``` ``` Get(Collection("customers")) ```
lessonDuration 1m 19sFree
The node.js DynamoDB client comes from the aws-sdk package. We cover how to set up the client with your AWS credentials as well as how to use the callback and promise versions of documentclient functions.
lessonDuration 2m 21sFree
DynamoDB's concept of tables roughly maps to the idea of a table or collection you might be used to from other systems. We cover what Attributes are and why they matter, as well as introducing Items, DynamoDB types, and some useful console functionality in the browser.
lessonDuration 3m 9sFree
Global Secondary Indexes, or GSIs, are a great way to enable a variety of access patterns that a regular key/value document store might not be able to handle. GSIs allow us to create sparse indexes and choose what data is projected into our indexes. Using GSIs effectively is critical to building up single table designs.
lessonDuration 1m 1sFree
`Ref`s are opaque. To access the fields on a document associated with a Ref, we first need to run `Get` on our results and then we can access fields using `Select` ``` Map( Paginate(Match(Index("all_customers"))), Lambda("X", Get(Var("X"))) ) ``` ``` Map( Paginate(Match(Index("all_customers"))), Lambda("X", Select(["data", "firstName"], Get(Var("X")))) ) ```
lessonDuration 2m 52sFree
DynamoDB is a serverless-compatible database that AWS hosts and manages *for* you. It includes many of the features you'd expect from a database like backup and restore, transactions, an array of clients (GUI and CLI) * [awesome-dynamodb](https://github.com/alexdebrie/awesome-dynamodb) * Rick Houlihan's [AWS re:Invent 2019: Advanced Design Patterns](https://www.youtube.com/watch?v=6yqfmXiZTlM)
lessonDuration 34sFree
The netlify identity widget overlays the entire page with an iframe. this can cause the application to not receive click events. In this lesson we go over how to fix that.
lessonDuration 57sFree
[README](https://github.com/ChristopherBiscardi/rustlings/blob/egghead/exercises/move_semantics/README.md) for this exercise.
lessonDuration 4m 38sFree
In this lesson we use React hooks such as useState and useReducer in conjunction with theme-ui components to render a working todo application behind our authenticated dashboard
lessonDuration 26sFree
[README](https://github.com/ChristopherBiscardi/rustlings/blob/egghead/exercises/primitive_types/README.md) for this exercise.
lessonDuration 57sFree
[README](https://github.com/ChristopherBiscardi/rustlings/blob/egghead/exercises/modules/README.md) for this exercise.
lessonDuration 12m 21sFree
Kubernetes is an API to a computer. Multiple computers actually. Here we'll talk about what K8s is, how you can choose between the plethora of K8s related hosting options, and what the process looks like for getting some containers running.
lessonDuration 2m 27sFree
We explore primary keys in DynamoDB and their relation to partition keys and sort keys using the AWS console to insert items. Sort keys and uniqueness are used to introduce the concept of creating relationships between items which is what will enable us to build out single table designs in the advanced data modeling videos.
lessonDuration 52sFree
[README](https://github.com/ChristopherBiscardi/rustlings/blob/egghead/exercises/strings/README.md) for this exercise.
lessonDuration 1m 44sFree
MDX allows you to control the rendering of any element from your markdown document, such as the heading, paragraphs, or code blocks. MDXProvider is a component that can be used to supply React components to control the rendering for these components.