- Sep 2024
-
stackoverflow.com stackoverflow.com
-
Disable all observers in your test suite by default. They should not be complicating your model tests because they should have separate concerns anyway. You don't need to unit test that observers actually fire, because ActiveRecord's test suite does that, and your integration tests will cover it.
-
- Jun 2024
-
-
having an automated AI research engineer by 2027 00:05:14 to 2028 is not something that is far far off
for - progress trap - AI - milestone - automated AI researcher
progress trap - AI - milestone - automated AI researcher - This is a serious concern that must be debated - An AI researcher that does research on itself has no moral compass and can encode undecipherable code into future generations of AI that provides no back door to AI if something goes wrong. - For instance, if AI reached the conclusion that humans need to be eliminated in order to save the biosphere, - it can disseminate its strategies covertly under secret communications with unbreakable code
-
- May 2024
-
nickjanetakis.com nickjanetakis.com
-
It’s generally good from a separations of concerns point of view and to reduce risk – migrations are scary enough as it is!
-
- Mar 2024
-
Local file Local file
-
As the functionof the caU number is separation, so the function of references isconcentration.
Placing call numbers or location numbers on items to be filed allows them to be separated from other items while placing cross-references or links allows them to be brought back together again. These two affordances allow for divergence as well as convergence of items or ideas.
-
-
yarnpkg.com yarnpkg.com
-
when projects want to keep strict boundaries within their code and avoid becoming an entangled monolith. This is for example the case for Yarn itself, or many enterprise codebases.
-
- Feb 2024
-
github.com github.com
-
Comparing to Mash your custom class lacks mash-like deep initializer which is a different concern from MethodAccess. So you just need a smart initializer extracted from Mash (just like MergeInitializer but deep), probably implemented as a separate extension. So It's a initializer issue, not an issue of MethodAccess.
-
- Jan 2024
-
www.youtube.com www.youtube.com
-
Newton's notebook was done in a tête-bêche (French for "head-to-toe") style in which he flipped the notebook over and began using it from the back to the front as a means of starting a second notebook within to separate the contents.
-
- Sep 2023
-
docs.rubocop.org docs.rubocop.org
-
The indentation of the remaining lines can be corrected with other cops such as IndentationConsistency and EndAlignment.
-
- Aug 2023
-
-
If leisure and political power requirethis education, everybody in America now requires it, andeverybody where democracy and industrialization penetratewill ultimately require it. If the people are not capable ofacquiring this education, they should be deprived of politicalpower and probably of leisure. Their uneducated politicalpower is dangerous, and their uneducated leisure is degrad-ing and will be dangerous. If the people are incapable ofachieving the education that responsible democratic citizen-ship demands, then democracy is doomed, Aristotle rightlycondemned the mass of mankind to natural slavery, and thesooner we set about reversing the trend toward democracythe better it will be for the world.
This is an extreme statement which bundles together a lot without direct evidence.
Written in an era in which there was a lot of pro-Democracy and anti-Communist discussion, Hutchins is making an almost religious statement here which binds education and democracy in the ways in which the Catholic church bound education and religion in scholasticism. While scholasticism may have had benefits, it also caused a variety of ills which took centuries to unwind into the Enlightenment.
Why can't we separate education from democracy? Can't education of this sort live in other polities? Hasn't it? Does critical education necessarily lead to democracy?
What does the explorable solution space of admixtures of critical reasoning and education look like with respect to various forms of government? Could a well-educated population thrive under collectivism or socialism?
The definition of "natural slavery" here is contingent and requires lots of context, particularly of the ways in which Aristotle used it versus our current understanding of chattel slavery.
-
Democracy and Education was written before the assemblyline had achieved its dominant position in the industrialworld and before mechanization had depopulated the farmsof America.
Interesting history and possible solutions.
Dewey on the humanization of work front running the dramatic changes of and in work in an industrial age?
Note here the potential coupling of democracy and education as dovetailing ideas rather than separate ideas which can be used simultaneously. We should take care here not to end up with potential baggage that could result in society and culture the way scholasticism combined education and religion in the middle ages onward.
-
- Apr 2023
-
blog.hubspot.com blog.hubspot.com
-
Why do so many businesses share their data openly, for free? Most often, the answer is scale. As companies grow, the staff within those companies realize they have more ideas than they have the time and resources to develop them. It’s typically easier to work with other external companies that specialize in these ideas than build them in-house. By creating APIs, a company allows third-party developers to build applications that improve adoption and usage of its platform. That way, a business can build an ecosystem that becomes dependent on the data from their API, which often leads to additional revenue opportunities.
-
- Jan 2023
-
-
1What is privacy worth?
This is a post.
-
- Sep 2022
-
www.rfc-editor.org www.rfc-editor.org
-
The media type specification and registration procedure is now a separate document, to make it clear that it is independent of MIME.
-
- Aug 2022
-
-
I'm building a Rails API with a separate web frontend app as "just another API client" (various smartphone apps to follow as well). In the previous "monolithic" version of the service, where all the server side was rolled into one Rails app
-
- Jul 2022
-
www.theverge.com www.theverge.com
-
she’s being dragged into the public eye nonetheless.
Wow... I have heard of instances similar to this one. A stranger narrates the life of another stranger online, it goes viral and the identities of everyone are revealed. To me it seemed meaningless I never thought that the people involved could just want their privacy. I find it very scary how this can happen to anyone. Another reason why I limit my social media usage. I found myself to be engaging with very negative commentary and it really affected my mental health. I wonder how this womans mental health is going. Pretty much the whole world knows about her know unfortunately.
-
- Jun 2022
-
-
The focus of the dev container specification is to describe how to enrich a container for the purposes of development, rather than acting as a multi-container orchestrator format.
-
- Apr 2022
-
twitter.com twitter.com
-
Jess Rohmann. (2021, March 16). New @PEI_Germany report provides much needed clarity to the #AstraZeneca “pause” in Germany. Not yet available in English. I will try to summarize. /Thread https://t.co/Ev9p2TOdfD [Tweet]. @JLRohmann. https://twitter.com/JLRohmann/status/1371833745272156163
-
- Mar 2022
-
github.com github.com
-
ransack is a very dirty solution that completely integrates the Searching, Sorting, and Views as requirements of eachother
-
- Feb 2022
-
www.joshmcarthur.com www.joshmcarthur.com
-
Remember, our wizard controller is responsible for showing and updating steps, but our top-level controller is still responsible for managing our Pet models.
-
-
stackoverflow.com stackoverflow.com
-
At this point I would call into question the job of Event to both be responsible for managing what gets charged and how something should be charged. I would probably investigate moving those to external service classes to keep charging responsibilities out of a simple event object.
-
- Jan 2022
-
retractionwatch.com retractionwatch.com
-
Marcus, A. A. (2022, January 13). COVID-19 spike protein paper earns an expression of concern. Retraction Watch. https://retractionwatch.com/2022/01/13/covid-19-spike-protein-paper-earns-an-expression-of-concern/
-
- Nov 2021
-
stackoverflow.com stackoverflow.com
-
Now your whole WS logic can be encapsulated in your JS module. That makes for good separation of concern.
-
- Jul 2021
-
blog.appsignal.com blog.appsignal.com
-
What is risky here is that the concern (mixin) knows a lot about the model it gets included in. It is what is called a circular dependency. Song and Album depend on Trashable for trashing, Trashable depends on both of them for featured_authors definition. The same can be said for the fact that a trashed field needs to exist in both models in order to have the Trashable concern working.
-
This works nicely wherever we show authors, but after we deploy to production, the folks from other parts of the world won’t get notified anymore about their songs. Mistakes like these are easy to make when using concerns.
-
- Jun 2021
-
docs.gitlab.com docs.gitlab.com
-
Do add business logic to helpers or utilities, so you can test them separately from your component.
-
- Apr 2021
-
stackoverflow.com stackoverflow.com
-
If anything it thwarts separation of concerns to a degree.
-
-
boardgamegeek.com boardgamegeek.com
-
I opened a new thread to discuss that aspect.
-
-
twitter.com twitter.com
-
Kai Kupferschmidt. ‘“Our Position Has Not Changed”, Says @EMA_News Head Emer Cooke about AZ Vaccine. “According to the Current Scientific Knowledge, There Is No Evidence That Would Support Restricting the Use of This Vaccine in Any Population."’. Tweet. @kakape (blog), 31 March 2021. https://twitter.com/kakape/status/1377268296739913728.
-
-
github.com github.com
-
There is no request.env in functional tests because the functional tests are supposed to remain at the controller level.
-
- Mar 2021
-
trailblazer.to trailblazer.to
-
For pluggability, an endpoint is split into a Protocol and an Adapter part. This separates generic logic from environment-dependent code.
-
Note how a handful of default steps lead into six standardized termini, allowing to plug protocols into different adapters. Imagine replacing your self-written API adapter with a canonical JSON-API adapter, for example.
-
-
www.pewresearch.org www.pewresearch.org
-
NW, 1615 L. St, Suite 800Washington, and DC 20036USA202-419-4300 | Main202-857-8562 | Fax202-419-4372 | Media Inquiries. ‘Intent to Get a COVID-19 Vaccine Rises to 60% as Confidence in Research and Development Process Increases’. Pew Research Center Science & Society (blog), 3 December 2020. https://www.pewresearch.org/science/2020/12/03/intent-to-get-a-covid-19-vaccine-rises-to-60-as-confidence-in-research-and-development-process-increases/.
-
-
www.chevtek.io www.chevtek.io
-
By treating even small functions like a black box it promotes separation of concerns and allows said black box to evolve independently.
-
-
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
- software freedom
- avoid giving partiality/advantage/bias to any specific option
- single responsibility
- one size fits all mentality
- separation of concerns
- programming languages: choosing the best language for the job
- related but independent projects that can be developed independently
- programming languages
- competition in open-source software
- independent release cycles among peer dependencies
- JavaScript: as a process VM
- neutral ground
- runtime environment
- good idea
- level playing field
- neutral/unbiased/agnostic
Annotators
URL
-
-
en.wikipedia.org en.wikipedia.orgPyPy1
-
PyPy aims to provide a common translation and support framework for producing implementations of dynamic languages, emphasizing a clean separation between language specification and implementation aspects.
Tags
Annotators
URL
-
-
trailblazer.to trailblazer.to
-
Additionally, you may add debugging steps, error handler or rewire the conditions dynamically without touching the original snippet.
-
- Feb 2021
-
trailblazer.to trailblazer.to
-
You’re free to test this activity in a separate unit test.
-
Whatever data from the outside is needed in the activity has to be passed explicitely into the activity’s call method.
-
-
github.com github.com
-
While routing and redirecting/rendering still happens in Rails, all remaining steps are handled in the endpoint.
-
-
trailblazer.to trailblazer.to
-
An endpoint links your routing with your business code. The idea is that your controllers are pure HTTP routers, calling the respective endpoint for each action. From there, the endpoint takes over, handles authentication, policies, executing the domain code, interpreting the result, and providing hooks to render a response.
-
-
github.com github.com
-
Read about the motivation to understand why this separation of concerns is important.
-
-
github.com github.com
-
As a result, dry-types, dry-struct and dry-schema were born. These projects should be considered as virtus' successors, with better separation of concerns and better features.
Tags
Annotators
URL
-
-
en.wikipedia.org en.wikipedia.org
-
This is done to separate internal representations of information from the ways information is presented to and accepted from the user.
-
-
-
twitter.com twitter.com
-
ReconfigBehSci. (2021, February 12). RT @NatureNews: The science behind how and when to give vaccines doses. Https://t.co/S75TXESOG9 [Tweet]. @SciBeh. https://twitter.com/SciBeh/status/1360489348223893505
-
-
www.nature.com www.nature.com
-
Thompson, B., Baker, N., & Ledford, H. (2021). Coronapod: Is mixing COVID vaccines a good idea? Nature. https://doi.org/10.1038/d41586-021-00390-8
-
-
www.nutsandboltsmedia.com www.nutsandboltsmedia.com
-
Keep your domain in one place. If you ever get mad at your web host and decide to move your site, you’ll also probably want to transfer your domain if it’s registered with the old host. Domain transfers can be annoying, time-consuming, and confusing. But if you’ve registered the domain elsewhere, you don’t have to do anything except update your DNS settings to point to the new host.
-
- Jan 2021
-
atomiks.github.io atomiks.github.io
-
Allows you to separate the tippy's positioning from its trigger source.
-
"Headless Tippy" refers to Tippy without any of the default element rendering or CSS. This allows you to create your own element from scratch and use Tippy for its logic only.
-
-
guides.rubyonrails.org guides.rubyonrails.org
-
There is seldom any good reason to use this option. Mixing ERB into your controllers defeats the MVC orientation of Rails and will make it harder for other developers to follow the logic of your project. Use a separate erb view instead.
-
- Dec 2020
-
github.com github.com
-
It does not include any user interface at all (not even a terminal UI)
Tags
Annotators
URL
-
- Nov 2020
-
github.com github.com
-
We all know that real business logic does not belong in the presentation layer, but what about simple presentation-oriented things like coloring alternate rows in table or marking the selected option in a <select> dropdown? It seems equally wrong to ask the controller/business logic code to compute these down to simple booleans in order to reduce the logic in the presentation template. This route just lead to polluting the business layer code with presentation-oriented logic.
-
- Oct 2020
-
www.basefactor.com www.basefactor.com
-
Separation of concerns: You will avoid having your business logic being tied up to the UI
-
-
-
I'm personally open to any other solutions, especially in how we might be able to untie from React, but, for now, inline-XML markup (JSX) is OK with me.
-
-
-
By using HTML as the uniform interface, we can separate the interface from the engine.
-
-
blog.cleancoder.com blog.cleancoder.com
-
In 1972 David L. Parnas published a classic paper entitled On the Criteria To Be Used in Decomposing Systems into Modules. It appeared in the December issue of the Communications of the ACM, Volume 15, Number 12. In this paper, Parnas compared two different strategies for decomposing and separating the logic in a simple algorithm. The paper is fascinating reading, and I strongly urge you to study it. His conclusion, in part, is as follows: “We have tried to demonstrate by these examples that it is almost always incorrect to begin the decomposition of a system into modules on the basis of a flowchart. We propose instead that one begins with a list of difficult design decisions or design decisions which are likely to change. Each module is then designed to hide such a decision from the others.”
Parnas published a paper in 1972 about what heuristics are best to decide when to decompose a system into modules.
His conclusion is that it is almost always wrong to start with a representation such as a flowchart (because things change).
Instead he recommends focusing on a list of difficult design decisions, or decisions, once made, that will likely change. Then design each module is designed to hide such decisions from others.
-
-
www.cs.utexas.edu www.cs.utexas.edu
-
"Let me try to explain to you, what to my taste is characteristic for all intelligent thinking. It is, that one is willing to study in depth an aspect of one's subject matter in isolation for the sake of its own consistency, all the time knowing that one is occupying oneself only with one of the aspects. We know that a program must be correct and we can study it from that viewpoint only; we also know that it should be efficient and we can study its efficiency on another day, so to speak. In another mood we may ask ourselves whether, and if so: why, the program is desirable. But nothing is gained —on the contrary!— by tackling these various aspects simultaneously. It is what I sometimes have called "the separation of concerns", which, even if not perfectly possible, is yet the only available technique for effective ordering of one's thoughts, that I know of. This is what I mean by "focussing one's attention upon some aspect": it does not mean ignoring the other aspects, it is just doing justice to the fact that from this aspect's point of view, the other is irrelevant. It is being one- and multiple-track minded simultaneously.
Dijkstra posits that a characteristic of what he calls "intelligent thinking" is the tendency to practice a "separation of concerns". By this he means thinking about concepts separate of one another for the sake of their own consistency, rather than simultaneously, which doesn't help in ordering your thinking.
-
- Sep 2020
-
react-spectrum.adobe.com react-spectrum.adobe.com
-
React Aria separates the behavior and accessibility implementation for many common UI components out into React Hooks, which enables them to be reused easily between design systems. You remain in complete control over the rendering and styling aspects of your components, but get most of the behavior, accessibility, and internationalization support for free.
-
-
stackoverflow.com stackoverflow.com
-
React is an isomorphic/universal framework. That means that there is a virtual representation of the UI component tree, and that is separate from the actual rendering that it outputs in the browser.
-
-
-
what may be nice here would be to allow the user to specify an event to run validation with, and to remove it from the exported handleChange. This way handleChange is responsible exclusively for updating the value in the store, and actions are responsible for updating the error state.
-
- Aug 2020
-
psyarxiv.com psyarxiv.com
-
Liu, Zihan, Drake Van Egdom, Rhona Flin, Christiane Spitzmueller, Omolola Adepoju, and Ramanan Krishnamoorti. ‘I Don’t Want to Go Back: Examining the Return to Physical Workspaces During COVID-19’. Preprint. PsyArXiv, 21 August 2020. https://doi.org/10.31234/osf.io/un2bp.
Tags
- is:preprint
- decision making
- lang:en
- concerns
- non-caucasians
- flexible approaches
- multi-generational households
- policy makers
- United States
- employee perspectives
- willingness to return
- childcare
- blanket policies
- physical workspaces
- US
- return to work
- organizational strategies
- females
- COVID-19
Annotators
URL
-
-
en.wikipedia.org en.wikipedia.org
-
Stallman has also stated that considering the practical advantages of free software is like considering the practical advantages of not being handcuffed, in that it is not necessary for an individual to consider practical reasons in order to realize that being handcuffed is undesirable in itself.
-
- Jul 2020
-
amp.dev amp.dev
-
Both versions have generally the same content (e.g. the text of an article) but they may have different presentations.
-
-
www.jonathan-harrell.com www.jonathan-harrell.com
-
The key to successfully creating reusable components using both render props and scoped slots is being able to correctly separate behavior from presentation. Each time you create a new UI component, think “What is the core behavior of this component? Can I use this anywhere else?”
-
- May 2020
-
www.cs.utexas.edu www.cs.utexas.edu
-
The task of "making a thing satisfying our needs" as a single responsibility is split into two parts "stating the properties of a thing, by virtue of which it would satisfy our needs" and "making a thing guaranteed to have the stated properties". Business data processing systems are sufficiently complicated to require such a separation of concerns and the suggestion that in that part of the computing world "scientific thought is a non-applicable luxury" puts the cart before the horse: the mess they are in has been caused by too much unscientific thought.
Dijkstra suggested that instead of concerning ourselves with a software system that meets the user's needs, we should first separate our concerns.
We should first concern ourselves with the user's needs and draw up careful specifications – properties to which the system should adhere should it satisfy the user's needs.
With those specifications in hand we can concern ourselves with making a system guaranteed to have stated properties.
The problem with this thinking, which the software industry would later discover, is that a user's needs cannot be accurately or completely determined before building the system. We learn more about what is needed by the process of building.
This is an instance of the [[Separation of concerns]] not working.
This is also why the industry has settled on a technique to build iteratively (Agile), always leaving the option open to change course.
-
Some time ago I visited the computing center of a large research laboratory where they were expecting new computing equipment of such a radically different architecture, that my colleagues had concluded that a new programming language was needed for it if the potential concurrency were to be exploited to any appreciable degree. But they got their language design never started because they felt that their product should be so much like FORTRAN that the casual user would hardly notice the difference "for otherwise our users won't accept it". They circumvented the problem of explaining to their user community how the new equipment could be used at best advantage by failing to discover what they should explain. It was a rather depressing visit.... The proper technique is clearly to postpone the concerns for general acceptance until you have reached a result of such a quality that it deserves acceptance. It is the significance of your message that should justify the care that you give to its presentation, it may be its "unusualness" that makes extra care necessary.
When you've developed an idea, you will typically want to communicate that idea so that it can be understood and used more generally. Dijkstra calls this reaching "general acceptance".
To do so, you must communicate the idea in a way so that it can be properly understood and used. For certain ideas this becomes a challenging problem in and of itself.
Many forgo this challenge, and instead of figuring out what new language they need to invent to most accurately communicate the idea, they use legacy language and end up communicating their idea less effectively, in pursuit of general acceptance.
Dijkstra says that the proper way of dealing with this dilemma is to separate your concerns. You separate your concern of the solution from the concern of communicating the solution.
When you've reached a solution that is of such high quality that it deserves communicating – and only then – do you concern yourself with its presentation.
-
-
en.wikipedia.org en.wikipedia.org
-
presentation was nearly always considered separately, rather than being embedded in the markup itself
-
This concept is variously referred to in markup circles as the rule of separation of presentation and content, separation of content and style, or of separation of semantics and presentation.
-
First proposed as a somewhat less unwieldy catchall phrase to describe the delicate art of "separating document structure and contents from semantics, presentation, and behavior"
-
-
www.osano.com www.osano.com
-
Privacy Can Be Complicated. Let Osano Make It Simple
-
-
www.fastcompany.com www.fastcompany.com
-
This kind of cookie-based data collection happens elsewhere on the internet. Giant companies use it as a way to assess where their users go as they surf the web, which can then be tied into providing better targeted advertising.
-
For instance, Google’s reCaptcha cookie follows the same logic of the Facebook “like” button when it’s embedded in other websites—it gives that site some social media functionality, but it also lets Facebook know that you’re there.
-
- Mar 2020
-
www.cmswire.com www.cmswire.com
-
legitimate interest triggers when “processing is necessary for the purposes of the legitimate interests pursued by the controller or by a third party, except where such interests are overridden by the interests or fundamental rights and freedoms of the data subject
-
- Dec 2019
-
www.maketecheasier.com www.maketecheasier.com
-
And since it’s just a client, you can always use the todo.txt format text file created by it in the very beginning with any other client. Give it a try.
-
-
github.com github.com
-
Why a rewrite? To finally have a clean split between GUI code and logic.
Tags
Annotators
URL
-
-
en.wikipedia.org en.wikipedia.org
-
REST's client-server separation of concerns
-
- Nov 2019
-
gist.github.com gist.github.com
-
allows us to clearly separate concerns and reuse them on other elements
-
-
gist.github.com gist.github.com
-
React Native has also used this pattern in TouchableWithoutFeedback
-
we use a LOT of injector components to abstract out logic and nicely separate concerns like style, animation, and interactions from our layout components.
-
- Oct 2019
-
stackoverflow.com stackoverflow.com
-
Rack middleware is more than "a way to filter a request and response" - it's an implementation of the pipeline design pattern for web servers using Rack. It very cleanly separates out the different stages of processing a request - separation of concerns being a key goal of all well designed software products.
-
- Nov 2018
-
www.the-hospitalist.org www.the-hospitalist.org
-
Dr. Wachter and other early leaders also worried that patients, used to continuity of care with their primary-care doctors, would not take well to hospitalists. Would patients revolt against the idea of a new doctor seeing them every day?
-
Some “specialists worried that if hospitalists were more knowledgeable than once-a-month-a-year attendings, and knew more about what was going on, they would be less likely to consult a specialist,” Dr. Goldman explains, adding he and Dr. Wachter thought that would be an unintended consequence of HM. “If there was a reduction in requested consults, that expertise would somehow be lost.”
-
Perhaps the biggest concerns to hospital medicine in the beginning came from the residents at UCSF. Initially, residents worried—some aloud—that hospitalists would become too controlling and “take away their delegated and graduated autonomy,” Dr. Goldman recalls
-
- Oct 2018
-
www.mnemotext.com www.mnemotext.com
-
Some anxieties relate to practical issues, timeframes, and possible abuses. Concerns about these are reasonable and certainly need debate: the required technologies may be difficult to achieve, some may elude us indefinitely or turn out to be beyond our grasp. Some may be all too possible, if they fall into the wrong hands.
As people are creating new technologies for the benefit of other, there are many technology that leads to human destruction. Take for example the creation of nuclear weapons. Once was created to end destruction, but yet has never ended because the lack of trust and compromise. As human continue to create new and advance technology for the world, when is a there a time to stop? Are the people in need of "improvement"? As there is many good things in life, there is always something to contradict it.
-
- Dec 2015
-
cms.whittier.edu cms.whittier.edu
-
self-acting
We're essentially creating things on purpose that are going to have the ability to make their own decisions, possibly be smarter than us, and also have a chance of malfunctioning... Why?
-