You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dockerfile to create a container with the right deps to quantize models with MLC for CUDA 12.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Many people are confused by the {{mut}} helper because it seems very magical. This gist aims to help you construct a mental model for
understanding what is going on when you use it.
History
Prior to the introduction of {{mut}}, form elements were two-way bound by default.
That is, given this component:
Controllers are a little big of a black sheep in Ember. At one point people thought controllers were going away, and were told not to use them. Since it's unclear what the state of routeable components are, controllers are very much here to stay until that story unfolds. As such, this gist aims to provide some clarity on what controllers are (or should be), and how to use them.
Are Controllers are deprecated?
Nope. ObjectController and ArrayController are deprecated, but the Controller class exists and supersedes them. Controllers sit between your routes and the top level templates used to render those routes. While a route may be the place that obtains your data, a controller is the abstraction on top of that data that you can use to massage the data for presentational purposes. My favorite example of a controller is to combine two lists into a single array for loopin
This gist walks through some best-practices for intermediate routing architecture, augmenting the information already covered in the guides.
It will cover:
Nested routes and outlet placement
Resuing templates for multiple routes
Normalising routes
By the end of the gist, you should be able to make informed decisions about how to structure your routes and their templates.
This guide is not meant to provide all the answers, but to help you understand the tools available to you for architecting your app.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters