- May 2022
-
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
- 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
- read the source code
- having a deep understanding of something
- software development: use of libraries vs. copying code into app project
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
- India
- vaccine
- emergency use listing
- COVID-19
- lang:en
- protein-based vaccine
- is:webpage
- emergency
- WHO
- Novavax
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
- shell scripting: killing/managing child processes
- depends on whom you ask
- use case
- best practices
- which is better depends on which criteria you use to judge
- more than one right way (no one right/best way)
- appropriate use case
- Linux: process groups
- shell scripting
- 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
- communication: use the right level of detail
- describe the what without getting bogged down by how (implementation details; too detailed)
- communication: focus on what is important
- too detailed
- 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
-
-
www.nature.com www.nature.com
-
One billion COVID vaccines, psychedelic sensor and COVID transmission halved. (2021). Nature, 593(7857), 13–13. https://doi.org/10.1038/d41586-021-01141-5
-
-
hiphopfoundations.org hiphopfoundations.org
-
Bill Withers
Grace Jones covered the song - with a reggae-influenced arrangement - on her 1981 album Nightclubbing and subsequently released the song as a single.
-
-
www.theguardian.com www.theguardian.com
-
WHO approves first Chinese Covid vaccine for emergency use. (2021, May 7). The Guardian. http://www.theguardian.com/society/2021/may/07/who-approves-first-chinese-covid-vaccine-for-emergency-use
-
-
docs.digitalocean.com docs.digitalocean.com
-
Use cases: Volumes are most useful when you need more storage space but don’t need the additional processing power or memory that a larger Droplet would provide, like: As the document root or media upload directory for a web server To house database files for a database server As a target location for backups As expanded storage for personal file hosting platforms like ownCloud As components for building more advanced storage solutions, like RAID arrays
-
-
twitter.com twitter.com
-
(20) ReconfigBehSci on Twitter: ‘RT @martikagv: New book “Urban Informatics”, #OpenAccess https://t.co/wp45uWU9Mi Edited by @jmichaelbatty @CUHKofficial Michael Goodchild,…’ / Twitter. (n.d.). Retrieved 21 April 2021, from https://twitter.com/SciBeh/status/1384411081456582662
-
-
stackoverflow.com stackoverflow.com
-
I used to pull stunts like this all the time as soon as tables came. Really ugly, and may seriously embarrass any validator you run it trough: overlapping table cells. Works in most browsers though and even without css.
-
-
hashnode.com hashnode.com
-
No, most css doesn't work in emails, stick to tables and images.
-
For now though, you're stuck with <table> and CSS2 support for your layouts.
-
-
www.reddit.com www.reddit.com
-
I hate to be the guy who will destroy your day but... Tables. You need to work with nested tables/cells. If you think Gmail is annoying you will cry in agony if you also need Outlook support.Work with the good old HTML from the early 2000's. That's the only way to be sure everything will work as intended.Anything else will mostly result in a horrible mess, broken design and incompatible layouts.
-
(And please, no "use a different email design service" answers, I don't have control over that)
-
-
stackoverflow.com stackoverflow.com
-
I would try designing your mail-template as "normal" as possible. Tables help a lot for example (yuck).
-
-
docs.rangelandsgateway.org docs.rangelandsgateway.org
-
In a study of 34 grazing systems in operation for 10-20 years in southwestern Montana, Myers (1989a) found timing of grazing, duration of use, and frequency of fall grazing were important factors in successful management (Table 3). The effectiveness of livestock grazing management was judged based on the vigor, regeneration, and utilization of woody species, as well as on bank stability.
-
- Apr 2021
-
github.com github.com
-
These example are for Rails applications, but there is no dependency on Rails for using this gem. Most of the examples are applicable to any Ruby application.
-
-
github.com github.com
-
This gem uses a Rack middleware to clear the store object after every request, but that doesn't translate well to background processing with Sidekiq. A companion library, request_store-sidekiq creates a Sidekiq middleware that will ensure the store is cleared after each job is processed, for security and consistency with how this is done in Rack.
-
-
boardgamegeek.com boardgamegeek.com
-
I really like the ideas in this game: the theme, what it's trying to accomplish (explore the problems with imperialism, if I understood correctly), the game board, the game in general. I want to like it.
but, I don't think I would like this one enough due to the luck and relying on other players' whims (trading) mechanisms:
- Dice Rolling
- Push Your Luck
You can risk a lot getting an expensive estate, but if you push your luck too much, your risk/gamble won't pay off and you'll permanently lose that [pawn] and those victory points.
-
-
meta.stackexchange.com meta.stackexchange.com
-
With Stack Overflow for Teams being a flexible platform, we’ve seen customers use it for a wide variety of use cases: A platform to help onboard new employees A self-serve help center to reduce support tickets Collaboration and documentation to drive innersource initiatives Breaking down silos and driving org wide transformation like cloud migration efforts A direct customer support platform Enable people who are working towards a common goal, whether a startup or a side project, to develop a collective knowledge base
-
-
unix.stackexchange.com unix.stackexchange.com
-
What produces that text, and what do you want to use it for?
-
If it's a list of actual pathnames, just replacing spaces by newlines may obviously mangle pathnames that contain embedded spaces, such as /User/myself/VirtualBox VMs/.
-
-
boardgamegeek.com boardgamegeek.comFjords1
-
https://www.kickstarter.com/projects/grailgames/fjords-a-grail-game
Was really on the fence about this one. But I ended up resonating/leaning towards the viewpoints expressed in https://boardgamegeek.com/thread/878971/europhile-reviews-disappointment
-
-
www.howtogeek.com www.howtogeek.com
-
The standard ext4 Linux file system also allocates space for a file-creation timestamp in its internal file system structures, but this hasn’t been implemented yet. Sometimes, this timestamp is populated, but you can’t depend on the values in it.
-
-
www.crabgrasslawn.com www.crabgrasslawn.com
-
If you’re installing new sod, you may use a light roller to make sure the pieces come into close contact with soil for the roots to grow and take hold.
-
There are times when you may need to flatten a bumpy lawn. For example, a golf course or a cricket pitch may be rolled to attain a smooth, level surface for playing. This is when a lawn roller may be needed.
-
-
blog.dnsimple.com blog.dnsimple.com
-
www.kickstarter.com www.kickstarter.com
-
medium.com medium.com
-
To make sure that participants couldn’t learn and predict where text field alternatives might show up during the test, we randomized the order in which we presented those text fields.
-
-
css-tricks.com css-tricks.com
-
stackoverflow.com stackoverflow.com
-
Of course, there is no reason why you can't use <aside> for all sidenotes, if it makes your code simpler. Think of it as civil disobedience. :)
-
-
boardgamegeek.com boardgamegeek.com
-
stackoverflow.com stackoverflow.com
-
This is a great application for using route constraints.
-
- Mar 2021
-
www.rubymotion.com www.rubymotion.com
-
Not enjoying Xcode, Amir used RubyMotion instead. Amir had real-world experience with Xcode and Objective-C, but didn't like it at all. Amir also has a Ruby background and went with RubyMotion to build A Dark Room. The command-line interface, the testing framework, the gems libraries and the CocoaPods integration and the freedom to use any text editor contributed to his decision.
-
-
github.com github.com
-
ProMotion is a RubyMotion gem that makes iOS development more like Ruby and less like Objective-C.
-
-
github.blog github.blog
-
Some pesky non-human users (namely computers) have taken to “hotlinking” assets via the raw view feature — using the raw URL as the src for a <script> or <img> tag.
-
The key point is that this is a feature to improve the experience of our human users.
-
The problem is that these are not static assets. The raw file view, like any other view in a Rails app, must be rendered before being returned to the user. This quickly adds up to a big toll on performance. In the past we’ve been forced to block popular content served this way because it put excessive strain on our servers.
-
-
www.linkedin.com www.linkedin.com
-
Just as we've become super-human thanks to telephones, calendars and socks, we can continue our evolution into cyborgs in a concrete jungle with socially curated bars and mathematically incorruptible governance.
-
we should eagerly anticipate granting ourselves the extra abilities afforded to us by Turing machines
-
Stop thinking of the ideal user as some sort of honorable, frontier pilgrim; a first-class citizen who carries precedence over the lowly bot. Bots need to be granted the same permission as human users and it’s counter-productive to even think of them as separate users. Your blind human users with screen-readers need to behave as “robots” sometimes and your robots sending you English status alerts need to behave as humans sometimes.
-
-
web.cs.iastate.edu web.cs.iastate.edu
-
Application: 3-D Shape RegistrationAn important problem in model-based recognition is to find the transformation of a set of datapoints that yields the best match of these points against a shape model. The process is oftenreferred to asdata registration. The data points are typically measured on a real object by rangesensors, touch sensors, etc., and given in Cartesian coordinates. The quality of a match is oftendescribed as the total squared distance from the data pointsto the model. When multiple shapemodels are possible, the one that results in the least total distance is then recognized as the shapeof the object.Quaternions are very effective in solving the above least-squares-based registration problem.
-
-
www.jackfranklin.co.uk www.jackfranklin.co.uk
-
The codebase for Pomodone makes more sense to me in Svelte, not React. I find it easier to navigate and work with.
-
React and Svelte are very similar in many ways, but what I've found is that in all the little ways that they are different, I prefer Svelte.
-
This isn't really a downside to React; one of React's strengths is that it lets you control so much and slot React into your environment
Tags
- the little details/things
- feels natural
- pleasant/enjoyable to use
- allowing developer/user to pick and choose which pieces to use (allowing use with competing libraries; not being too opinionated; not forcing recommended way on you)
- flexibility to use the tool that you prefer
- Svelte
- Svelte vs. React
Annotators
URL
-
-
en.wikipedia.org en.wikipedia.org
-
There is obvious connections between the flow paths of a use case and its test cases. Deriving functional test cases from a use case through its scenarios (running instances of a use case) is straightforward.
-
With content based upon an action or event flow structure, a model of well-written use cases also serves as an excellent groundwork and valuable guidelines for the design of test cases
-
Use cases are not only texts, but also diagrams, if needed.
-
-
-
commons.wikimedia.org commons.wikimedia.org
-
trailblazer.to trailblazer.to
-
Currently, I’m working on designing the interfaces and it’s real fun!
-
-
trailblazer.to trailblazer.to
-
This could be an operation, a workflow, or hand-baked Ruby code completely unrelated to Trailblazer.
-
-
rachelcoldicutt.medium.com rachelcoldicutt.medium.com
-
A complicated and messy essay underlining the fact that people can figure out how to use technology in off-label ways to better humanity rather than sitting back on the intended uses of these tools.
I definitely want to reference this in my presentation part of my workshop for "A Twitter of Our Own" for OERxDomains21.
-
And it’s tempting for engineers to think decentralising the Web can be achieved with technology. But really, it’s people who will make it happen. Rather than staying put in our little filter bubbles, we can burst out of them — and be radically sociable, delinquent, and make a scene.
off label uses of technology are important
I'm reminded of how Kicks Condor has appreciated my "people work" in the past.
-
-
www.eyebrowhairs.com www.eyebrowhairs.com
-
“Follow your blisters” implies something that you come back to so many times that you eventually move past the blister stage, into toughened skin. Eventually, the activity “marks you” through use and practice, and you develop a special competence. When you practice an activity a bit more obsessively than other people, you build unique character – you earn some wear and some healing that makes you idiosyncratic, and a little unbalanced.It is something that you don’t need to put on your to-do list, something you care enough about to return to repeatedly, even though it causes discomfort. Over time, you develop a layer of protection that enables you to do that something more easily.
-
-
www.nap.edu www.nap.edu
-
In recent years, the U.S. federal government has invested approximately $463 billion annually in interventions that affect the overall health and well-being of children and youth, while state and local budgets have devoted almost double that amount. The potential returns on these investments may not only be substantial but also have long-lasting effects for individuals and succeeding generations of their families.
Ideally, those tasked with making these investments would have available to them the evidence needed to determine the cost of all required resources to fully implement and sustain each intervention, the expected returns of the investment, to what extent these returns can be measured in monetary or nonmonetary terms, and who will receive the returns and when. As a result of a number of challenges, however, such evidence may not be effectively produced or applied. Low-quality evidence and/or a failure to consider the context in which the evidence will be used may weaken society's ability to invest wisely, and also reduce future demand for this and other types of evidence.
Advancing the Power of Economic Evidence to Inform Investments in Children, Youth, and Families highlights the potential for economic evidence to inform investment decisions for interventions that support the overall health and well-being of children, youth, and families. This report describes challenges to the optimal use of economic evidence, and offers recommendations to stakeholders to promote a lasting improvement in its quality, utility, and use.
-
-
medium.com medium.com
-
It’s an incredibly amount of overhead and waste. Packages increasingly consume more hard drive space, increase installation times
-
-
www.chevtek.io www.chevtek.io
-
I would much rather have a "cosine" module than a "trigonometry" module because chances are good I only need a small fraction of the utilities provided by the larger trig module.
-
Write modules for publication, even if you only use them privately. You will appreciate documentation in the future.
-
Small modules are extremely versatile and easy to compose together in an app with any number of other modules that suit your needs.
-
Second, I don't agree that there are too many small modules. In fact, I wish every common function existed as its own module. Even the maintainers of utility libraries like Underscore and Lodash have realized the benefits of modularity and allowed you to install individual utilities from their library as separate modules. From where I sit that seems like a smart move. Why should I import the entirety of Underscore just to use one function? Instead I'd rather see more "function suites" where a bunch of utilities are all published separately but under a namespace or some kind of common name prefix to make them easier to find. The way Underscore and Lodash have approached this issue is perfect. It gives consumers of their packages options and flexibility while still letting people like Dave import the whole entire library if that's what they really want to do.
Tags
- allowing developer/user to pick and choose which pieces to use (a la carte, not all or nothing)
- granularity of control
- allowing developer/user to pick and choose which pieces to use (allowing use with competing libraries; not being too opinionated; not forcing recommended way on you)
- composability
- for the benefit of future self
- small units/components/modules/libraries/packages/projects
- flexibility to use the tool that you prefer
- composition
- modularity
- write/document it as if it will be published even if only will use privately/internally (for the benefit of future self) (maintain rigor without shortcuts)
- all or nothing (granularity of control)
- micropackages
Annotators
URL
-
-
en.wikipedia.org en.wikipedia.org
-
This is not a physical phenomenon: the software does not actually decay, but rather suffers from a lack of being responsive and updated with respect to the changing environment in which it resides.
-
-
github.com github.comd3/d31
-
To the consternation of some users, 3.x employed Unicode variable names such as λ, φ, τ and π for a concise representation of mathematical operations. A downside of this approach was that a SyntaxError would occur if you loaded the non-minified D3 using ISO-8859-1 instead of UTF-8. 3.x also used Unicode string literals, such as the SI-prefix µ for 1e-6. 4.0 uses only ASCII variable names and ASCII string literals (see rollup-plugin-ascii), avoiding encoding problems.
-
-
github.com github.com
-
Normally you should not register a named module, but instead register as an anonymous module: define(function () {}); This allows users of your code to rename your library to a name suitable for their project layout. It also allows them to map your module to a dependency name that is used by other libraries.
-
-
github.com github.com
-
And no need to walk backwards through all these strings which is surprisingly inefficient in Ruby.
-
-
www.codetriage.com www.codetriage.com
-
Before a bug can be fixed, it has to be understood and reproduced. For every issue, a maintainer gets, they have to decipher what was supposed to happen and then spend minutes or hours piecing together their reproduction. Usually, they can’t get it right, so they have to ask for clarification. This back-and-forth process takes lots of energy and wastes everyone’s time. Instead, it’s better to provide an example app from the beginning. At the end of the day, would you rather maintainers spend their time making example apps or fixing issues?
-
-
stackoverflow.com stackoverflow.com
-
When you code in a semantic way, you basically give meaning to the data you're describing.
-
HTML elements have meaning. "Semantically correct" means that your elements mean what they are supposed to.
-
-
www.carbonbrief.org www.carbonbrief.org
-
The study, published in Nature Food, presents EDGAR-FOOD – the first database to break down emissions from each stage of the food chain for every year from 1990 to 2015. The database also unpacks emissions by sector, greenhouse gas and country.
-
-
github.com github.com
-
It can also be included as individual modules, i.e. Hashie::Extensions::MethodReader, Hashie::Extensions::MethodWriter and Hashie::Extensions::MethodQuery.
-
-
trailblazer.to trailblazer.to
-
This is my absolute favorite feature ever and the official reason for (re-)writing Trailblazer 2.1. It makes me happy every time I use it.
-
- Feb 2021
-
www.schneems.com www.schneems.com
-
The link name is not very helpful, it doesn’t explain what it does very well.
-
For example, what if your site has a customer interface and an “admin” interface? If the two have totally different designs and features, then it might be considerable overhead to ship the entirety of the admin interface to every customer on the regular site.
-
-
sobolevn.me sobolevn.me
-
So, the sad conclusion is: all problems must be resolved individually depending on a specific usage context. There’s no silver bullet to resolve all ZeroDivisionErrors once and for all. And again, I am not even covering complex IO flows with retry policies and expotential timeouts.
-
-
www.morozov.is www.morozov.is
-
Railway Oriented Programming is a way to gracefully handle errors in your application
-
However, you don’t need to have an extensive knowledge of monads to use ROP in your code.
-
-
dry-rb.org dry-rb.org
-
It's hard to say why people think so because you certainly don't need to know category theory for using them, just like you don't need it for, say, using functions.
-
-
en.wikipedia.org en.wikipedia.org
-
Supporting languages may use monads to abstract away boilerplate code needed by the program logic.
-
-
trailblazer.to trailblazer.to
-
Feel free to pick and choose what you need for your applications.
-
-
github.com github.com
-
The bare bones operation without any Trailblazery is implemented in the trailblazer-operation gem and can be used without our stack.
-
While Trailblazer offers you abstraction layers for all aspects of Ruby On Rails, it does not missionize you. Wherever you want, you may fall back to the "Rails Way" with fat models, monolithic controllers, global helpers, etc. This is not a bad thing, but allows you to step-wise introduce Trailblazer's encapsulation in your app without having to rewrite it.
-
Only use what you like.
-
you can pick which layers you want. Trailblazer doesn't impose technical implementations
Tags
- focus on concepts/design/structure instead of specific/concrete technology/implementation
- focus on what it should do, not on how it should do it (implementation details; software design)
- allowing developer/user to pick and choose which pieces to use (allowing use with competing libraries; not being too opinionated; not forcing recommended way on you)
- trailblazer-operation
- newer/better ways of doing things
- Trailblazer
- freedom of user to override specific decision of an authority/vendor (software)
- rails: the Rails way
- making changes / switching/migrating gradually/incrementally/step-wise/iteratively
- leaving the details of implementation/integration up to you
- abstractions
Annotators
URL
-
-
github.com github.com
-
No one has requested it before so it's certainly not something we're planning to add.
-
To give a little more context, structures like this often come up in my work when dealing with NoSQL datastores, especially ones that rely heavily on JSON, like Firebase, where a records unique ID isn't part of the record itself, just a key that points to it. I think most Ruby/Rails projects tend towards use cases where these sort of datastores aren't appropriate/necessary, so it makes sense that this wouldn't come up as quickly as other structures.
-
-
psyarxiv.com psyarxiv.com
-
Psederska, E., Vasilev, G., DeAngelis, B., Bozgunov, K., Nedelchev, D., Vassileva, J., & al’Absi, M. (2021). Resilience, mood, and mental health outcomes during the first wave of the COVID-19 pandemic in Bulgaria. PsyArXiv. https://doi.org/10.31234/osf.io/8nraq
-