- Dec 2022
-
Local file Local file
-
he “speaking animal,” which acknowledgesthe dialectic capacity of the symbolic animal of fables to stage a conversationabout subjugation and resistance, but simultaneously, to point beyond itselfto the reality of animal life.
speaking animals ... speaking through eyes/perspective
-
Paraphrasing Joel Chandler Harris, BryanWagner writes that animal stories were “political allegories in which therelative position of the weaker animals corresponded to the global per-spective of the race.”
thow dean uses deer and how poe uses cat ... not how chris uses deer
-
- Nov 2022
-
github.com github.com
-
2 • 3 = 6
-
-
github.com github.com
-
Ideally we could use Unicode, 3 2 1 ~ 3 2 1 ≃
-
-
github.com github.com
-
It can be useful to use with keywords argument, which required symbol keys.
Tags
Annotators
URL
-
-
wua-wien.at wua-wien.atEnergie1
-
Der österreichische Energieverbrauch beträgt zirka 404 TWh (1 Terawattstunde = 1012 Wattstunden) und steigt jährlich um mehr als 2 %. Etwa 25 % davon stammen aus erneuerbaren Energiequellen. Eine grobe Betrachtung zeigt, dass etwa je ein Drittel des Energieverbrauchs auf Verkehr, Industrie und andere Verbraucher entfällt. Ein Anteil von etwa 60 TWh wird in der Form von elektrischer Energie verbraucht. Durch die günstigen natürlichen Gegebenheiten in Österreich können etwa 60 % davon aus Wasserkraft gewonnen werden. Auf Grund des stetig steigenden Verbrauchs und in geringerem Ausmaß wegen der Liberalisierung der Strommärkte erzeugt Österreich seit dem Ende der 90-er Jahre auch bei der Elektrizität nicht mehr selbst seinen Eigenbedarf. Im europäischen Vergleich hat Österreich - vor allem auf Grund der Wasserkraft - einen hohen Anteil an erneuerbarer Energie. In Europa erfolgt die Stromgewinnung zu etwa 85 % aus fossilen Rohstoffen sowie Kernenergie und zu 15 % aus erneuerbaren Quellen. Es ist also derzeit in allen Bereichen eine überwiegende Abhängigkeit von fossilen Energieträgern gegeben.
Tags
Annotators
URL
-
-
-
Once you have collected and summarized the information, it’s time to highlight some key elements. Include index information like the author’s name, book location, or the link URL. For longer Zettels, highlighting the learning objectives or key points in a bullet list might be helpful. The main point is to write your notes in such a way that you will easily be able to quickly get the gist of the material when you come across it again.
Step 2: Rewrite your notes for the Zettelkasten : after you summrize 1- hightlight the key elements 2-set your index 3-the obective
-
Step 1: Read and take smart notes When working, write down your thoughts and the reason why you are taking particular note of a piece of information. This way, you will better understand the focus and reasoning behind the information you jot down. Even better, summarize the information and write it in your own words as much as you can.
writing a smart notes means : write information on your own words -why did think about on that way<br /> - what do you think about it
-
Permanent notes are stand-alone ideas that can be made without any direct context to other sourced information such as books, videos, or other available data. Permanent notes can be made as a recap or summary of the information just researched or learned, but can also be thoughts that popped into your brain while thinking over a myriad of information or while analysing any given context. The aim of permanent notes is to process the notes you have made and analyze how they affect your interests, thinking, and research. You then cherry pick the notes that add value to your existing ideas and connect the new information to what you already know and have saved in your database.
A note you got when an idea pops p n your mind
-
The technique of grouping information, organizing ideas into categories, and creating tags to help you find grouped information at a later stage is the art of reference notes. When we reference something, it is safe to say that the topic or idea we are writing about is part of a bigger topic or is information accredited to someone or someplace else. We use this technique in various daily circumstances and the function is available on almost every software and app available today.
use a hashtag
-
The Zettelkasten method is good for when you want to: Systematically organize important information Find information again, even years later Develop your own ideas
it will help you for :
-
-
-
Not trying to be presumptuous, but thought this proposal would be best served with a PR.
-
-
www.ruby-forum.com www.ruby-forum.com
-
I have been doing different things w/ Ruby for a couple of years now and the only bad thing I can say about it is that it makes programming in other languages feel awfully burdensome. = )
-
-
www.taniarascia.com www.taniarascia.com
-
For example, if I make an application (Client) that allows a user (Resource Owner) to make notes and save them as a repo in their GitHub account (Resource Server), then my application will need to access their GitHub data. It's not secure for the user to directly supply their GitHub username and password to my application and grant full access to the entire account. Instead, using OAuth 2.0, they can go through an authorization flow that will grant limited access to some resources based on a scope, and I will never have access to any other data or their password.
-
-
stackoverflow.com stackoverflow.com
-
session = ActionDispatch::Integration::Session.new(Rails.application) response = session.post("/mypath", my_params: "go_here")
worked for me
-
I used the above to test what happens to the user if a POST happens in another session (via WebSockets), so a form wouldn't cut it.
-
-
-
The uses of flow diagrams are vast and honestly endless.
-
-
github.com github.com
-
There are two situations where an init-like process would be helpful for the container.
-
highly recommended that the resulting image be just one concern per container; predominantly this means just one process per container, so there is no need for a full init system
container images: whether to use full init process: implied here: don't need to if only using for single process (which doesn't fork, etc.)
-
-
-
As to whether you should be using Tini.
Tags
Annotators
URL
-
-
stackoverflow.com stackoverflow.com
-
Unless you are the maintainer of lvh.me, you can not be sure it will not disappear or change its RRs for lvh.me. You can use localhost.localdomain instead of localhost, by adding the following lines in your hosts file: 127.0.0.1 localhost localhost.localdomain ::1 localhost localhost.localdomain This is better than using lvh.me because: you may not always have access to a DNS resolver, when developing
-
- Oct 2022
-
www.zylstra.org www.zylstra.org
-
They were adding social structures and context to the data. Basically adding social software design principles to a large volume of data.
After letting professionals in a company have access to their internal BI data, they made it re-usable for themselves by -adding social structures (iirc indicating past and present people, depts etc., curating it for specific colleagues, forming subgroups around parts of the data) -adding context (iirc linking it to ongoing work, and external developments, adding info on data origin) Thus they started socially filtering the data, with the employee network as social network [[Social netwerk als filter 20060930194648]].
-
they had given a number of their professionals access to their business intelligence data. Because they were gathering so much data nobody really looked at for lack of good questions to ask of the dataset. The professionals put the data to good use, because they could formulate the right questions.
Most data in a company is collected for a single purpose (indicators, reporting, marketing). Companies usually don't look at how that data about themselves might be re-used by themselves. Vgl [[Data wat de overheid doet 20141013110101]] where I described this same effect for the public sector (based on work for the Court of Audit, not tying it back to this here. n:: re-use company internal data
-
-
developer.mozilla.org developer.mozilla.org
- Sep 2022
-
datatracker.ietf.org datatracker.ietf.org
-
Consumers can use the status member to determine what the original status code used by the generator was, in cases where it has been changed (e.g., by an intermediary or cache), and when message bodies persist without HTTP information. Generic HTTP software will still use the HTTP status code.
-
-
www.al-fanarmedia.org www.al-fanarmedia.org
-
Literacies Teachers Need During Covid-19
News Example
-
-
github.com github.com
-
unevaluatedProperties is like additionalProperties, except that it can "see through" $ref and "see inside" allOf, anyOf, oneOf, if, then, else
-
-
github.com github.com
-
my use of the schema would have nothing to do with validation but generating typescript definition and having more accurate code editor completion/suggestions.
-
One of the reasons I initially pushed back on the creation of a JSON Schema for V3 is because I feared that people would try to use it as a document validator. However, I was convinced by other TSC members that there were valid uses of a schema beyond validation.
annotation meta: may need new tag: fear would be used for ... valid uses for it beyond ...
-
-
stackoverflow.com stackoverflow.com
-
I'm not sure if there's a reason why additionalProperties only looks at the sibling-level when checking allowed properties but IMHO this should be changed.
-
It's unfortunate that additionalProperties only takes the immediate, sibling-level properties into account
-
additionalProperties applies to all properties that are not accounted-for by properties or patternProperties in the immediate schema.
annotation meta: may need new tag: applies to siblings only or applies to same level only
-
additionalProperties here applies to all properties, because there is no sibling-level properties entry - the one inside allOf does not count.
-
-
stackoverflow.com stackoverflow.com
-
What I want is to use "additionalProperties: false" to validate a union of schemas, but it seems it isn't possible. I already tried with sevaral different combination, but I didn't make it works.
-
additionalProperties: false works on it, but not along with allOf, because only validate one schema or another.
-
-
-
While libraries pay substantial fees to OCLC and other providers for services including deduplication, discovery, and enhancement, they do not do so with the intent that their records should then be siloed or restricted from re-use. Regardless of who has contributed to descriptive records, individual records are generally not copyrightable, nor is it in the public interest for their use to be restricted.
Libraries are not contributing records to the intent that access can be restricted
This is the heart of the matter, and gets to the record use policy debate from the last decade. Is the aggregation of catalog records a public good or a public good? The second sentence—"nor is it in the public interest for their use to be restricted"—is the big question in my mind.
-
- Aug 2022
-
-
You can use Danger to codify your team's norms, leaving humans to think about harder problems.
annotation meta: may need new tag: codify a team's norms
-
-
www.nytimes.com www.nytimes.com
-
Schuetze, C. F. (2021, November 5). Vienna will start to vaccinate young children without E.U. approval. The New York Times. https://www.nytimes.com/2021/11/05/world/europe/vienna-vaccinate-young-children.html
-
-
www.fda.gov www.fda.gov
-
Commissioner, O. of the. (2022). Comirnaty and Pfizer-BioNTech COVID-19 Vaccine. FDA. https://www.fda.gov/emergency-preparedness-and-response/coronavirus-disease-2019-covid-19/comirnaty-and-pfizer-biontech-covid-19-vaccine
-
-
inews.co.uk inews.co.uk
-
de Figueiredo, A. (2021, September 3). Vaccine passports don’t make sense for our health or society, self-isolation is more effective. Inews.Co.Uk. https://inews.co.uk/opinion/vaccine-passports-covid-dont-make-sense-for-our-health-or-society-encouraging-self-isolation-is-more-effective-1179458
-
-
www.livemint.com www.livemint.com
-
Banerjee, P. (2022, February 13). Biological E seeks EUA for its Corbevax vaccine for 12-18 yrs age group. Mint. https://www.livemint.com/news/india/biological-e-seeks-eua-for-its-corbevax-vaccine-for-12-18-yrs-age-group-11644746753338.html
-
-
www.pbs.org www.pbs.org
-
American Academy of Pediatrics urges FDA to approve COVID vaccines for children under 12. (2021, September 13). PBS NewsHour. https://www.pbs.org/newshour/show/american-academy-of-pediatrics-urges-fda-to-approve-covid-vaccines-for-children-under-12
-
-
www.fda.gov www.fda.gov
-
Commissioner. (2021, October 29). FDA Authorizes Pfizer-BioNTech COVID-19 Vaccine for Emergency Use in Children 5 through 11 Years of Age. FDA; FDA. https://www.fda.gov/news-events/press-announcements/fda-authorizes-pfizer-biontech-covid-19-vaccine-emergency-use-children-5-through-11-years-age
Tags
- FDA
- emergency use authorization
- lang:en
- Pfizer-BioNTech
- safety
- children
- is:other
- 5-to 11-year-old
- effectiveness
- USA
- COVID-19
- vaccine
Annotators
URL
-
-
www.nature.com www.nature.com
-
Kozlov, M. (2022). Why scientists are racing to develop more COVID antivirals. Nature, 601(7894), 496–496. https://doi.org/10.1038/d41586-022-00112-8
-
-
www.nytimes.com www.nytimes.com
-
Zimmer, C. (2021, September 21). An extra J. & J. shot substantially boosts protection against Covid, the company reports. The New York Times. https://www.nytimes.com/2021/09/21/health/johnson-and-johnson-shot.html
-
-
time.com time.com
-
Vergales, J., & Gandhi, M. (2021, November 3). The Childhood Vaccine Debate Ignores a Crucial Point: Kids Aren’t Supposed to Die. Time. https://time.com/6113220/why-kids-should-get-covid-19-vaccine/
-
-
www.nytimes.com www.nytimes.com
-
Beers, L. S. (2021, October 26). Opinion | Yes, You’ll Want to Vaccinate Your Kids Against Covid. An Expert Explains Why. The New York Times. https://www.nytimes.com/2021/10/26/opinion/covid-vaccine-kids.html
-
-
-
Mertens, G., Lodder, P., Smeets, T., & Duijndam, S. (2021). Fear of COVID-19 predicts vaccination willingness 14 months later. PsyArXiv. https://doi.org/10.31234/osf.io/rt7u4
-
-
www.youtube.com www.youtube.com
Tags
Annotators
URL
-
-
Local file Local file
-
The moral is not to abandon useful tools; rather, it is, first, that one shouldmaintain enough perspective to be able to detect the arrival of that inevitable daywhen the research that can be conducted with these tools is no longer important;
-
-
fairislandproject.github.io fairislandproject.github.io
-
This is a living document. Ideas or feedback can be contributed through commenting directly using Hypothes.is which will create issues in the Github repo or you can directly create an issue: https://github.com/FAIRIslandProject/Generic-Place-based-Data-Policy/issues
How awesome is this sort of integration? If one can use annotations to create issues within Github, it should be relatively easy for websites to do similar integrations to allow the use of Hypothes.is as a native commenting system on website pages. The API could be leveraged with appropriate URL wildcard patterns to do this.
I have heard of a few cases of people using Github issue queues as comments sections for websites, and this dovetails well into that space.
How might the Webmention spec be leveraged or abstracted to do similar sorts of communication work?
-
-
www.tandfonline.com www.tandfonline.com
-
The potential for digital technology to support learners in this process was highlighted in the studies reviewed, but commonly learners lacked the competence to use digital technologies for educational purposes. Learners often required support, especially with the planning and reviewing aspects of self-directed learning, as well as guidance regarding how digital technologies can be used effectively for educational purposes. Importantly, studies that focus on understanding the facilitation of self-directed learning in childhood education are seldom. Further studies on self-directed learning in childhood education are vital – given that this is a fundamental competence for preparing our youth to deal with work and life in our rapidly changing world.
Learners often required support, especially with the planning and reviewing aspects of self-directed learning, as well as guidance regarding how digital technologies can be used effectively for educational purposes. Importantly, studies that ..
-
-
link.springer.com link.springer.com
-
focused on the language that the children used when they were involved in a design and technology activity
Children’s Use of Technology in Learning
-
-
flexdigitalhealth.atlassian.net flexdigitalhealth.atlassian.net
-
The instructions here for "Postman Collection" might be useful on the portal, but are they too complex? Is there anything we can do (such as purchase a Postman team license) to streamline this part of the work? Ask the ProServ Team.
-
-
flexdigitalhealth.atlassian.net flexdigitalhealth.atlassian.net
-
From Freddie: potential use cases
-
-
flexdigitalhealth.jamacloud.com flexdigitalhealth.jamacloud.com
-
Got this from Lucas: this is a good example of API documentation for custom services developed in proserv
-
-
www.theguardian.com www.theguardian.com
-
Jake Fiennes, the head of conservation at the Holkham estate in Norfolk and author of nature-friendly farming book Land Healer, said he was unsurprised by the results of the report
Es ist interessant, dass die ökologische Produktion nicht weniger effizient ist als die konventionelle. Es hat offenbar – wie bei der Energie, folgt man Malm – andere Gründe, wenn sie abgelehnt wird.
-
10-year project by the UK Centre for Ecology and Hydrology revealed that nature-friendly farming methods boost biodiversity without reducing average yield
-
-
github.com github.com
-
Beyond memory leaks, it's also really useful to be able to re-run a test many times to help with tracking down intermittence failure and race conditions.
Tags
Annotators
URL
-
-
www.ebay.com www.ebay.com
-
https://www.ebay.com/itm/115477031627?hash=item1ae2f7aacb:g:yUIAAOSwQp1ix3zT
Another example of someone using a library card catalog as wine storage
-
-
www.derstandard.at www.derstandard.at
-
Ergebnisse des Farmland Bird Index für 2021
-
-
openknowledge.worldbank.org openknowledge.worldbank.org
- Jul 2022
-
itnext.io itnext.io
-
Since they are already using the Node toolchain for the front-end, developers from this track only needed to stretch a bit more to become “full-stack” engineers.
Think about the irony of this.
-
-
pubs.cgdev.org pubs.cgdev.org
-
gist.github.com gist.github.com
-
5.9 Use principles.
5.9 Use principles.
-
2 Use the 5-Step Process to Get What You Want Out of Life
2 Use the 5-Step Process to Get What You Want Out of Life
-
-
liliputing.com liliputing.com
-
I may be insane, but somehow text search here makes me wonder that Calibre might actually make an interesting interface for keeping one's notes?
Document management, text search, tagging, reference management capabilities, open source, custom meta data, server potential, etc. What's missing to prevent such an off-label use case?
Syndication link: https://twitter.com/ChrisAldrich/status/1547689914078179328
-
-
-
Twine is an open-source tool for telling interactive, nonlinear stories.
You don’t need to write any code to create a simple story with Twine, but you can extend your stories with variables, conditional logic, images, CSS, and JavaScript when you're ready.
Twine publishes directly to HTML, so you can post your work nearly anywhere. Anything you create with it is completely free to use any way you like, including for commercial purposes.
Heard referenced in Reclaim Hosting community call as a method for doing "clue boards".
Could twinery.org be used as a way to host/display one's linked zettelkasten or note card collection?
-
-
www.openmindmag.org www.openmindmag.org
-
Thinking clearly about technological progress versus technological hype requires us to consider the question of why people buy and adopt new technologies in general. A type of academic analysis called the technology acceptance model identifies two notable factors: perceived ease of use and perceived usefulness. That is, we embrace new technologies when they seem easy enough to use and when we believe they will help us do something worthwhile.
-
-
report.ipcc.ch report.ipcc.ch
-
Chapter 5: Demand, services and social aspects of mitigation
Public Annotation of IPCC Report AR6 Climate Change 2022 Mitigation of Climate Change WGIII Chapter 5: Demand, Services and Social Aspects of Mitigation
NOTE: Permission given by one of the lead authors, Felix Creutzig to annotate with caveat that there may be minor changes in the final version.
This annotation explores the potential of mass mobilization of citizens and the commons to effect dramatic demand side reductions. It leverages the potential agency of the public to play a critical role in rapid decarbonization.
-
- Jun 2022
-
www.google.com www.google.com
-
Google Library: Beyond Fair Use?
-
Google's use of thumbnail images in its Image. Search is fair and noninfringing
Commercialization of fair use
-
-
cacm.acm.org cacm.acm.org
-
The nature-of-work factor generally focuses on the degree of expressiveness of the plaintiff's work. Artistic and fanciful works tend to be highly expressive, so it is generally more difficult to win fair use defenses involving such works. Fact-intensive and highly functional works tend, by contrast, to have a lesser quantum of expressive content. Hence, fair use may be easier to establish in cases involving such works.
Nature-of-work factor is more favorable for fact-intensive and highly functional works
-
-
storage.courtlistener.com storage.courtlistener.com
-
We write on behalf of plaintiffs Hachette Book Group, Inc., HarperCollins PublishersLLC, John Wiley & Sons, Inc. and Penguin Random House LLC (the “Plaintiffs”) to request apre-motion summary judgment conference pursuant to Individual Practice 2(B).
Purpose of Letter
-
-
-
The intent of this specification and related tools is to expand the reach of development containers, allow the usage of containers by themselves or different orchestration technologies, and allow any tool to manage and create them.
-
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.
-
-
storage.courtlistener.com storage.courtlistener.com
-
I write on behalf of Defendant Internet Archive pursuant to Paragraph 2-B of Your Honor’s IndividualPractices to request a pre-motion conference on a motion for summary judgment in the above matter.
A letter from the law firm representing the Internet Archives that summarizes the four-point fair use argument and details the extraordinary circumstances behind the the IA's National Emergency Library.
Hachette Book Group, Inc. et al. v. Internet Archive, Case No. 1:20-CV-04160-JGK
-
- May 2022
-
github.com github.com
-
The shared context worked though thanks! RSpec.shared_context "perform_enqueued_jobs" do around(:each) { |example| perform_enqueued_jobs { example.run } } end RSpec.configure do |config| config.include_context "perform_enqueued_jobs" end
use case for around
Tags
Annotators
URL
-
-
github.com github.com
-
1/ It fits into existing spec based testing infrastructure nicely, including running on travis, code coverage using SimpleCov, switching between generating a profile (RubyProf), a benchmark (Benchmark::IPS) or normal test run. 2/ Some of my benchmarks do have expect clauses to validate that things are working before invoking the benchmark.
Answering the question:
I don't understand the point of putting it in a spec. What does that gain you over using benchmark-ips the normal way?
-
I just wanted to mention there was, IMHO, a valid use case for this. It helps add to the validity of the ticket and the design of the feature.
-
It really looks like a few lines of code — https://github.com/seanwalbran/rspec_around_all/blob/master/lib/rspec_around_all.rb — which complete the DSL and make up for those 0.1% of the cases like mine.
-
-
-
I’m gonna use Node!
Reality: this has a lot to do with the problems here.
Remedy: ignore the NodeJS toolchain bullshit[1], rip out the thing you're interested in, and stuff it into an ordinary page foo.hmtl.
-
-
-
According to a Pew study from last year, only 20 percent of K-12 students in America study a foreign language (compared with an average of 92 percent in Europe), and only 10 states and the District of Columbia make foreign-language learning a high school graduation requirement.
use of statistics
-
According to the Modern Language Association, enrollment in college-level foreign-language courses dropped 9.2 percent from 2013 to 2016.
Use of statistics
-
-
github.com github.com
-
To run it you need node.js installed, and from the command line run npm install once inside that directory to install the library dependencies. Then node run.js <yourExportedDirectory>
Why require Node?
Everything that this script does could be better accomplished (read: be made more accessible to a wider audience) if it weren't implemented by programming against NodeJS's non-standard APIs and it were meant to run in the browser instead.
-
-
tomcritchlow.com tomcritchlow.com
-
Here’s a super rough proof of concept Replit tiny library.
There's nothing about this that requires Replit (or NodeJS, for that matter). The whole thing can be achieved by writing a program to run on the script engine that everyone already has access to—the one in the browser. No servers required.
-
- Apr 2022
-
github.com github.com
-
Instead read this gems brief source code completely before use OR copy the code straight into your codebase.
Tags
- read the source code
- software development: use of libraries: only use if you've read the source and understand how it works
- copy and paste programming
- learning by reading the source
- software development: use of libraries vs. copying code into app project
- having a deep understanding of something
Annotators
URL
-
-
-
Let's imagine your project talks to databases, supports several, and has adapters for each one of them. Those adapters may have top-level require calls that load their respective drivers: # my_gem/db_adapters/postgresql.rb require "pg" but you don't want your users to install them all, only the one they are going to use.
-
There are project layouts that put implementation files and test files together.
-
Let's suppose that your gem decorates something in Kernel:
-
-
edgeguides.rubyonrails.org edgeguides.rubyonrails.org
-
if Rails.application.config.reloading_enabled? Rails.autoloaders.main.on_unload("Country") do |klass, _abspath| klass.expire_redis_cache end end
-
If your application decorates classes or modules from an engine,
-
Some projects want something like app/api/base.rb to define API::Base, and add app to the autoload paths to accomplish that.
-
By default, app/models/concerns belongs to the autoload paths and therefore it is assumed to be a root directory. So, by default, app/models/concerns/foo.rb should define Foo, not Concerns::Foo.
-
-
www.hey.com www.hey.comHEY3
-
It feels great to get an email from someone you care about. Or a newsletter you enjoy. Or an update from a service you like. That’s how email used to feel all the time.
-
Now email feels like a chore, rather than a joy. Something you fall behind on. Something you clear out, not cherish. Rather than delight in it, you deal with it.
-
HEY’s fresh approach transforms email into something you want to use, not something you’re forced to deal with.
-
-
github.com github.com
-
(I can't imagine use case for it but if you can, please open a pull request or issue).
Tags
Annotators
URL
-
-
stackoverflow.com stackoverflow.com
-
I am not looking for model based after commits on update/create/etc, I want to be able to dynamically define a block that will be executed only if the current (top-most) transaction passes:
-
This would work if your transaction only wraps a single model's save operation. I need to wrap at least Node + Version + Attachment
looking for a callback that you can register to happen after current transaction is committed, not just after_commit of model -- though actually, that might fire precisely when current transaction is committed, too (except that it might only get triggered for nested transactions, not the top-most transaction), so it could maybe go there ... but I think the problem is just that it doesn't belong there, because it's not specific to the model...
I guess the OP said it best:
I am not looking for model based after commits on update/create/etc, I want to be able to dynamically define a block that will be executed only if the current (top-most) transaction passes:
-
-
sambleckley.com sambleckley.com
-
You want the front page to show a few hundred posts along with the top three comments on each post. You’re planning on being very popular, so the front page will need to be very fast. How do you fetch that data efficiently from postgresql using Activerecord?
-
Making one Comment query per Post is too expensive; it’s N+1 queries (one to fetch the posts, N to fetch the comments). You could use includes to preload all the comments for all the posts, but that requires hydrating hundreds of thousands of records, even though you only need a few hundred for your front page. What you want is some kind of GROUP BY with a LIMIT on each group — but that doesn’t exist, either in Activerecord nor even in postgres. Postgres has a different solution for this problem: the LATERAL JOIN.
-
-
www.zylstra.org www.zylstra.org
-
3. Who are you annotating with? Learning usually needs a certain degree of protection, a safe space. Groups can provide that, but public space often less so. In Hypothes.is who are you annotating with? Everybody? Specific groups of learners? Just yourself and one or two others? All of that, depending on the text you’re annotating? How granular is your control over the sharing with groups, so that you can choose your level of learning safety?
This is a great question and I ask it frequently with many different answers.
I've not seen specific numbers, but I suspect that the majority of Hypothes.is users are annotating in small private groups/classes using their learning management system (LMS) integrations through their university. As a result, using it and hoping for a big social experience is going to be discouraging for most.
Of course this doesn't mean that no one is out there. After all, here you are following my RSS feed of annotations and asking these questions!
I'd say that 95+% or more of my annotations are ultimately for my own learning and ends. If others stumble upon them and find them interesting, then great! But I'm not really here for them.
As more people have begun using Hypothes.is over the past few years I have slowly but surely run into people hiding in the margins of texts and quietly interacted with them and begun to know some of them. Often they're also on Twitter or have their own websites too which only adds to the social glue. It has been one of the slowest social media experiences I've ever had (even in comparison to old school blogging where discovery is much higher in general use). There has been a small uptick (anecdotally) in Hypothes.is use by some in the note taking application space (Obsidian, Roam Research, Logseq, etc.), so I've seen some of them from time to time.
I can only think of one time in the last five or so years in which I happened to be "in a text" and a total stranger was coincidentally reading and annotating at the same time. There have been a few times I've specifically been in a shared text with a small group annotating simultaneously. Other than this it's all been asynchronous experiences.
There are a few people working at some of the social side of Hypothes.is if you're searching for it, though even their Hypothes.is presences may seem as sparse as your own at present @tonz.
Some examples:
@peterhagen Has built an alternate interface for the main Hypothes.is feed that adds some additional discovery dimensions you might find interesting. It highlights some frequent annotators and provide a more visual feed of what's happening on the public Hypothes.is timeline as well as data from HackerNews.
@flancian maintains anagora.org, which is like a planet of wikis and related applications, where he keeps a list of annotations on Hypothes.is by members of the collective at https://anagora.org/latest
@tomcritchlow has experimented with using Hypothes.is as a "traditional" comments section on his personal website.
@remikalir has a nice little tool https://crowdlaaers.org/ for looking at documents with lots of annotations.
Right now, I'm also in an Obsidian-based book club run by Dan Allosso in which some of us are actively annotating the two books using Hypothes.is and dovetailing some of this with activity in a shared Obsidian vault. see: https://boffosocko.com/2022/03/24/55803196/. While there is a small private group for our annotations a few of us are still annotating the books in public. Perhaps if I had a group of people who were heavily interested in keeping a group going on a regular basis, I might find the value in it, but until then public is better and I'm more likely to come across and see more of what's happening out there.
I've got a collection of odd Hypothes.is related quirks, off label use cases, and experiments: https://boffosocko.com/tag/hypothes.is/ including a list of those I frequently follow: https://boffosocko.com/about/following/#Hypothesis%20Feeds
Like good annotations and notes, you've got to put some work into finding the social portion what's happening in this fun little space. My best recommendation to find your "tribe" is to do some targeted tag searches in their search box to see who's annotating things in which you're interested.
-
Tools like Hypothes.is are designed as silos to ensure that its social features work.
As open source as Hypothes.is is, I do wish that it had some additional open IndieWeb building blocks to keep it from being a silo.
Sadly, I've never had the time, nor the technical expertise and facility with their code to implement the pieces, but I have outlined a bit of what might be done to make the platform a bit less silo-like: https://boffosocko.com/2019/04/08/ideas-for-indieweb-ifying-hypothes-is/
Fortunately it is open enough for me in other respects that I can bend portions of it to my will and needs beyond what it offers a la carte.
-
-
elicit.org elicit.orgElicit1
-
https://hypothes.is/a/krnfMl0pEeyvKGMTU02-Lw
stuhlmueller Dec 14, 2021
Elicit co-founder here - feel free to leave feedback through hypothesis, we're reading it. :)
Example in the wild of a company using Hypothes.is to elicit (pun intended) feedback on their product.
Tags
Annotators
URL
-
-
github.com github.com
-
Let's say the user is in the process of selecting some files. The names don't indicate anything. So she has to listen and select.
Tags
Annotators
URL
-
-
html.spec.whatwg.org html.spec.whatwg.org
-
When a web page is viewed on a screen with a large physical size (assuming a maximised browser window), the author might wish to include some less relevant parts surrounding the critical part of the image. When the same web page is viewed on a screen with a small physical size, the author might wish to show only the critical part of the image.
Tags
Annotators
URL
-
- Mar 2022
-
www.theatlantic.com www.theatlantic.com
-
Heathers, J. (2021, October 23). The Real Scandal About Ivermectin. The Atlantic. https://www.theatlantic.com/science/archive/2021/10/ivermectin-research-problems/620473/
-
-
github.com github.com
-
This has cropped up in particular when trying to create a copy of a store object when the store changes (which is a common use case with forms where you don't want to mutate the global store until the form is saved).
Exactly! This is more or less the same kind of use case I tend to have: intentionally having/wanting a stale/out-of-date copy of a (reactive) object.
Tags
Annotators
URL
-
-
-
This is particularly useful in cases where you want to separate your data migrations from your schema migrations or where you have multiple steps in your migration process that must have other steps invoked throughout.
-
-
github.com github.com
-
There are a couple of reasons why you may want to do this.
-
-
-
If you need to ensure migrations run in a certain order with regular db:migrate, set up Outrigger.ordered. It can be a hash or a proc that takes a tag; either way it needs to return a sortable value: Outrigger.ordered = { predeploy: -1, postdeploy: 1 } This will run predeploys, untagged migrations (implicitly 0), and then postdeploy migrations.
-
class PreDeployMigration < ActiveRecord::Migration tag :predeploy end
-
This is especially useful for zero downtime deploys to Production environments.
-
-
twitter.com twitter.com
-
ReconfigBehSci. (2022, January 26). RT @PsyArXivBot: Confidence of others trumps confidence of self in social information use https://t.co/Tvanez1cjS [Tweet]. @SciBeh. https://twitter.com/SciBeh/status/1502295445527277574
-
-
www.reseau-canope.fr www.reseau-canope.fr
-
En somme, les études sur la communication des élèves atteints d’autisme permettent de mettre en évidence l’importance d’un contexte riche en stimulations appropriées (sons et images), mais également une évidente « stabilité » de l’information à décoder, le suivi des émotions des personnages, le rôle de l’imitation dans les apprentissages. Ces résultats encouragent donc l’usage d’outils informatiques adéquats pour améliorer la communication sociale chez les enfants atteints d’autisme.
L'association de deux sujets qui n'ont pas de corrélation vérifiéé, revient dans la conclusion en contradiction avec la conclusion de l'étude de Ramdoss, S et al.
-
Nous allons montrer par une courte analyse de quelques études l’impact du travail éducatif informatisé dans l’apprentissage de la communication sociale chez des enfants atteints d’autisme.
En contradiction avec l'hypothèse :
Results suggest that CBI should not yet be considered a researched-based approach to teaching communication skills to individuals with ASD. However, CBI does seem a promising practice that warrants future research. Les résultats suggèrent que le CBI ne devrait pas encore être considéré comme un approche fondée sur la recherche pour enseigner les compétences en communication aux personnes ayant Troubles du Spectre Autistique. Cependant, le CBI semble être une pratique prometteuse qui justifie des recherches futures.
Tags
- Ramdoss, S., Lang, R., Mulloy, A., Franco, J., O’Reilly, M., Didden, R., & Lancioni, G. (2010b). Use of Computer-Based Interventions to Teach Communication Skills to Children with Autism Spectrum Disorders : A Systematic Review. Journal of Behavioral Education, 20(1), 55‑76. https://doi.org/10.1007/s10864-010-9112-7
- Ramdoss, S., Lang, R., Mulloy, A., Franco, J., O’Reilly, M., Didden, R., & Lancioni, G. (2010a). Use of Computer-Based Interventions to Teach Communication Skills to Children with Autism Spectrum Disorders : A Systematic Review. Journal of Behavioral Education, 20(1), 55‑76. https://doi.org/10.1007/s10864-010-9112-7
Annotators
URL
-
-
Local file Local file
-
Google Hangouts
Students could rehearse with each other when not able to physically meet.
-
Glogster Edu
Students could create a multimedia poster about their favorite band/artist.
-
Voki
I could have students utilize this tool by having them create a spoken word song to which they do not have to be seen.
-
Google Sites
I could have students create a website as if they were the website designer for their favorite musician and had to put up information such as new album release, tour dates, etc.
-
Adobe Spark in the Classroom
A program like this could be utilized in my class where I have students record a small music snippet and add graphics to it.
-
- Feb 2022
-
darekkay.com darekkay.com
-
This tool requires Node
shouldn't
-
-
people.cs.rutgers.edu people.cs.rutgers.edu
-
Screening is a useful way of avoiding spam and/or other unwanted correspondence.
-
Filing is the simplest application to take advantage of plus signs.
-
-
www.theguardian.com www.theguardian.com
-
Schreiber, M. (2022, February 18). Covid infection increases risk of mental health disorders, study finds. The Guardian. https://www.theguardian.com/world/2022/feb/18/covid-infection-increases-risk-mental-health-disorder-study
-
-
blog.devgenius.io blog.devgenius.io
-
Currently you need to have Node and npm installed on your machine once this is done you can use it with the following command
There's no real reason why Node/NPM should be required for this. You could dump the logic into a bookworms.html file and run it in the JS runtime that's already on someone's machine (their Web browser)...
-
-
-
This is especially useful for UI library components, as it is generally unknown which events will be required from them for all desired use cases. For example, if a Button component only forwards a click event, then no use case that requires the mouseover or the keypress event can be used with it.
-
-
reallifemag.com reallifemag.com
-
This is a widespread mistake among those who think that a sexy note-taking app like Roam will suddenly free their minds, or that they can train themselves into geniuses with enough spaced repetition, or that they can build a zettelkasten capable of thinking original thoughts for them.
Thinking that the tool will solve a particular problem without knowing what the tool does or how to use it properly will surely set one up for failure. You can use a screwdriver like a hammer, but your results won't be as good as using a hammer and using it properly.
-
-
-
people want to have an object, lets call it a Product that they want to create in several different steps
-
-
-
“ Reports of the destruction of books in transport from Lilienfeld in 1789 are well known. At that time, books were used by the coachmen to patch bad roads. ”
In the late 1700's Vienna there were reports of coachmen using books to patch bad roads.
Sacrilege!
-
-
psyarxiv.com psyarxiv.com
-
Gradassi, A., Bos, W. van den, & Molleman, L. (2022). Confidence of others trumps confidence of self in social information use. PsyArXiv. https://doi.org/10.31234/osf.io/mqyu2
-
-
twitter.com twitter.com
-
Meg Tirrell. (2022, January 31). Novavax says it’s officially filed for EUA of its #covid19 vaccine in the US https://t.co/QtKunI2sbm [Tweet]. @megtirrell. https://twitter.com/megtirrell/status/1488223548602736640
-
- Jan 2022
-
-
Companies should not assume they can release a product without thinking about its unintended uses and then undo the harm that results. This often doesn’t work.Some technology
Many products, including technology and social media products, can have a multitude of uses including unintended off-label uses. This can lead to harmful and deleterious effects on large groups of people.
On the other hand, some users may also see great benefits from off-label use cases. As an example, despite it being a vector for attacks and abuse, some marginalized groups have benefited from social media through increased visibility, the ability to create community, and expand their digital access.
As a result it's important to look at how a product is being used in the marketplace and change or modify it or create similar but different products to amplify the good and mitigate the bad.
-
-
www.rfc-editor.org www.rfc-editor.org
-
The server generating a 401 response MUST send a WWW-Authenticate header field (Section 4.1) containing at least one challenge applicable to the target resource.
Meaning that 99% of the people use it are using it "wrong" because they're not using it for HTTP authentication and don't send a WWW-Authenticate header field with their 401 response?
Hmm. That's a tough one. On the one hand, the spec does say they must send it.
Initial opinion
But on the other hand, one could argue that that requirement only applies if using 401 for HTTP authentication. And that saying it's wrong to do so (as they claim at https://stackoverflow.com/questions/3297048/403-forbidden-vs-401-unauthorized-http-responses/14713094#14713094 and https://hyp.is/JA45zHotEeybDdM_In4frQ/stackoverflow.com/questions/3297048/403-forbidden-vs-401-unauthorized-http-responses) is having a too strict/narrow/literal interpretation.
HTTP is meant to be used widely in many very different uses and contexts, most of which do not use this very specific HTTP authentication scheme; my opinion is that they shouldn't be denied from using it, just because they don't have anything useful WWW-Authenticate header field. (Or (which is also fine with me), just put something "emptyish" in the field, like "Unused". Unless that would trigger a Basic auth modal in the browser, in which case we shouldn't, for practical reasons.)
Why shouldn't we be able to repurpose this same status code for uses that are still authentication, but just not HTTP authentication per se?
Is it really wrong to repurpose this useful status code for other contexts, like cookie-based app-defined authentication systems?
I say that it's okay to repurpose/reuse 401 for any authentication system (that uses HTTP as a part of it, even though not using HTTP's own authentication system), as long as we try to maintain the same semantic as originally intended/described here. I think it's okay to use 401 as a response to a XHR request, and then have the client redirect to a login page, which provides a way to authenticate again (reattempt the authentication challenge), analogous to how it works for HTTP authentication.
Revised opinion
https://stackoverflow.com/questions/3297048/403-forbidden-vs-401-unauthorized-http-responses/14713094#14713094 has made me change my mind and convinced me that...
Authentication by schemes outside of (not defined by) RFC7235: Hypertext Transfer Protocol (HTTP/1.1): Authentication should not use HTTP status 401, because 401 Unauthorized is only defined (by current RFCs) by RFC7235: Hypertext Transfer Protocol (HTTP/1.1): Authentication, and has semantics and requirements (such as the requirement that "A server generating a 401 (Unauthorized) response MUST send a WWW-Authenticate header field containing at least one challenge.") that simply don't make sense or cannot be fulfilled if using a non-HTTP authentication scheme.
403 Forbidden, on the other hand, is defined by the broader HTTP standard, in RFC7231: Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content and RFC7235: Hypertext Transfer Protocol (HTTP/1.1): Authentication.
In conclusion, if you have your own roll-your-own login process and never use HTTP Authentication, 403 is always the proper response and 401 should never be used.
Couldn't a custom auth system use WWW-Authenticate header?
The question was asked:
Doesn't RFC7235 provide for "roll-your-own" or alternate auth challenges? Why can't my app's login flow present its challenge in the form of a WWW-Authenticate header? Even if a browser doesn't support it, my React app can...
And I would say sure, if you want (and if the browser doesn't automatically show a Basic auth modal in this case and thwart your plans).
They might be on to something here with that question!
But that should probably be the test of whether you can/should use 401: are you actually using WWW-Authenticate header?
Indeed I found an example where it is used for OAuth2.
-
-
stackoverflow.com stackoverflow.com
-
Authentication by schemes outside of RFC2617 is not supported in HTTP status codes and are not considered when deciding whether to use 401 or 403.
What does "are not considered when deciding whether to use 401 or 403" mean exactly? What exactly should not be considered, and what exactly should be considered instead? In other words, how did someone arrive at the conclusion that "if you have your own roll-your-own login process and never use HTTP Authentication, 403 is always the proper response and 401 should never be used."? Why is 403 okay to use for non-HTTP authentication, but not 401?
Oh, I think I understand the difference now.
They should have said:
Authentication by schemes outside of (not defined by) RFC7235: Hypertext Transfer Protocol (HTTP/1.1): Authentication should not use HTTP status 401, because 401 Unauthorized is only defined (by current RFCs) by RFC7235: Hypertext Transfer Protocol (HTTP/1.1): Authentication, and has semantics and requirements (such as the requirement that "A server generating a 401 (Unauthorized) response MUST send a WWW-Authenticate header field containing at least one challenge.") that simply don't make sense or cannot be fulfilled if using a non-HTTP authentication scheme.
403 Forbidden, on the other hand, is defined by the broader HTTP standard, in RFC7231: Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content and RFC7235: Hypertext Transfer Protocol (HTTP/1.1): Authentication.
In conclusion, if you have your own roll-your-own login process and never use HTTP Authentication, 403 is always the proper response and 401 should never be used.
See also my comments in https://hyp.is/p1iCnnowEeyUPl9PxO8BuQ/www.rfc-editor.org/rfc/rfc7235
-
Meaning if you have your own roll-your-own login process and never use HTTP Authentication, 403 is always the proper response and 401 should never be used.
-
If HTTP authentication is not in use and the service has a cookie-based authentication scheme as is the norm nowadays, then a 403 or a 404 should be returned.
-
-
github.com github.com
-
My case is that I have a component which takes an object as a prop. As the user changes the object's values, they can either Save or Cancel. So in the component I have two variables: value and valueUnsaved. It's similar to the example on my comment above. To avoid mutating the original object directly, I assign valueUnsaved as a deep clone of value. If value is changed outside of the component, valueUnsaved should be updated.
Tags
Annotators
URL
-
-
support.mozilla.org support.mozilla.org
-
Thunderbird provides the ability to archive messages - that is, to move them from the default folders to archive folders without deleting the messages altogether. This makes it easy to organize archives or move them to a backup device, and keep the Inbox clean. Messages can only be archived manually, not automatically.
-
-
psyarxiv.com psyarxiv.com
-
Strickland, J. C., Stoops, W., Banks, M., & Gipson-Reichardt, C. D. (2022). Logical Fallacies and Misinterpretations that Hinder Progress in Translational Addiction Neuroscience. PsyArXiv. https://doi.org/10.31234/osf.io/frd5e
-
- Dec 2021
-
ir.novavax.com ir.novavax.com
-
Novavax and Serum Institute of India Announce World Health Organization Grants Emergency Use Listing for NVX-CoV2373 COVID-19 Vaccine—Dec 17, 2021. (n.d.). Retrieved December 18, 2021, from https://ir.novavax.com/2021-12-17-Novavax-and-Serum-Institute-of-India-Announce-World-Health-Organization-Grants-Emergency-Use-Listing-for-NVX-CoV2373-COVID-19-Vaccine?sf156899079=1
Tags
- lang:en
- emergency
- WHO
- protein-based vaccine
- India
- Novavax
- COVID-19
- is:webpage
- emergency use listing
- vaccine
Annotators
URL
-
-
worrydream.com worrydream.comQuotes1
-
Bret Victor: email (9/3/04) Interface matters to me more than anything else, and it always has. I just never realized that. I've spent a lot of time over the years desperately trying to think of a "thing" to change the world. I now know why the search was fruitless -- things don't change the world. People change the world by using things. The focus must be on the "using", not the "thing". Now that I'm looking through the right end of the binoculars, I can see a lot more clearly, and there are projects and possibilities that genuinely interest me deeply.
Specifically highlighting that the "focus must be on the 'using', not the 'thing'".
This quote is very reminiscent of John M. Culkin's quote (often misattributed to McLuhan) "We shape our tools and thereafter they shape us."
<small><cite class='h-cite via'>ᔥ <span class='p-author h-card'>Linus Lee</span> in Towards a research community for better thinking tools | thesephist.com (<time class='dt-published'>12/01/2021 08:23:07</time>)</cite></small>
-
- Nov 2021
-
hcommons.org hcommons.org
-
For the Europeans the drums were a different device of communication. Mostly attack retreat and come to church.But how we use drums today. Send out a different communication. In the music industry. It is basically electronics from that producers use. That communicates we need to make more money for this artist or out of this artist. And on the dance floor it means hey let’s dance.Even when someone is knocking on the door. That is a sound like a drum too. It means I am here and after the door please. Or I’m a total stranger and you might not have to answer the door.Or your packages arrived.
-
-
www.sciencedirect.com www.sciencedirect.com
-
The negative indirect effects of additional land-use change may outweigh the positive direct effects on global climate and biodiversity, so that a large-scale switch to organic farming in the EU could possibly turn out to be a disservice to global sustainability.
Argument
-
organic farming often requires more land than conventional farming for the same quantity of food output.
land use
-
-
svelte.school svelte.school
-
The complex typewriting effect is abstracted away in a neat function, out of site and out of mind.
-
this action is re-usable. Anytime you want a typewriter effect added to an element, you just import the function and apply it. So elegant.
-
Some call them the lifecycle methods of elements which I think is an apt description.
-
-
www.kirillvasiltsov.com www.kirillvasiltsov.com
-
Finally, I think Actions are great for animations, because you will definitely need to apply the same logic to many different elements. One of my favorite examples are FLIP animations, where a change in DOM position can be animated. For example shuffling a list of items. I will not dive deep into the topic in this article: I've written about some techniques in this article about FLIP animations in React and in this article about how to create spring animations with Web Animation API. Although they are not about Svelte, at the end of the day it all boils down to manipulating the HTML element directly. And Svelte Actions are a great place to do it.
-
But you can get quite close to directly updating CSS with Actions!
-
export function autofocus(node) { node.focus(); } That's it. This is a legitimate Svelte Action!
-
-
hcommons.org hcommons.org
-
Hieroglyphics the oldest form of alphabet. Using Pictures and symbols instead of letters. But the pictures and samples usually meant something else. And then they became letters.
-
-
twitter.com twitter.com
-
World Health Organization (WHO) on Twitter. (n.d.). Twitter. Retrieved 3 November 2021, from https://twitter.com/WHO/status/1455869992965181441
-
-
www.reddit.com www.reddit.com
-
For example, if your machine has a lot of RAM doesn't mean all apps should then use as much of it as possible.
-
- Oct 2021
-
github.com github.com
-
In addition, Google designed Chromium to be easy and intuitive for users, which means they compromise on transparency and control of internal operations.
-
-
kit.svelte.dev kit.svelte.dev
-
This function allows you to modify (or replace) a fetch request for an external resource that happens inside a load function that runs on the server (or during pre-rendering). For example, your load function might make a request to a public URL like https://api.yourapp.com when the user performs a client-side navigation to the respective page, but during SSR it might make sense to hit the API directly (bypassing whatever proxies and load balancers sit between it and the public internet).
-
-
www.kylehq.com www.kylehq.com
-
And on any given day, developing with Svelte and its reactive nature is simply a dream to use. You can tell Svelte to track state changes on practically anything using the $: directive. And it’s quite likely that your first reactive changes will produce all the expected UI results.
-
-
hcommons.org hcommons.org
-
Block printing was created and used by people of China. They used it for buddhist scripture
-
-
-
Baraniuk, Chris. ‘Covid-19: How the UK Vaccine Rollout Delivered Success, so Far’. BMJ 372 (18 February 2021): n421. https://doi.org/10.1136/bmj.n421.
-
-
dailycaller.com dailycaller.com
-
GANDHI: Vaccine Mandates Are The Only Way To End This Public Health Emergency. (n.d.). Retrieved 4 October 2021, from https://dailycaller.com/2021/09/21/gandhi-vaccine-mandates-are-the-only-way-to-end-this-public-health-emergency/
-
- Sep 2021
-
www.niemanlab.org www.niemanlab.org
-
From a media point of view, Genius was offensive for its initial underlying claim: that it was okay to take anyone’s content for zero compensation, so long as it “added transformative value” by tacking on a comment box where people could say it sucked.
Hot take 🔥
-
-
www.dynare.org www.dynare.orgDynare1
-
Ease of Use Write your model almost as you would on paper and Dynare will take care of the rest!
-
-
-
Update API usage of the view helpers by changing javascript_packs_with_chunks_tag and stylesheet_packs_with_chunks_tag to javascript_pack_tag and stylesheet_pack_tag. Ensure that your layouts and views will only have at most one call to javascript_pack_tag or stylesheet_pack_tag. You can now pass multiple bundles to these view helper methods.
Good move. Rather than having 2 different methods, and requiring people to "go out of their way" to "opt in" to using chunks by using the longer-named
javascript_packs_with_chunks_tag
, they changed it to just use chunks by default, out of the box.Now they don't need 2 similar but separate methods that do nearly the same, which makes things simpler and easier to understand (no longer have to stop and ask oneself, which one should I use? what's the difference?).
You can't get it "wrong" now because there's only one option.
And by switching that method to use the shorter name, it makes it clearer that that is the usual/common/recommended way to go.
-
-
www.mdpi.com www.mdpi.com
-
Ontologies are inseparable from the communities in which they are being created and used [25].
Tags
Annotators
URL
-
-
stackoverflow.com stackoverflow.com
-
One good use for /dev/tty is if you're trying to call an editor in a pipeline (e.g., with xargs). Since the standard input of xargs is some list of files rather than your terminal, just doing, e.g., | xargs emacs will screw up your terminal. Instead you can use | xargs sh -c 'emacs "$@" </dev/tty' emacs to connect the editor to your terminal even though the input of xargs is coming from elsewhere.
-
-
spin.atomicobject.com spin.atomicobject.com
-
An extensible plugin architecture allows for customizing your workflow or even making Yarn a package manager for non-JavaScript projects.
-
- Aug 2021
-
4cd.instructure.com 4cd.instructure.com
-
hold four hours a week on set days and times; M 11:15AM-12:15PM (in-person & on-line) T 10AM-11AM (on-line)W 2:15PM-3:15PM (in-person & on-line)Th 1PM-2PM (on-line) and by appointment
-
-
www.cnn.com www.cnn.com
-
CNN, Kaitlan Collins, John Harwood, Kevin Liptak, Jeremy Diamond and Kate Sullivan. ‘CDC Changes Mask Guidance in Response to Threat of Delta Variant of Covid-19’. CNN. Accessed 23 August 2021. https://www.cnn.com/2021/07/27/politics/cdc-mask-guidance/index.html.
-
-
psyarxiv.com psyarxiv.com
-
Dyer, M., Sallis, H., Khouja, J., Dryhurst, S., & Munafo, M. (2021). Associations between COVID-19 Risk Perceptions and Mental Health, Wellbeing, and Risk Behaviours. PsyArXiv. https://doi.org/10.31234/osf.io/zup86
-
-
www.frontiersin.org www.frontiersin.org
-
Montag, C., Sindermann, C., Rozgonjuk, D., Yang, S., Elhai, J. D., & Yang, H. (2021). Investigating Links Between Fear of COVID-19, Neuroticism, Social Networks Use Disorder, and Smartphone Use Disorder Tendencies. Frontiers in Psychology, 0. https://doi.org/10.3389/fpsyg.2021.682837
-
- Jul 2021
-
github.com github.com
-
apart from [Websockets], which is unnecessarily complex for non-browser applications
-
-
medium.com medium.com
-
It’s fun but when would we ever use things like this in actual code?When it’s well tested, commented, documented, and becomes an understood idiom of your code base.We focus so much on black magic and avoiding it that we rarely have a chance to enjoy any of the benefits. When used responsibly and when necessary, it gives a lot of power and expressiveness.
-
- Jun 2021
-
digitalnow878391108.wordpress.com digitalnow878391108.wordpress.com
-
Monorepo use cases
-
-
www.bmj.com www.bmj.com
-
Darby, Alistair C., and Julian A. Hiscox. ‘Covid-19: Variants and Vaccination’. BMJ 372 (23 March 2021): n771. https://doi.org/10.1136/bmj.n771.
-
-
stackoverflow.com stackoverflow.com
-
for cpp_file in *.cpp; do gcc -c $$cpp_file & done; wait This gives much finer control than make -j.
-
There is one very important reason for enabling job control to be useful inside scripts: the side-effect it has of placing background processes in their own process groups. This makes it much, much easier to send signels to them and their children with one simple command: kill -<signal> -$pgid. All other ways of dealing with signaling entire trees of processes either involve elaborate (sometimes even recursive) functions, which are often bugnests, or risk killing the parent in the process (no pun intended).
-
You particular circumstances may or may not warrant a way different from what lhunath (and other users) deem "best practices".
Tags
- use case
- shell scripting: killing/managing child processes
- more than one right way (no one right/best way)
- Linux: process groups
- appropriate use case
- shell scripting
- best practices
- which is better depends on which criteria you use to judge
- depends on whom you ask
- shell scripting: job control
Annotators
URL
-
-
-
Provides a template for future specific classes
-
-
binnyva.com binnyva.com
-
This page is currently in public beta mode. I'm am trying to get feedback from multiple people(including you) before I publish it. To facilitate the feedback submission, I have added a highlighting and commenting option. To use that, just select any text(for eg, double click on this: DOUBLE CLICK ME). When you get a login prompt, use this login details... Username: zettelkasten Password: notes If you have any corrections or suggestions, please select the text and add a comment using this system.
This is pretty cool. I've not run into anyone using an open account on Hypothes.is to solicit anonymous feedback on an article before.
Tags
Annotators
URL
-
-
docs.rangelandsgateway.org docs.rangelandsgateway.org
-
Deferment is the delay of grazing to achieve a specific management objective (Society for Range Management 2004). Skovlin (1984) suggests that deferring use until the late season (fall), until restoration of habitat is ac-ceptable, offers a good measure of protection without great expense.
-
-
github.com github.com
-
The emphasis was made on a raw CDP protocol because Chrome allows you to do so many things that are barely supported by WebDriver because it should have consistent design with other browsers.
compatibility: need for compatibility is limiting:
- innovation
- use of newer features
-
-
-
they handled this with 4 1x dynos on Heroku (before switching to AnyCable they had 20 2x dynos for ActionCable).
-
-
stackoverflow.com stackoverflow.com
-
FYI, my use case is having clickable links in the mail generated by the integration tests.
-
-
gitlab.com gitlab.com
-
naildrivin5.com naildrivin5.com
-
www.mutuallyhuman.com www.mutuallyhuman.com
-
For me the diagrams make it easier to talk about what the tests do without getting bogged down by how they do it.
Tags
- describe the what without getting bogged down by how (implementation details; too detailed)
- communication: focus on what is important
- too detailed
- communication: use the right level of detail
- focus on what it should do, not on how it should do it (implementation details; software design)
- communication: effective communication
Annotators
URL
-
-
docs.gitlab.com docs.gitlab.com
-
These tests should only be used when: the functionality/component being tested is small the internal state of the objects/database needs to be tested it cannot be tested at a lower level
-
-
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.
-
-
stackoverflow.com stackoverflow.com
-
Thanks, this was just what I was looking for! This is a perfect appropriate use of instance_eval. I do not understand the nay-sayers. If you already have your array in a variable, then sure, a.reduce(:+) / a.size.to_f is pretty reasonable. But if you want to "in line" find the mean of an array literal or an array that is returned from a function/expression — without duplicating the entire expression ([0,4,8].reduce(:+) / [0,4,8].length.to_f, for example, is abhorrent) or being required to assign to a local, then instance_eval option is a beautiful, elegant, idiomatic solution!!
-
instance_eval is analogous to using tap, yield_self, … when you are dealing with a chain of method calls: do use it whenever it's appropriate and helpful! And in this case, I absolutely believe that it is.
-
instance_eval lets you run the code while only specifying a once, so it can be chained with other commands. I.e. random_average = Array.new(10) { rand(10) }.instance_eval { reduce(:+) / size.to_f } instead of random = Array.new(10) { rand(10) }; random_average = random.reduce(:+) / random.size
-
- May 2021
-
-
also it's can be helpful for geo deploying when your browser should get access to closest API by GeoDNS but server part can touch neighborhood server or same server.
"geo deploy"
Tags
Annotators
URL
-
-
github.com github.com
-
If you would like to make a code change, go ahead. Fork the repository, open a pull request. Do this early, and talk about the change you want to make. Maybe we can work together on it.
-
-
github.com github.com
-
docs.gitlab.com docs.gitlab.com
-
Make it easier to manage people and control visibility. Give people different permissions depending on their group membership.
-
Organize large projects. For large projects, subgroups makes it potentially easier to separate permissions on parts of the source code.
Tags
Annotators
URL
-
-
www.nature.com www.nature.com
-
Kreier, F. (2021). ‘Unprecedented achievement’: Who received the first billion COVID vaccinations? Nature. https://doi.org/10.1038/d41586-021-01136-2
-