- Last 7 days
-
github.com github.com
-
Sure, zero-config one-click installs are nice and all, but:
-
- Feb 2021
-
github.com github.com
-
STATSD_SAMPLE_RATE: (default: 1.0)
It's recommended to configure this library by setting environment variables.
The thing I don't like about configuration via environment variables is that everything is limited/reduced to the string type. You can't even use simple numeric types, let alone nice rich value objects like you could if configuration were done in the native language (Ruby).
If you try to, you get:
ENV['STATSD_SAMPLE_RATE'] = 1 config/initializers/statsd.rb:8:in `[]=': no implicit conversion of Integer into String (TypeError)
-
-
www.schneems.com www.schneems.com
-
programmers can try to be aware of their configuration systems and the cognitive overhead they impose on people.
-
Another thing I don’t like: our asset behavior is decoupled from the assets. If you’re mucking around in your app/assets folder, then you have to first know that such a config exists, and then hunt it down in a totally different config folder. It would be nice if, while we’re working in asset land, we didn’t have to mentally jump around.
-
- Nov 2020
-
github.com github.com
-
Not being cancelable makes validating dialog content impossible - eg a login dialog or anything that takes user input. Of course, it's easy enough to get around - but I think this should be a requirement of a dialog.
-
- Oct 2020
-
-
To silence circular dependencies warnings for let's say moment library use: // rollup.config.js import path from 'path' const onwarn = warning => { // Silence circular dependency warning for moment package if ( warning.code === 'CIRCULAR_DEPENDENCY' && !warning.importer.indexOf(path.normalize('node_modules/moment/src/lib/')) ) { return } console.warn(`(!) ${warning.message}`) }
-
-
en.wikipedia.org en.wikipedia.org
-
Intercepting proxies are commonly used in businesses to enforce acceptable use policy, and to ease administrative overheads since no client browser configuration is required.
-
-
softwareengineering.stackexchange.com softwareengineering.stackexchange.com
-
The concept of Convention over Configuration is impossible without sensible default values. The key word here is "sensible". The default values have to make sense for at least 80% (if not more) of all the uses of a library/service/framework.
-
-
-
The first rule of standard is no configuration. Whatever the outcome of this thread, adding options is the wrong solution.
-
- Sep 2020
-
www.javascriptjanuary.com www.javascriptjanuary.com
-
The problem I have with this approach to state and prop variables is that the difference between them is very blurry. In React you can clearly see that a prop is an input to component (because of clear function notation), and that state is something internal. In Svelte they are both just variables, with the exception that props use export keyword.
This is something I've seen before: people noticing that Svelte is missing some kind of naming convention.
React has use___ convention, for example. Without that, it makes it hard to see the difference between and know just from the name that a function is an (mentioned in the other article I read) action and not a event handler or even component, for example.
-
-
prettier.io prettier.io
-
Prettier borrows ESLint’s override format.
-
Prettier intentionally doesn’t support any kind of global configuration. This is to make sure that when a project is copied to another computer, Prettier’s behavior stays the same. Otherwise, Prettier wouldn’t be able to guarantee that everybody in a team gets the same consistent results.
-
-
github.com github.com
-
-
(This, incidentally, is why the current 'zero-config' marketing fad is such nonsense: it really means 'abdicate the responsibility for config'. Instead of a single place where you can view all the build config in a structured, coherent form, you have the exact same amount of config but scattered around your project in lots of annoying files that are harder to understand.)
-
- Jun 2020
- May 2020
-
docs.gitlab.com docs.gitlab.com
-
Enable the sub-chart The way we’ve chosen to implement compartmentalized sub-charts includes the ability to disable the components that you may not want in a given deployment. For this reason, the first setting you should decide on is enabled.
-
-
about.gitlab.com about.gitlab.com
-
Have adopted CI best practices and are defining their CI/CD pipelines as code
-
-
www.typescriptlang.org www.typescriptlang.org
-
This file that really does nothing but manage other project files is often called a “solution” in some environments.
-
-
www.bounteous.com www.bounteous.com
-
github.com github.com
-
EBM Data Lab - Risk Factors Research
-
- Apr 2020
-
stackoverflow.com stackoverflow.com
-
[link](url){:target="_blank"} Works for jekyll or more specifically kramdown, which is a superset of markdown, as part of Jekyll's (default) configuration. But not for plain markdown. ^_^
-
-
stackoverflow.com stackoverflow.com
-
stackoverflow.com stackoverflow.com
-
github.com github.com
-
klass_name - class name for "User" object. Defaults to User
-
AnyLogin.setup do |config| config.enabled = false end
Tags
Annotators
URL
-
-
github.com github.com
-
If you really want to configure hundreds of ESLint rules individually, you can always use eslint directly with eslint-config-standard to layer your changes on top. standard-eject can help you migrate from standard to eslint and eslint-config-standard.
-
- Mar 2020
-
puppet.com puppet.com
- Feb 2020
-
loadimpact.com loadimpact.com
-
DevOps has taught us that the software development process can be generalized and reused for dealing with change not just in application code but also in infrastructure, docs and tests. It can all just be code.
-
-
-
CAC Isn’t Shipping Apps With Configs A shallow reading of configuration as code might lead you to add a configs folder to your release package and throw in the files. That approach would be wrong and dangerous. That solution means that a configuration change requires a release of the application. This meets the goal of adding an audit trail for configs but muddies the water by mixing them with code changes. If a new feature requires both a code and configuration change, this might make sense. But what if you’re only changing the configuration? What if you’re just increasing a cache setting in production?
-
Configuration as Code vs. Infrastructure as Code Some treat CAC and infrastructure as code (IAC) as the same thing. They’re not, and there’s a reason we have two distinct terms.
-
- Dec 2019
-
github.com github.com
-
A zero-config development setup is provided, but nwb also supports configuration and plugin modules which add extra functionality (e.g. Sass support), should you need them
-
-
neutrinojs.org neutrinojs.org
-
Create and build modern JavaScript applications with zero initial configuration
-
- Nov 2019
-
docs.silverstripe.org docs.silverstripe.org
-
If you really want to be sure your customisation gets loaded first or last, you can use * as your before or after reference.
controlling order
-
before and after also accept arrays of constraints.
controlling order
-
Much like the configuration layer, we need to specify a name for this transformation. This will help other modules negotiate their priority over the injector in relation to yours.
-
-
github.com github.com
-
Onivim 2 leverages the VSCode Extension Host process in its entirety - meaning, eventually, complete support for VSCode extensions and configuration.
-
-
kentcdodds.com kentcdodds.com
-
blog.codinghorror.com blog.codinghorror.com
-
babeljs.io babeljs.io
-
File-relative configuration Babel loads .babelrc (and .babelrc.js / .babelrc.cjs / package.json#babel) files by searching up the directory structure starting from the "filename" being compiled (limited by the caveats below). This can be powerful because it allows you to create independent configurations for subsections of a package. File-relative configurations are also merged over top of project-wide config values, making them potentially useful for specific overrides, though that can also be accomplished through "overrides".
-
- Oct 2019
-
www.rubyraptor.org www.rubyraptor.org
-
Setting up Nginx properly requires quite a bit of work. Using websockets or using Rails streaming? Make sure you disable response buffering for the relevant URIs, otherwise they won’t work correctly. Phusion Passenger 5’s builtin reverse proxy does the right thing by default, without any configuration. In other words: it’s all about making things simple.
-
- Aug 2019
-
prettier.io prettier.io
- Dec 2017
-
chris.beams.io chris.beams.io
-
picking one and sticking to it is far better than the chaos that ensues when everybody does their own thing
-
- Sep 2017
-
github.com github.com
-
www.mygooglest.com www.mygooglest.com
Tags
Annotators
URL
-
- Jan 2014
-
redmonk.com redmonk.com
-
The closest thing to common ground may be events for configuration-management software like PuppetConf or ChefConf, or possibly re:Invent.
-