17 Matching Annotations
- Sep 2024
-
www.mikeperham.com www.mikeperham.com
-
I can firmly recommend runit if you want a server-focused, reliable init system based on the traditional Unix philosophy.
-
- Jun 2021
-
stackoverflow.com stackoverflow.com
-
https://github.com/rycus86/githooks is a really option for managing hooks It is... safe (it uses an opt-in model, where it will ask for confirmation whether new or changed scripts should be run or not (or disabled)) configurable handles a lot of the details for you lets you keep your hooks nicely organized. For example:
-
-
stackoverflow.com stackoverflow.com
-
Or if you're looking for a core extension that adds this to the Array class, I'd recommend the facets gem (require 'facets/array/average'). Then you can just do array.average. And, from looking at the source, it turns out they do the exact same thing as the instance_eval approach above. The only difference is that it's implemented as a method—which of course already has self pointing to itself—instead of a block): def average; return nil if empty?; reduce(:+) / length.to_f; end Main advantage of this is that it's even more concise/readable and it handles the empty? case.
-
- Feb 2021
-
github.com github.com
-
While Trailblazer offers you abstraction layers for all aspects of Ruby On Rails, it does not missionize you. Wherever you want, you may fall back to the "Rails Way" with fat models, monolithic controllers, global helpers, etc. This is not a bad thing, but allows you to step-wise introduce Trailblazer's encapsulation in your app without having to rewrite it.
Tags
- allowing developer/user to pick and choose which pieces to use (allowing use with competing libraries; not being too opinionated; not forcing recommended way on you)
- making changes / switching/migrating gradually/incrementally/step-wise/iteratively
- freedom of user to override specific decision of an authority/vendor (software)
- focus on concepts/design/structure instead of specific/concrete technology/implementation
- Trailblazer
- rails: the Rails way
- newer/better ways of doing things
- leaving the details of implementation/integration up to you
- focus on what it should do, not on how it should do it (implementation details; software design)
- abstractions
Annotators
URL
-
-
github.com github.com
-
@adisos if reform-rails will not match, I suggest to use: https://github.com/orgsync/active_interaction I've switched to it after reform-rails as it was not fully detached from the activerecord, code is a bit hacky and complex to modify, and in overall reform not so flexible as active_interaction. It has multiple params as well: https://github.com/orgsync/active_interaction/blob/master/spec/active_interaction/modules/input_processor_spec.rb#L41
I'm not sure what he meant by:
fully detached from the activerecord I didn't think it was tied to ActiveRecord.
But I definitely agree with:
code is a bit hacky and complex to modify
Tags
- flexibility
- too coupled/dependent
- reform (Ruby)
- evaluating software options
- too complicated
- hard to understand
- active_interaction
- I agree
- pointing out gaps/downsides/cons in competition/alternatives
- recommended option/alternative
- switching/migrating to something different
- recommended software
Annotators
URL
-
- Jan 2021
-
forums.theregister.com forums.theregister.com
-
It is pretty much what Ubuntu 20.04 could have been, but isn't.
-
- Dec 2020
-
github.com github.com
-
-
Some devs prefer Svelte’s minimal approach that defers problems to userland, encouraging more innovation, choice, and fragmentation, and other devs prefer a more fully integrated toolkit with a well-supported happy path.
tag?: what scope of provided features / recommended happy path is needed?
-
- Nov 2020
-
github.com github.com
-
There are actually 3 other libraries that implements material in svelte, i hope this to become the community favorite because using MDC underneath it implements correctly Material guidelines.
-
- Oct 2020
-
-
I recommend folks use https://github.com/shama/bel instead of this package; we've been working hard on it for the past two years to make sure it has all the features you could want to write inline HTML. Hope it's good; closing for now!
-
-
www.reddit.com www.reddit.com
-
People assume any advocacy for things they're not personally stoked about is "shilling".
-
-
softwarerecs.stackexchange.com softwarerecs.stackexchange.com
- Jun 2020
-
www.militarytimes.com www.militarytimes.com
- Apr 2020
-
haveibeenpwned.com haveibeenpwned.com
- Dec 2019
-
github.com github.com
-
If you need a tool to backup your documents and files please take a look at the excellent BackInTime application which is more configurable and provides options for saving user files.
-
- Nov 2019
-
www.valentinog.com www.valentinog.com
-
Here are my tools of choice for testing React apps:react-test-renderer for snapshot unit testingAct API for unit testing React componentsJest for unit and integration testing of JavaScript codeCypress for end to end / ui testing
-