10 Matching Annotations
- Sep 2022
-
rbspy.github.io rbspy.github.io
-
Because rbspy is a sampling profiler (not a tracing profiler), it actually can't tell you how times a function was called -- it just reports "hey, I observed your program 100,000 times, and 98,000 of those times it was in the calculate_thing function". ruby-prof is a tracing profiler for Ruby, which can tell you exactly how many times each function was called at the cost of being higher overhead.
-
- Jul 2022
-
bdunagan.com bdunagan.com
-
All seem focused on rendering the 404 page manually. However, I wanted to make rescue_from work. My solution is the catch-all route and raising the exception manually.
-
- Nov 2021
-
www.varvet.com www.varvet.com
-
But it is kind of verbose, and it’s also a lot slower, so I can understand why the model test might be preferred.
-
- Nov 2020
-
github.com github.com
-
Those frameworks are used in a similar fashion, but conceptually use quite different approaches (Vue is a more traditional one, a library, and Svelte is a "dissapearing framework").
interesting wording: Svelte is a "disappearing framework".
-
-
material.io material.io
-
Depending on your needs, you can use the Simple Approach: Wrapping MDC Web Vanilla Components, or the Advanced Approach: Using Foundations and Adapters.
-
- Oct 2020
-
stackoverflow.com stackoverflow.com
-
that a better and cleaner approach would be to use computed properties and a validation library that is decoupled for the UI (like hapi/joi).
-
-
medium.com medium.com
-
Svelte chooses a reverse approach.
-
-
-
In contrast, React apps shun templates and require the developer to create their DOM in Javascript, typically aided with JSX.
-
- Sep 2020
-
medium.com medium.com
-
While Webpack is focused on using CommonJS as its primary module system and converting everything to that, Rollup decided to take the opposite approach — focusing on ES Modules instead.
-