- Last 7 days
-
kmonadollaraday.wordpress.com kmonadollaraday.wordpress.com
-
for - search result returned - hypothes.is annotation of - Substack article: The Cosmo-Local Plan for our Next Civilization - Stop Reset Go reply to annotation - Me2We2All - Local Economic Permacultures? - Search - Google - how many silo'd social groups exist on the web on a specific topic? - https://hyp.is/UrdJmMHKEe-nGLd7p-JTcA/4thgenerationcivilization.substack.com/p/the-cosmo-local-plan-for-our-next
Tags
Annotators
URL
-
-
www.google.com www.google.com
-
for - search - Google - how many silo'd social groups exist on the web on a specific topic? - 2024, Dec 26
-
- Dec 2024
-
www.resilience.org www.resilience.org
-
We are guided always by direction, rather than any specific end point.
for - question - direction without specific endpoint.- transcendence- backcasting
question - direction without a specific endpoint - transcendence - Has the author thought about the important role of backcasting, which does require an end point? - If we want to solve the existential polycrisis, which includes the climate crisis, backcasting can be highly effective but it does require both endpoint AND direction. - We need to know what the world will look like in 2030 so and backcast to the present to know what we must do today to move towards that future.
-
- Nov 2024
-
4thgenerationcivilization.substack.com 4thgenerationcivilization.substack.com
-
Domain-specific alliances
for - adjacency - SRG planetary boundary / earth system boundaries working groups - domain specific alliances - Magisteria of the Commons
adjacency - between - SRG planetary boundary / earth system boundaries working groups - domain specific alliances - Magisteria of the Commons - adjacency relationship The domain specific alliances of the Magisteria of the commons is similar to the SRG idea of developing funds version divisions of wealth system boundaries
-
- Sep 2024
-
gist.github.com gist.github.com
-
Try to avoid saying "It doesn't work", sentences like "it doesn't produce any output" are far better.
-
-
www.thelancet.com www.thelancet.com
-
from 6–15% in some landscapes (eg, riparian ecosystems, agricultural landscapes with high crop diversity) to 50% in others (eg, in sloping landscapes, or landscapes where erosion or natural hazards are frequent).
for - earth system boundary - biodiversity - human modified ecosystems - minimum varies depending on specific local context
-
- Jun 2024
-
www.millersbookreview.com www.millersbookreview.com
-
Knowledge is a web of associations. If kids don’t have enough facts to work with, they can’t grasp what they read.
Argument for general knowledge vs. specialistic knowledge?
-
- Apr 2024
-
Local file Local file
-
The small article does reflect however one very general feature 79in modern activity i.e. to treat the specific rather than thegeneral.
-
t our index would refer us to electricitywherever mentioned in the text of our literature if usableinformation is given, and it should also tell us something more—the aspect under which it is treated in each case. Whetherand from what aspect information is usable, that we must decidefor ourselves.
Kaiser speaks here of the issue of missing index entries in commercial and even library-based indexes versus the personal indexing of one's own card index/zettelkasten.
Some of the problem comes down to a question of scale as well as semantics, but there's also something tied up with the levels of specificity from broad category headwords to more specific, and finally down to the level of individual ideas. Some of this can be seen in the levels of specificity within the Syntopicon though there aren't any (?, doublecheck) of links from one idea directly to another.
Note that while there may be direct links from a single idea to another, there is still infinite space by which one can interpose additional ideas between them.
-
- Mar 2024
-
softwareengineering.stackexchange.com softwareengineering.stackexchange.com
-
Don't worry about performance too early though - it's more important to get the design right, and "right" in this case means using the database the way a database is meant to be used, as a transactional system.
-
- Feb 2024
-
unix.stackexchange.com unix.stackexchange.com
-
(It seems reasonable to assume users are often expected to occasionally adapt answers rather than expect to use them verbatim.)
-
- Jan 2024
-
mongoosejs.com mongoosejs.com
-
Instance methods Instances of Models are documents. Documents have many of their own built-in instance methods. We may also define our own custom document instance methods. // define a schema const animalSchema = new Schema({ name: String, type: String }, { // Assign a function to the "methods" object of our animalSchema through schema options. // By following this approach, there is no need to create a separate TS type to define the type of the instance functions. methods: { findSimilarTypes(cb) { return mongoose.model('Animal').find({ type: this.type }, cb); } } }); // Or, assign a function to the "methods" object of our animalSchema animalSchema.methods.findSimilarTypes = function(cb) { return mongoose.model('Animal').find({ type: this.type }, cb); }; Now all of our animal instances have a findSimilarTypes method available to them. const Animal = mongoose.model('Animal', animalSchema); const dog = new Animal({ type: 'dog' }); dog.findSimilarTypes((err, dogs) => { console.log(dogs); // woof }); Overwriting a default mongoose document method may lead to unpredictable results. See this for more details. The example above uses the Schema.methods object directly to save an instance method. You can also use the Schema.method() helper as described here. Do not declare methods using ES6 arrow functions (=>). Arrow functions explicitly prevent binding this, so your method will not have access to the document and the above examples will not work.
Certainly! Let's break down the provided code snippets:
1. What is it and why is it used?
In Mongoose, a schema is a blueprint for defining the structure of documents within a collection. When you define a schema, you can also attach methods to it. These methods become instance methods, meaning they are available on the individual documents (instances) created from that schema.
Instance methods are useful for encapsulating functionality related to a specific document or model instance. They allow you to define custom behavior that can be executed on a specific document. In the given example, the
findSimilarTypes
method is added to instances of theAnimal
model, making it easy to find other animals of the same type.2. Syntax:
Using
methods
object directly in the schema options:javascript const animalSchema = new Schema( { name: String, type: String }, { methods: { findSimilarTypes(cb) { return mongoose.model('Animal').find({ type: this.type }, cb); } } } );
Using
methods
object directly in the schema:javascript animalSchema.methods.findSimilarTypes = function(cb) { return mongoose.model('Animal').find({ type: this.type }, cb); };
Using
Schema.method()
helper:javascript animalSchema.method('findSimilarTypes', function(cb) { return mongoose.model('Animal').find({ type: this.type }, cb); });
3. Explanation in Simple Words with Examples:
Why it's Used:
Imagine you have a collection of animals in your database, and you want to find other animals of the same type. Instead of writing the same logic repeatedly, you can define a method that can be called on each animal instance to find similar types. This helps in keeping your code DRY (Don't Repeat Yourself) and makes it easier to maintain.
Example:
```javascript const mongoose = require('mongoose'); const { Schema } = mongoose;
// Define a schema with a custom instance method const animalSchema = new Schema({ name: String, type: String });
// Add a custom instance method to find similar types animalSchema.methods.findSimilarTypes = function(cb) { return mongoose.model('Animal').find({ type: this.type }, cb); };
// Create the Animal model using the schema const Animal = mongoose.model('Animal', animalSchema);
// Create an instance of Animal const dog = new Animal({ type: 'dog', name: 'Buddy' });
// Use the custom method to find similar types dog.findSimilarTypes((err, similarAnimals) => { console.log(similarAnimals); }); ```
In this example,
findSimilarTypes
is a custom instance method added to theAnimal
schema. When you create an instance of theAnimal
model (e.g., a dog), you can then callfindSimilarTypes
on that instance to find other animals with the same type. The method uses thethis.type
property, which refers to the type of the current animal instance. This allows you to easily reuse the logic for finding similar types across different instances of theAnimal
model.
Tags
Annotators
URL
-
-
gitlab.com gitlab.com
-
Another example are issue boards. They represent elegant use of a good infrastructure — it is all just a smart use of labels. It would be very complex feature without the use of labels.
-
Issue relations are meant to be the basic infrastructure to build on (at least that is how I meant it when I posted the original feature request). Just like the labels are just a binary relation between a issue and a "label", the relations should be just a ternary relation between two issues and a "label". Then you can build issue task lists on top of the relations like you've built issue boards on top of the labels.
-
We already have a very nice example of such tool and its great use: the Board, where labels are used to store metadata and the Board is built above this storage. Do the same with the relations -- simple metadata storage to build on.
-
-
gitlab.com gitlab.com
-
I feel that the current design area should be a key part of the workflow on any work item, not just type of designs. As a PM I don't schedule designs independently. It's odd to open and close a design issue when it doesn't deliver value to the customer.
-
I don't know how much impact the "Design management" widget vs. "Design" object decision will have, except for the extremely small number of teams that work exactly like we do.
-
- Oct 2023
-
ell.stackexchange.com ell.stackexchange.com
-
And as others have pointed out, there is potential for ambiguity: if A is dependent on B, then a dependence or dependency (relationship) exists; but referring to either A or B as the dependency demands context.
"demands context" :)
-
- Sep 2023
-
-
The Chord-Scale Theory and Jazz Harmomny Netles & Graf 1997 (not searchable)
blues progressions - p 101
Tags
- source:nettles-graf
- voicing
- minor-key-harmony
- blues
- blues-harmony
- modal-harmony
- phd-blues-harmony-progressions
- sequential-substitute-V
- harmony
- chord-voicing
- polychords
- reharmonisation-diatonic
- sequential-V
- modes
- nonfunctional-harmony
- cliches
- substitute-V
- chord-symbols-voicing-specific
- chord-scale-theory
Annotators
URL
-
- Jul 2023
-
-
Is the column a boolean column? (i.e. what does User.columns_hash[:admin_created].type return?)
-
- Jun 2023
-
stackoverflow.com stackoverflow.com
-
Have you ever: Been disappointed, surprised or hurt by a library etc. that had a bug that could have been fixed with inheritance and few lines of code, but due to private / final methods and classes were forced to wait for an official patch that might never come? I have. Wanted to use a library for a slightly different use case than was imagined by the authors but were unable to do so because of private / final methods and classes? I have.
-
- Apr 2023
-
stackoverflow.com stackoverflow.com
-
Using --ours did what I was after, just discarding the incoming cherry picked file. @Juan you're totally right about those warning messages needing to say what they did't do, not just why they didn't do it. And a bit more explanation that the ambiguity from the conflict needs to be resolved (by using --ours, etc) would be super helpful to this error message.
-
- Nov 2022
-
www.oauth.com www.oauth.com
-
There are also many reasons refresh tokens may expire prior to any expected lifetime of them as well.
such as...?
-
-
stackoverflow.com stackoverflow.com
-
Please refer to the help center for possible explanations why a question might be removed.
Why not just show the page and let people see the content and decide for themselves if it's helpful? (Could also show the moderation outcome there, with the reason.)
-
-
github.com github.com
-
For example, if using apt to install the main program for the image, be sure to pin it to a specific version (ex: ... apt-get install -y my-package=0.1.0 ...)
-
Rebuilding the same Dockerfile should result in the same version of the image being packaged, even if the second build happens several versions later, or the build should fail outright, such that an inadvertent rebuild of a Dockerfile tagged as 0.1.0 doesn't end up containing 0.2.3.
-
-
hub.docker.com hub.docker.com
-
Note: This repo does not publish or maintain a latest tag. Please declare a specific tag when pulling or referencing images from this repo.
-
- Aug 2022
-
www.nature.com www.nature.com
-
Dolgin, E. (2021). Omicron is supercharging the COVID vaccine booster debate. Nature. https://doi.org/10.1038/d41586-021-03592-2
-
- Mar 2022
-
github.com github.com
-
Your app is specific to Postgres and proud of it. You use the mature declarative data validation that only a real database can provide.
-
-
github.com github.com
-
Capybara can get us part of the way there. It allows us to work with an API rather than manipulating the HTML directly, but what it provides isn't an application specific API. It gives us low-level API methods like find, fill_in, and click_button, but it doesn't provide us with high-level methods to do things like "sign in to the app" or "click the Dashboard item in the navigation bar".
-
- Jan 2022
-
-
Boilerplate is only boilerplate if it's the same everywhere, which it shouldn't be.
-
-
translational-medicine.biomedcentral.com translational-medicine.biomedcentral.com
-
Liu, Y., Ebinger, J. E., Mostafa, R., Budde, P., Gajewski, J., Walker, B., Joung, S., Wu, M., Bräutigam, M., Hesping, F., Rupieper, E., Schubert, A.-S., Zucht, H.-D., Braun, J., Melmed, G. Y., Sobhani, K., Arditi, M., Van Eyk, J. E., Cheng, S., & Fert-Bober, J. (2021). Paradoxical sex-specific patterns of autoantibody response to SARS-CoV-2 infection. Journal of Translational Medicine, 19(1), 524. https://doi.org/10.1186/s12967-021-03184-8
-
- Dec 2021
-
www.medrxiv.org www.medrxiv.org
-
Wilhelm, A., Widera, M., Grikscheit, K., Toptan, T., Schenk, B., Pallas, C., Metzler, M., Kohmer, N., Hoehl, S., Helfritz, F. A., Wolf, T., Goetsch, U., & Ciesek, S. (2021). Reduced Neutralization of SARS-CoV-2 Omicron Variant by Vaccine Sera and monoclonal antibodies (p. 2021.12.07.21267432). https://doi.org/10.1101/2021.12.07.21267432
-
-
www.theguardian.com www.theguardian.com
-
Devlin, H., & Kollewe, J. (2021, November 26). BioNTech says it could tweak Covid vaccine in 100 days if needed. The Guardian. https://www.theguardian.com/society/2021/nov/26/biontech-says-it-could-tweak-covid-vaccine-in-100-days-if-needed
Tags
- vaccine
- protection
- development
- spike protein
- is:news
- variant
- COVID-19
- clinical trials
- science
- research
- transmissibility
- immunity
- BioNTech
- booster
- lang:en
- variant-specific booster
- escape variant
- Omicron
- mutation
- Pfizer
- effectiveness
Annotators
URL
theguardian.com/society/2021/nov/26/biontech-says-it-could-tweak-covid-vaccine-in-100-days-if-needed -
- Sep 2021
-
www.acpjournals.org www.acpjournals.org
-
Moghadas, S. M., Sah, P., Shoukat, A., Meyers, L. A., & Galvani, A. P. (2021). Population Immunity Against COVID-19 in the United States. Annals of Internal Medicine. https://doi.org/10.7326/M21-2721
-
- Aug 2021
-
cgdev.org cgdev.org
-
Center For Global Development. “Three New Estimates of India’s All-Cause Excess Mortality during the COVID-19 Pandemic.” Accessed August 11, 2021. https://cgdev.org/publication/three-new-estimates-indias-all-cause-excess-mortality-during-covid-19-pandemic.
Tags
- data source
- attendant accountability
- statistical confidence
- lang:en
- death
- Coronavirus
- COVID-19
- authoritative estimate
- India
- civil registration
- Consumer Pyramid Household Survey
- is:article
- pandemic
- age-specific infection fatality rates
Annotators
URL
cgdev.org/publication/three-new-estimates-indias-all-cause-excess-mortality-during-covid-19-pandemic -
-
blog.logrocket.com blog.logrocket.com
-
Before you go like “Wow!!!”, understand that the packages highlighted above take a lot into consideration when detecting timezones. This makes them slightly more accurate than Intl API alone.
What exactly does moment do for us, then, that
TimeFormat().resolvedOptions().timeZone;
doesn't do? Name one example where it is more accurate.
-
- Jul 2021
-
developer.mozilla.org developer.mozilla.org
-
Each of them implements a different semantic, but some common features are shared by a group of them: e.g. a request method can be safe, idempotent, or cacheable.
Which ones are in each group?
Never mind. The answer is in the pages that are being linked to.
-
-
store.steampowered.com store.steampowered.com
-
just another coppy of a game witch allredy exist on steam, you just need to find it
Tags
Annotators
URL
-
-
www.kickstarter.com www.kickstarter.com
-
I will not be using BackerKit or GameFound or another third party pledge taker. I will just be using Kickstarter. I have found that some people have trouble with third party software.
Okay... What kind of trouble?
Tags
Annotators
URL
-
- Jun 2021
-
stackoverflow.com stackoverflow.com
-
This is especially nice for opening Vim from other tools, as this call can be done on the command-line: "+call cursor($LINE,$COLUMN)"
-
-
docs.gitlab.com docs.gitlab.com
-
Jest provides useful matchers like toHaveLength or toBeUndefined to make your tests more readable and to produce more understandable error messages.
-
-
github.com github.com
-
We need to be really careful about what's 'same origin' because the server has no idea what host/path the various cookies are associated with. It just has a list of cookies that the browser had determined to be relevant for this SSR'd page, and not for any other subrequests.
-
- May 2021
-
www.nature.com www.nature.com
-
simpler ribozymes ('hammerhead' and 'hairpin') are RNAs that catalyse site spe-cific scission of single stranded target RNAs bearing a consensus cleavage site.
Tags
Annotators
URL
-
- Apr 2021
-
english.stackexchange.com english.stackexchange.com
-
It has two very different meanings, that you would have to distinguish by context. One meaning is just expressing that we have limitations. If you don't know something, that's just tough, you don't know it and you have to live with that. You don't have information if you don't have that information. The other meaning is that not only are there gaps in our knowledge, but often we don't even know what the gaps in our knowledge are. I don't know how to speak Finnish. That's a gap in my knowledge that I know about. I know that I don't know how to speak Finnish. But there are gaps in my knowledge that I'm not even aware of. That's where you can say "You don't know what you don't know" meaning that you don't even know what knowledge you are missing.
I had this thought too.
-
-
serverfault.com serverfault.com
-
I have already tried '--ignore-failed-read', but the problem is that it doesn't only ignore failed reads on the -T files. It ignores all failed reads.
-
-
samba.2283325.n4.nabble.com samba.2283325.n4.nabble.com
-
I`m getting "rsync warning: some files vanished before they could be transferred (code 24) at main.c(1518) [generator=3.0.9]" on one of my systems i`m backing up with rsync , but rsync doesn`t show WHICH files.
-
-
github.com github.com
-
Scholar@UC: University of Cincinnati's self-submission institutional repository
-
- Mar 2021
-
bugs.ruby-lang.org bugs.ruby-lang.org
-
A one-liner alternative for hash-only cases can be implemented using Enumerable#reduce: root = {} [:a, :b, :c].reduce(root){@1[@2]||={}}[:d] = 'E' # root => {:a=>{:b=>{:c=>{:d=>"E"}}}}
-
I think the issues/problems specified in the comments are not present with a Hash-only implementation. :) I would be supportive of re-considering this feature just for use with a Hash, where I believe 80% of the real-life use cases would (and do) exist. I have encountered this need before in the wild, but not with Arrays.
-
-
www.medrxiv.org www.medrxiv.org
-
AS-PCR was developed over 30 years ago (Petruska et al., 1988; Wu et al., 1989) and is commonly used for molecular genotyping in laboratory diagnostics
-
-
psyarxiv.com psyarxiv.com
-
Michels, M., Glöckner, A., & Giersch, D. (2020). Personality Psychology in Times of Crisis: Profile-specific Recommendations on how to deal with COVID-19 [Preprint]. PsyArXiv. https://doi.org/10.31234/osf.io/r9q6g
-
-
news.ycombinator.com news.ycombinator.com
-
this only applies to end products which are actually deployed. For my modules, I try to keep dependency version ranges at defaults, and recommend others do the same. All this pinning and packing is really the responsibility of the last user in the chain, and from experience, you will make their life significantly more difficult if you pin your own module dependencies.
-
-
www.sitepoint.com www.sitepoint.com
-
The elimination of what is arguably the biggest monoculture in the history of software development would mean that we, the community, could finally take charge of both languages and run-times, and start to iterate and grow these independently of browser/server platforms, vendors, and organizations, all pulling in different directions, struggling for control of standards, and (perhaps most importantly) freeing the entire community of developers from the group pressure of One Language To Rule Them All.
-
JavaScript needs to fly from its comfy nest, and learn to survive on its own, on equal terms with other languages and run-times. It’s time to grow up, kid.
-
If JavaScript were detached from the client and server platforms, the pressure of being a monoculture would be lifted — the next iteration of the JavaScript language or run-time would no longer have to please every developer in the world, but instead could focus on pleasing a much smaller audience of developers who love JavaScript and thrive with it, while enabling others to move to alternative languages or run-times.
Tags
- neutral/unbiased/agnostic
- programming languages: choosing the best language for the job
- single responsibility
- software freedom
- good idea
- programming languages
- competition in open-source software
- independent release cycles among peer dependencies
- JavaScript: as a process VM
- level playing field
- runtime environment
- separation of concerns
- avoid giving partiality/advantage/bias to any specific option
- related but independent projects that can be developed independently
- neutral ground
- one size fits all mentality
Annotators
URL
-
-
stackoverflow.com stackoverflow.com
-
Knowing what your elements are lets browsers use sensible defaults for how they should look and behave. This means you have less customization work to do and are more likely to get consistent results in different browsers.
-
Fits the ideal behind HTML HTML stands for "HyperText Markup Language"; its purpose is to mark up, or label, your content. The more accurately you mark it up, the better. New elements are being introduced in HTML5 to more accurately label common web page parts, such as headers and footers.
-
- Feb 2021
-
www.reddit.com www.reddit.com
-
Anyway, sorry for the short novel. But that's the danger of pithy one-liners: assumed context for the poster can be entirely lost in translation.
-
-
github.com github.com
-
Your Rails app Gemfile may have a line requiring sass-rails 5.0: gem 'sass-rails', '~> 5.0' # or gem 'sass-rails', '~> 5' These will prevent upgrade to sprockets 4, if you'd like to upgrade to sprockets 4 change to: gem 'sass-rails', '>= 5'
-
-
www.schneems.com www.schneems.com
-
For example, what if your site has a customer interface and an “admin” interface? If the two have totally different designs and features, then it might be considerable overhead to ship the entirety of the admin interface to every customer on the regular site.
-
-
sobolevn.me sobolevn.me
-
Not all cases can be covered and easily restored. And sometimes when we will reuse this function for different use-cases we will find out that it requires different restore logic.
-
But why do we return 0? Why not 1? Why not None? And while None in most cases is as bad (or even worse) than the exceptions, turns out we should heavily rely on business logic and use-cases of this function.
-
So, the sad conclusion is: all problems must be resolved individually depending on a specific usage context. There’s no silver bullet to resolve all ZeroDivisionErrors once and for all. And again, I am not even covering complex IO flows with retry policies and expotential timeouts.
-
-
developpaper.com developpaper.com
-
on one of the most popular websites of F #
which one?
-
-
github.com github.com
-
Trailblazer offers you a new, more intuitive file layout in applications.
-
Instead of grouping by technology, classes and views are structured by concept, and then by technology. A concept can relate to a model, or can be a completely abstract concern such as invoicing.
-
Concepts over Technology
-
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
- rails: the Rails way
- 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)
- Trailblazer
- newer/better ways of doing things
- freedom of user to override specific decision of an authority/vendor (software)
- focus on what it should do, not on how it should do it (implementation details; software design)
- making changes / switching/migrating gradually/incrementally/step-wise/iteratively
- focus on concepts/design/structure instead of specific/concrete technology/implementation
- abstractions
- software development: organization of files: by component rather than by file type
- software development: organization of files
- leaving the details of implementation/integration up to you
Annotators
URL
-
-
unix.stackexchange.com unix.stackexchange.com
-
Example (in bash, but my question shouldn't be considered bash-specific):
-
-
stackoverflow.com stackoverflow.com
-
Can you be more specific about the "weird version of bash" ? In some situations (when run as /bin/sh) it runs n Posix compatibility mode ... If this is the case add set +o posix prior to exec
-
-
github.com github.com
-
No one has requested it before so it's certainly not something we're planning to add.
-
I'm sure there will be a few other people out there who eventually want something like this, since Interactions are actually a great fit for enforcing consistency in data structures when working with a schemaless NoSQL store, but obviously it's still a bit of a niche audience.
-
To give a little more context, structures like this often come up in my work when dealing with NoSQL datastores, especially ones that rely heavily on JSON, like Firebase, where a records unique ID isn't part of the record itself, just a key that points to it. I think most Ruby/Rails projects tend towards use cases where these sort of datastores aren't appropriate/necessary, so it makes sense that this wouldn't come up as quickly as other structures.
-
-
en.wikipedia.org en.wikipedia.org
-
For the usage in society, see Second-class citizen.
Ironic that this reference is ostensibly about the usage of "first-class citizen" in society, yet it links to a seemingly-mismatched (by name only, that is) article, entitled "second-class citizen".
Ironic that the first-class (unqualified) article is about the figurative meaning of "citizen" used in computer science, and that the page describing first-class and second-class status of the more literal citizens in society is relegated to what I kind of think is a second-class position in the encyclopedia (because it takes the #2 position numerically, even though it is (at least as is implied in this reference) also about first-class citizens (though the word "first-class" does not appear a single time in that article, so maybe this reference is the one that is more ironic/incorrect).
-
-
www.infoworld.com www.infoworld.com
-
Stating that some language feature or common programming idiom (like accessors) has problems is not the same thing as saying you should never use them under any circumstances.
-
-
en.wikipedia.org en.wikipedia.org
-
The spelling "internet" has become often used, as the word almost always refers to the global network; the generic sense of the word has become rare in non-technical writings.
rare to see "internet" used to mean an internetwork in the general sense
-
-
-
while ActiveForm currently fits 99% of my use cases, I do sometimes make modifications based on the product requirements
-
I will continue to use form objects and push changes into the repo when I feel they are universally relevant and valuable.
new tag?:
- code that is universally relevant/valuable
- non - _-specific logic
-
we get the benefit of isolating request specific logic without cramming it into a ActiveRecord model that will be used in multiple controllers/actions
request-specific logic
-
-
en.wikipedia.org en.wikipedia.org
-
As with other software patterns, MVC expresses the "core of the solution" to a problem while allowing it to be adapted for each system.
-
-
ebusinessboss.com ebusinessboss.com
-
Well, a click funnel is basically an online sales funnel, but it’s widely referred to as a click funnel due to the growing popularity of the software called “Clickfunnels”.
-
- Jan 2021
-
www.zdnet.com www.zdnet.com
-
Systemd problems might not have mattered that much, except that GNOME has a similar attitude; they only care for a small subset of the Linux desktop users, and they have historically abandoned some ways of interacting the Desktop in the interest of supporting touchscreen devices and to try to attract less technically sophisticated users. If you don't fall in the demographic of what GNOME supports, you're sadly out of luck.
-
-
discourse.ubuntu.com discourse.ubuntu.com
-
The best place to let the developers know, and track those bugs is in the bug tracker. There are hundreds of forums online, all over the place in many languages. We can’t be expected to read all of them. Anyone with a launchpad ID (thus, anyone who has an account on this discourse instance) has the capability to file a bug. I’d strongly recommend doing so, for each specific issue. Taking just a few minutes to do that will help tremendously.
-
Just saying “snaps are slow” is not helpful to anyone. Because frankly, they’re not. Some might be, but others aren’t. Using blanket statements which are wildly inaccurate will not help your argument. Bring data to the discussion, not hearsay or hyperbole.
-
- Nov 2020
-
stackoverflow.com stackoverflow.com
-
As was mentioned in the comments above, the material design spec for buttons specifies that the text should be uppercase, but you can easily override its CSS property: paper-button { text-transform: none; }
-
-
github.com github.com
-
enables passive event listeners by default for some events (see list below). It basically will set { passive: true } automatically every time you declare a new event listener.
-
-
-
material.io material.io
-
@use "@material/theme" with ( $primary: #FEDBD0, $on-primary: #442C2E);
-
-
github.com github.com
-
You could totally just write your own name and not use the name in package.json, this template is made so the users wouldn't need to think about the UMD build.
-
-
www.npmjs.com www.npmjs.com
-
This module should not be used in other npm modules since it modifies the default require behavior! It is designed to be used for development of final projects i.e. web-sites, applications etc.
-
-
mywiki.wooledge.org mywiki.wooledge.org
-
However, this construct is not completely equivalent to if ... fi in the general case.
The caveat/mistake here is if you treat it / think that it is equivalent to if a then b else c. That is not the case if b has any chance of failing.
-
-
-
When you email me, please include a minimal bash script that demonstrates the problem in the body of the email (not as an attachment). Also very clearly state what the desired output or effect should be, and what error or failure you are getting instead. You are much more likely to get a response if your script isn't some giant monster with obtuse identifiers that I would have to spend all afternoon parsing.
-
-
en.wikipedia.org en.wikipedia.org
-
The meaning of the word "modularity" can vary somewhat based on context. The following are contextual examples of modularity across several fields of science, technology, industry, and culture:
-
-
webpack.js.org webpack.js.orgConcepts1
-
DevtoolThis option controls if and how source maps are generated.
If the option is (only) about source maps, then it should be called something like sourceMapTool instead.
Tags
Annotators
URL
-
-
github.com github.com
-
Just coming here to voice my agreement that these warnings are annoying and exist in other libraries as well. For me this happened with svelma. I didn't write the library code, so I don't have complete control over it even though I agree there is an argument to be had around whether I should be notified anyway. In either case, these warnings should be easily disabled since libraries don't always get updated over night.
-
-
github.com github.com
-
Maybe it's also a bug because every warning should be ignorable? Not sure.
-
I would like the compiler to add a property like canIgnore: false to the warning, if the warning cannot be disabled.
-
- Oct 2020
-
medium.com medium.com
-
Here are few, real-life commits of refactorings that make use of this solution:
-
-
-
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}`) }
-
-
danielmiessler.com danielmiessler.com
-
When communicating, being more specific is usually better, and a “URL” is a specific type of URI that provides an access method/location.
-
-
stackoverflow.com stackoverflow.com
-
"doesn't work" is meaningless
-
-
www.merriam-webster.com www.merriam-webster.com
-
www.onwebsecurity.com www.onwebsecurity.com
-
Encoding is dependent on the type of output - which means that for example a string, which will be used in a JavaScript variable, should be treated (encoded) differently than a string which will be used in plain HTML.
-
-
2ality.com 2ality.com
-
trusktr herman willems • 2 years ago Haha. Maybe React should focus on a template-string syntax and follow standards (and provide options for pre-compiling in Webpack, etc).
Well anywho, there's other projects now like hyperHTML, lit-html, etc, plus some really fast ones: https://www.stefankrause.ne...
React seems a little old now (and the new Hooks API is also resource heavy).
• Share ›  Michael Calkins trusktr • 4 years ago • edited That's a micro optimization. There isn't a big enough difference to matter unless you are building a game or something extraordinarily odd.
• Share › −  trusktr Michael Calkins • 2 years ago True, it matters if you're re-rendering the template at 60fps (f.e. for animations, or for games). If you're just changing views one time (f.e. a URL route change), then 100ms won't hurt at all.
-
-
www.python.org www.python.org
-
A style guide is about consistency. Consistency with this style guide is important. Consistency within a project is more important. Consistency within one module or function is the most important.
-
-
-
I don't think we want the cookbook to become a collection of tutorials regarding how to use certain libraries and tools with svelte. A set of more generic recipes or deep dives into topics would probably serve people better and have broader application.
-
- Sep 2020
-
stackoverflow.com stackoverflow.com
-
I used a "specific function". But maybe it could be done within a derived store. A kind of auto reset on ... But I think there is no elagant solution, so I stick with the specific function.
-
-
discuss.rubyonrails.org discuss.rubyonrails.org
-
Insisting on a specific implementation, rather than proposing a clear problem, suggesting a possible solution, and “not being married” to your initial preferred solution.
-
-
github.com github.com
-
Svelte will not offer a generic way to support style customizing via contextual class overrides (as we'd do it in plain HTML). Instead we'll invent something new that is entirely different. If a child component is provided and does not anticipate some contextual usage scenario (style wise) you'd need to copy it or hack around that via :global hacks.
-
Web developers are well aware of the mess you can get into with global CSS, and the action of writing <Child class="foo"/> and <div class={_class}>` (or similar) in the child component is an explicit indication that, while taking advantage of all the greatness of style encapsulation by default, in this case you have decided that you want a very specific and controlled "leak", of one class, from one component instance to one component instance.
Tags
- trying to prevent one bad thing leading to people doing/choosing an even worse option
- component/library author can't consider/know ahead of time all of the ways users may want to use it
- be specific
- workarounds
- Svelte: how to affect child component styles
- forced to fork/copy and paste library code because it didn't provide enough customizability/extensibility / didn't foresee some specific prop/behavior that needed to be overridable/configurable (explicit interface)
- forking to add a desired missing feature/change
- run-time dynamicness/generics vs. having to explicitly list/hard-code all options ahead of time
- specific/controlled exceptions to a general principle/rule/guideline
- exceptions to the rule
- being explicit
- maintenance burden to explicitly define/enumerate/hard-code possible options (explicit interface)
- ugly/kludgey
Annotators
URL
-
-
github.com github.com
-
The feature is highly likely to be implemented, the API and implementation are the only real topics of discussion right now.
-
-
-
To learn about canceling fetch requests, search the internet for
-
-
github.com github.com
-
Please focus on explaining the motivation so that if this RFC is not accepted, the motivation could be used to develop alternative solutions. In other words, enumerate the constraints you are trying to solve without coupling them too closely to the solution you have in mind.
-
A huge part of the value on an RFC is defining the problem clearly, collecting use cases, showing how others have solved a problem, etc.
-
An RFC can provide tremendous value without the design described in it being accepted.
-
Please provide specific examples. If you say "this would be more flexible" then give an example of something that becomes easier. If you say "this would be make it easier to do X" then give an example of what that looks like today and what's hard about it.
Tags
- be specific
- answer the "why?"
- value
- okay for proposal to not be accepted
- iterative process
- defining the problem clearly is as valuable coming up with specific implementation/solution
- defining the problem clearly
- contribution guidelines: should explain motivation for change
- iterative process: building on previous attempts/work
Annotators
URL
-
- Aug 2020
-
english.stackexchange.com english.stackexchange.com
-
As a web designer, I hate that "log in" creates a visual space between the words. If you line up "Log In Register" - is that three links or two? This creates a Gestalt problem, meaning you have to really fiddle with spacing to get the word groupings right, without using pipe characters.
Sure, you can try to solve that problem by using a one-word alternative for any multi-word phrase, but that's not always possible: there isn't always a single word that can be used for every possible phrase you may have.
Adjusting the letter-spacing and margin between items in your list isn't that hard and would be better in the long run since it gives you a scalable, general solution.
"Log in" is the only correct way to spell the verb, and the only way to be consistent with 1000s of other phrasal verbs that are spelled with a space in them.
We don't need nor want an exception to the general rule just for "login" just because so many people have made that mistake.
-
I don't doubt that we will soon treat the process of logging in as a figurative point of entry, meaning that log into will make full conceptual sense (cf you don't physically delve into a problem or pile into an argument, yet both are correct grammatically because they are semantically [i.e. figuratively])
Tags
- relying on luck/coincidence
- language: figurative use of word
- should not infer as a general rule
- weak argument
- solving/handling the general case
- word that has a generic/figurative meaning in addition to a specific/literal meaning
- trying to make a general rule out of something that only works for certain specific cases
Annotators
URL
-
-
en.wikipedia.org en.wikipedia.org
-
In graph theory, a tree is a connected acyclic graph; unless stated otherwise, in graph theory trees and graphs are assumed undirected. There is no one-to-one correspondence between such trees and trees as data structure.
-
- May 2020
-
docs.gitlab.com docs.gitlab.com
-
In the examples below, we are using Docker images tags to specify a specific version, such as docker:19.03.8. If tags like docker:stable are used, you have no control over what version is going to be used and this can lead to unpredictable behavior, especially when new versions are released.
-
-
www.dailywritingtips.com www.dailywritingtips.com
-
The element dem in epidemic, endemic, and pandemic comes from the ancient Greek word demos, which meant people or district:
Interesting how a word (pandemic) that literally means "all people" has ended up (only) meaning a disease that effects all people. Yet nowhere in the word does it say anything about a disease.
-
-
www.enchantingmarketing.com www.enchantingmarketing.com
-
Words like hundreds or millions may seem specific, but they sound like a marketer exaggerating the truth. Use specific numbers to draw attention and increase credibility.
-
ask yourself for each sentence: what does this mean? If you can’t come up with a specific answer immediately, then cut or rephrase until your text is concrete and meaningful.
-
-
www.merriam-webster.com www.merriam-webster.com
-
to remove the force or effectiveness of
-
-
www.britannica.com www.britannica.com
-
Taxonomy, in a broad sense the science of classification, but more strictly the classification of living and extinct organisms—i.e., biological classification.
I don't think the "but more strictly" part is strictly accurate.
Wikipedia authors confirm what I already believed to be true: that the general sense of the word is just as valid/extant/used/common as the sense that is specific to biology:
https://en.wikipedia.org/wiki/Taxonomy_(general) https://en.wikipedia.org/wiki/Taxonomy_(biology)
-
-
en.wikipedia.org en.wikipedia.org
-
"linked data" can and should be a very general term referring to any structured data that is interlinked/interconnected.
It looks like most of this article describes it in that general sense, but sometimes it talks about URIs and such as if they are a necessary attribute of linked data, when that would only apply to Web-connected linked data. What about, for example, linked data that links to each other through some other convention such as just a "type" and "ID"? Maybe that shouldn't be considered linked data if it is too locally scoped? But that topic and distinction should be explored/discussed further...
I love its application to web technologies, but I wish there were a distinct term for that application ("linked web data"?) so it could be clearer from reading the word whether you meant general case or not. May not be a problem in practice. We shall see.
Granted/hopefully most use of linked data is in the context of the Web, so that the links are universal / globally scoped, etc.
-
-
www.iubenda.com www.iubenda.com
-
It’s important to note that where the GDPR applies, intended use factors into whether or not consent is required as even statistical data can fall under “profiling” or “monitoring” depending on how the data is being used.
-
-
en.wikipedia.org en.wikipedia.org
-
The Microsoft Calculator program uses the former in its standard view and the latter in its scientific and programmer views.
-
-
en.wikipedia.org en.wikipedia.org
-
In the context of first-order logic, a distinction is maintained between logical validities, sentences that are true in every model, and tautologies, which are a proper subset of the first-order logical validities. In the context of propositional logic, these two terms coincide.
A distinction is made between the kind of logic (first-order logic) where this other distinction exists and propositional logic, where the distinction doesn't exist (the two terms coincide in that context).
-
-
-
as IT staff - who craft and maintain those screens - we lack concrete requirements as to what actually needs to be changed or added at our existing user "touch points" to achieve and demonstrate compliance.
-
-
en.wikipedia.org en.wikipedia.org
-
generic-sounding term may be interpreted as something more specific than intended: I want to be able to use "data interchange" in the most general sense. But if people interpret it to mean this specific standard/protocol/whatever, I may be misunderstood.
The definition given here
is the concept of businesses electronically communicating information that was traditionally communicated on paper, such as purchase orders and invoices.
limits it to things that were previously communicated on paper. But what about things for which paper was never used, like the interchange of consent and consent receipts for GDPR/privacy law compliance, etc.?
The term should be allowed to be used just as well for newer technologies/processes that had no previous roots in paper technologies.
-
-
www.iubenda.com www.iubenda.com
-
Be specific. You must clearly state the type of email that the user will be consenting to;
-
-
www.itgovernance.co.uk www.itgovernance.co.uk
-
The qualifier of ‘certain circumstances’ is important to highlight here, because it’s often the context in which information exists that determines whether it can identify someone.
-
-
-
What I don't like is how they've killed so many useful extensions without any sane method of overriding their decisions.
-
I know, you don't trust Mozilla but do you also not trust the developer? I absolutely do! That is the whole point of this discussion. Mozilla doesn't trust S3.Translator or jeremiahlee but I do. They blocked page-translator for pedantic reasons. Which is why I want the option to override their decision to specifically install few extensions that I'm okay with.
-
-
blog.hubspot.com blog.hubspot.com
-
Like #2, vague descriptors like "often" raise questions in buyers’ minds. Always be as specific as possible -- "40% of our customer base," or "Almost every prospect in your industry I’ve spoken with in the last quarter", for example.
-
- Apr 2020
-
www.techopedia.com www.techopedia.com
-
A language that features polymorphism allows developers to program in the general rather than program in the specific. $(document).ready(function() { recordAdModuleData(2964, "impressions","Dictionary Ad"); });
-
-
github.com github.com
-
Devise-Two-Factor only worries about the backend, leaving the details of the integration up to you. This means that you're responsible for building the UI that drives the gem. While there is an example Rails application included in the gem, it is important to remember that this gem is intentionally very open-ended, and you should build a user experience which fits your individual application.
-
- Mar 2020
-
www.iubenda.com www.iubenda.com
-
in which case the consent must be given on the basis of sufficiently precise information, including information on the lack of protection in the third country
Tags
Annotators
URL
-
-
www.amazon.com www.amazon.com
-
applicable to select eBooks, digital music, videos, and apps
"select" ones? which ones?
-
- Feb 2020
-
about.gitlab.com about.gitlab.com
-
Make a proposal If you need to decide something as a team, make a concrete proposal instead of calling a meeting to get everyone's input. Having a proposal will be a much more effective use of everyone's time. Every meeting should be a review of a proposal.
-
Say, "you didn't respond to my feedback about the design" instead of "you never listen"
-
- Jan 2020
-
stackoverflow.com stackoverflow.com
-
I understand this is a relational division type problem, involving having and count. These posts describe what I want to do, but I can't figure out how to apply the examples to the particular case above:
-
- Dec 2019
-
github.com github.com
-
Note You are viewing the README for the development version of Capybara. If you are using the current release version you can find the README at
-
-
github.com github.com
-
One thing that matters is if code uses browser-specific (example: Dom) or server-specific (example: filesystem) features.
-
-
github.com github.com
-
It allows the module code (and subsequently dependants on the module) to not use preprocessor hacks, source code changes, or runtime detection hacks to identify which code is appropriate when creating a client bound package.
-
The browser field is where the module author can hint to the bundler which elements (other modules or source files) need to be replaced when packaging.
-
When a javascript module is prepared for use on a client there are two major concerns: certain features are already provided by the client, and certain features are not available. Features provided by a client can include http requests, websockets, dom manipulation. Features not available would include tcp sockets, system disk IO.
-
You can simply prevent a module or file from being loaded into a bundle by specifying a value of false for any of the keys. This is useful if you know certain codepaths will not be executed client side but find it awkward to split up or change the code structure.
-
- Nov 2019
-
jgregorymcverry.com jgregorymcverry.com
-
specifically look at a math program,
subject specific pd comes up alot
Tags
Annotators
URL
-
-
testing-library.com testing-library.com
-
To make this even easier, you can also simply import @testing-library/react/dont-cleanup-after-each which will do the same thing.
-
- Aug 2019
-
www.smashingmagazine.com www.smashingmagazine.com
-
Make Action Buttons Descriptive
-
- Feb 2019
-
static1.squarespace.com static1.squarespace.com
-
abstraction is in itself but a dull and inert thing
That "in itself" is an important qualifier. My initial thought was how this idea contrasts with Hume's discussion of the uses of general concepts, but the "in itself" poses abstractions by themselves, when not employed to a particular use. When abstractions are put to work, do they do something similar to Hume's generalities? (How closely related are abstractions and general principles?)
-
- Aug 2018
-
nph.onlinelibrary.wiley.com nph.onlinelibrary.wiley.com
-
how tooth size, shape, and number respond to climate within species.
-
- Dec 2017
-
alleledb.gersteinlab.org alleledb.gersteinlab.orgAlleleDB1
-
AlleleDB is a repository, providing genomic annotation of cis-regulatory single nucleotide variants (SNVs) associated with allele-specific binding (ASB) and expression (ASE).
Tags
Annotators
URL
-
- Apr 2014
-
www.newschallenge.org www.newschallenge.org
-
We hope that if we promote collaboration within the scientific process
This should maybe read "We hope that if we promote this kind of collaboration within the scientific process" to emphasize the specific kind of interactions you mention earlier in the paragraph, whereas the way it is written sounds like collaboration in general.
-
- Jan 2014
-
blogs.hbr.org blogs.hbr.org
-
Thank them for something they specifically did that was above the call of duty.
It's important to know what it takes to "exceed expectations". Does working hard and then working even harder for the same outcome go above the call of duty? Or does the outcome matter? Whatever the answer is, being specific in the thanks is important to communicate what you think the answer is.
-