- Mar 2021
-
trailblazer.to trailblazer.to
-
For pluggability, an endpoint is split into a Protocol and an Adapter part. This separates generic logic from environment-dependent code.
-
Note how a handful of default steps lead into six standardized termini, allowing to plug protocols into different adapters. Imagine replacing your self-written API adapter with a canonical JSON-API adapter, for example.
-
Most “legacy” operations don’t have this output, yet. However, the Model() macro now supports this terminus.
-
-
rachelcoldicutt.medium.com rachelcoldicutt.medium.com
-
Can we occupy technology with love?
An interesting re-framing of the social media problem. Similar to the IndieWeb philosophy, but a bit more pointed.
-
-
news.ycombinator.com news.ycombinator.com
-
It's a pet peeve, but I wish that people would stop describing their HTTP RPC APIs using the term "REST".
The only solution is probably to advocate for moving away from "REST" entirely—for all parties. Mend the discord by coining two new terms and clearly articulate the two meanings that should be attached to them.
("Indian" is another word like this, but that did not get fully deprecated. This is resulted in lots of confusion. "'Indian'? Like Native Americans?" "No, Indian as in 'from India'" "Oh, all right." A similar thing is happening with "open source".)
This probably involves making the terms (or at least one of them—so long as it's the right one) somewhat cool. Maybe the non-REST term should be AROH (pronounced like "arrow") for "Application RPC Over HTTP".
-
-
-
The challenge, honestly, is the tyranny of choice. It takes research and time. As Linux users will tell you, the hardest part of using Linux is deciding the exact distro to use, because there’s so much choice. It can be overwhelming.
I love the elegance of the idea of "tyranny of choice."
-
-
psyarxiv.com psyarxiv.com
-
Robertson, O. M., & Pownall, M. (2020). The Expertise Paradox: Opportunities and Challenges of a Public Psychology Framework [Preprint]. PsyArXiv. https://doi.org/10.31234/osf.io/sfnb9
-
-
bmcpublichealth.biomedcentral.com bmcpublichealth.biomedcentral.com
-
Myers, L. B., & Goodwin, R. (2011). Determinants of adults’ intention to vaccinate against pandemic swine flu. BMC Public Health, 11(1), 15. https://doi.org/10.1186/1471-2458-11-15
-
-
arstechnica.com arstechnica.com
-
Mole, B. (2020, June 24). White House ordered NIH to cancel coronavirus research funding, Fauci says. Ars Technica. https://arstechnica.com/science/2020/06/white-house-ordered-nih-to-cancel-coronavirus-research-funding-fauci-says/
-
-
github.com github.com
-
This is not a fork. This is a repository of scripts to automatically build Microsoft's vscode repository into freely-licensed binaries with a community-driven default configuration.
almost without a doubt, inspired by: chromium vs. chrome
-
-
muhlenbergcollege.instructure.com muhlenbergcollege.instructure.com
-
These productions were white washed so that white people would be comfortable and enjoy viewing. There was no way that a production of this time would portray slavery in a way that made white people look like they were doing anything wrong.
-
-
www.sciencedaily.com www.sciencedaily.com
-
It has long since been demonstrated that Parkinson's patients have a different microbiome in the intestines than healthy people
Question:
- In what way is the microbiota different in Parkinson’s disease patients compared to that of healthy people?
- Do we know anything about the correlation between the particular species of microbiota and the disease?
- Do we know anything about how the signals being sent from the gut to the brain are different from those in healthy individuals?
-
But at the same time, we've been puzzled about why there was such a big difference between patient symptoms.
Question:
- What are the differences in the symptoms of these two kinds of Parkinson’s disease?
-
-
corytheboyd.com corytheboyd.com
-
I was pretty annoyed with myself for having fallen for the trap of not documenting my own systems, but not sure how I could have remembered all of the Hugo-isms
I've explained such a system, and promised Andy Chu an example that I've yet to be able to complete, but it comes down to this:
A website is fundamentally a document repository. One of the first documents that you should store in that repository is one which explains, in detail, the procedures for provisioning the host powering the site and how content gets published. (Even better if it's so detailed that the procedures exhibit a degree of rigor such that a machine can carry them out, rather than requiring manual labor by a human.)
-
-
en.wikipedia.org en.wikipedia.org
-
In those wretched countries where a man cannot call his tongue his own, he can scarce call anything his own. Whoever would overthrow the liberty of a nation must begin by subduing the freeness of speech ... Without freedom of thought there can be no such thing as wisdom, and no such thing as public liberty without freedom of speech, which is the right of every man ...
It’s interesting to see this being debated today with the fight over freedom of speech in social media. You could argue that social media is today’s version of the earlier pamphlets.
-
satire
Satire was often times used as a method of critiquing the power structures of the day, as well as making comments on other aspects of society. Direct criticism was frowned upon, and often times punished, but you could get away with veiling your criticism as humor.
-
Franklin thereby invented the first newspaper chain. It was more than a business venture, for like many publishers since he believed that the press had a public-service duty
Long before the internet, and even national level newspapers, Franklin understood the power of the written word. His, and other like minded individual’s words were distributed in the form of pamphlets, that extolled their ideas on liberty and justice, and spread those words to all who were interested.
-
A polymath, he was a leading writer, printer, political philosopher, politician, Freemason, postmaster, scientist, inventor, humorist, civic activist, statesman, and diplomat
In stark contrast to today’s specialist that focus on being the best at one or maybe two areas of concentration. Like many of his contemporaries, Benjamin Franklin made contributions to a broad spectrum of pursuits.
-
-
theadhocracy.co.uk theadhocracy.co.uk
-
the community is both endlessly creative and genuinely interested in solving big issues in meaningful ways. Whether it's their commitment to careful (and caring) community stewardship or their particular strain of techno-ethics, I have been consistently (and pleasantly) surprised at what I've seen during the last twelve months. I don't always see eye-to-eye with their decisions and I don't think that the community is perfect, but it's consistently (and deliberately) striving to be better, and that's a fairly rare thing, online or off.
-
-
danallosso.substack.com danallosso.substack.com
-
The Obsidian vault that I've created for the students is secure (by invitation only in Dropbox) and THEY CAN CONTRIBUTE to it. I've put the questions for discussion in the content sections, and have asked students to answer the questions on the page. This hasn't resulted in the types of threaded discussions I was hoping for, but improvements to the interface and better questions will hopefully lead to that.
This is similar to teachers in the last two decades creating class wikis which students can add to.
I'm curious how the differences in user interface with Obsidian may actually make this process simpler and easier. With all of these experiments, some of the issue may be the learning curve of using the new tool, so having simpler UIs certainly goes a long way.
The side benefit of some of these is that students (within a Domain of One's Own space), might see the power and value of these systems in their introduction and then take and use these tools in their learning and working lives thereafter.
-
I hadn't really thought that much about the pedagogical aspects (they don't really teach PhD historians pedagogy where I went to school, or I missed it somehow, so I've been trying to educate myself since then).
Don't feel bad, I don't think many (any?!) programs do this. It's a terrible disservice to academia.
Examples of programs that do this would be fantastic to have. Or even an Open Education based course that covers some of this would be an awesome thing to see.
-
-
www.thelancet.com www.thelancet.com
-
Varsavsky, Thomas, Mark S. Graham, Liane S. Canas, Sajaysurya Ganesh, Joan Capdevila Pujol, Carole H. Sudre, Benjamin Murray, et al. ‘Detecting COVID-19 Infection Hotspots in England Using Large-Scale Self-Reported Data from a Mobile Application: A Prospective, Observational Study’. The Lancet Public Health 6, no. 1 (1 January 2021): e21–29. https://doi.org/10.1016/S2468-2667(20)30269-3.
-
-
deevybee.blogspot.com deevybee.blogspot.com
-
Deevybee. (2020, December 6). BishopBlog: Faux peer-reviewed journals: a threat to research integrity. BishopBlog. http://deevybee.blogspot.com/2020/12/faux-peer-reviewed-journals-threat-to.html
-
-
www.newscientist.com www.newscientist.com
-
Page, Michael Le. ‘What You Need to Know about the New Variant of Coronavirus in the UK’. New Scientist. Accessed 25 February 2021. https://www.newscientist.com/article/2263077-what-you-need-to-know-about-the-new-variant-of-coronavirus-in-the-uk/.
-
-
www.jmir.org www.jmir.org
-
Morley, Jessica, Josh Cowls, Mariarosaria Taddeo, and Luciano Floridi. ‘Public Health in the Information Age: Recognizing the Infosphere as a Social Determinant of Health’. Journal of Medical Internet Research 22, no. 8 (2020): e19311. https://doi.org/10.2196/19311.
-
-
www.nytimes.com www.nytimes.com
-
Tompkins, Lucy, and Carl Zimmer. ‘As the U.S. Surpasses 24 Million Cases, Los Angeles Confronts a More Contagious Variant.’ The New York Times, 18 January 2021, sec. U.S. https://www.nytimes.com/2021/01/18/us/as-the-us-surpasses-24-million-cases-los-angeles-confronts-a-more-contagious-variant.html.
-
-
www.science.org www.science.org
-
Lee, Elizabeth C., Nikolas I. Wada, M. Kate Grabowski, Emily S. Gurley, and Justin Lessler. ‘The Engines of SARS-CoV-2 Spread’. Science 370, no. 6515 (23 October 2020): 406–7. https://doi.org/10.1126/science.abd8755.
-
-
elemental.medium.com elemental.medium.com
-
Britt, Robert Roy. ‘10 Signs the Pandemic Is About to Get Much Worse’. Medium, 19 October 2020. https://elemental.medium.com/10-signs-the-pandemic-is-about-to-get-much-worse-cf261bf3885d.
-
-
www.thelancet.com www.thelancet.com
-
Mathur, Rohini, Laura Bear, Kamlesh Khunti, and Rosalind M. Eggo. ‘Urgent Actions and Policies Needed to Address COVID-19 among UK Ethnic Minorities’. The Lancet 396, no. 10266 (12 December 2020): 1866–68. https://doi.org/10.1016/S0140-6736(20)32465-X.
-
-
www.sciencemag.org www.sciencemag.org
-
‘Mutant Coronavirus in the United Kingdom Sets off Alarms, but Its Importance Remains Unclear | Science | AAAS’. Accessed 25 February 2021. https://www.sciencemag.org/news/2020/12/mutant-coronavirus-united-kingdom-sets-alarms-its-importance-remains-unclear.
-
-
www.theguardian.com www.theguardian.com
-
Edmunds, John. ‘We Need Even Tougher Curbs to Fight This New Coronavirus Strain’. the Guardian, 20 December 2020. http://www.theguardian.com/world/2020/dec/20/we-need-even-tougher-curbs-to-fight-this-new-coronavirus-strain.
-
-
www.newscientist.com www.newscientist.com
-
Lawton, Graham. ‘Is the Coronavirus Evolving and Will It Become More or Less Deadly?’ New Scientist. Accessed 25 February 2021. https://www.newscientist.com/article/mg24833053-600-is-the-coronavirus-evolving-and-will-it-become-more-or-less-deadly/.
-
-
www.reuters.com www.reuters.com
-
Gaier, Rodrigo Viga. ‘Exclusive: Oxford Study Indicates AstraZeneca Effective against Brazil Variant, Source Says’. Reuters, 5 March 2021. https://www.reuters.com/article/us-health-coronavirus-brazil-variant-exc-idUSKBN2AX1NS.
-
-
www.thelancet.com www.thelancet.com
-
Hassard, Francis, Lian Lundy, Andrew C. Singer, Jasmine Grimsley, and Mariachiara Di Cesare. ‘Innovation in Wastewater Near-Source Tracking for Rapid Identification of COVID-19 in Schools’. The Lancet Microbe 2, no. 1 (1 January 2021): e4–5. https://doi.org/10.1016/S2666-5247(20)30193-2.
-
-
twitter.com twitter.com
-
Kevin McConway. ‘Media: Worst Ever Week for Test & Trace; They Only Reached 59.9% of Identified Contacts. But the % Reached Went up This Week for Contacts Managed by Local Health Protection Teams AND for Contacts Not Managed by Them (What Used to Be Called “complex” and “Non-Complex” Cases.) How?’ Tweet. @kjm2 (blog), 5 November 2020. https://twitter.com/kjm2/status/1324417367477264386.
-
-
-
‘Covid-19: Normal Life Back next Winter, Says Vaccine Creator’. BBC News, 15 November 2020, sec. Health. https://www.bbc.com/news/health-54949799.
-
-
oer21.oerconf.org oer21.oerconf.org
-
www.opendemocracy.net www.opendemocracy.net
-
Alongside globalisation – the capitalist rationalisation of space and time – we are witnessing the epistemic and technical rationalisation of the neuronal foundations of the self, or what Walker Percy called the abstraction of the self from itself.
We have reified a lot of implicit aspects of ourselves and it's hard to know what to do with this newfound knowledge. Right now this knowledge is subordinate to the machinery of capital but it doesn't have to be. This same understanding can be used for pro-social endeavors instead of making more and more money.
-
Just as shift workers are sometimes given stimulants, so the point here was to adapt the innate neurobiological capacity of humans as a productive force to the technologies and rhythms of globalisation.
More sinister vibes of the machinery of capital.
-
-
taup.org taup.org
-
Will it also help accomplish another goal — communicating to my students that a classroom of learners is, in my mind, a sort of family?
I like the broader idea of a classroom itself being a community.
I do worry that without the appropriate follow up after the fact that this sort of statement, if put on as simple boilerplate, will eventually turn into the corporate message that companies put out about the office and the company being a tight knit family. It's easy to see what a lie this is when the corporation hits hard times and it's first reaction is to fire family members without any care or compassion.
-
<small><cite class='h-cite via'>ᔥ <span class='p-author h-card'>Remi Kalir</span> in Annotate Your Syllabus 3.0 (<time class='dt-published'>03/13/2021 14:18:33</time>)</cite></small>
-
-
www.breitbart.com www.breitbart.com
-
after many online called for her firing over a social media post that likened the experience of Jews during the Holocaust to the U.S. political climate
-
-
medium.com medium.com
-
It’s an incredibly amount of overhead and waste. Packages increasingly consume more hard drive space, increase installation times
-
However, if all of these are hosted in the same repository, you lose a lot of those benefits.
-
-
en.wikipedia.org en.wikipedia.orgIdeology1
-
more recent use treats the term as mainly condemnatory
Tags
Annotators
URL
-
-
www.chevtek.io www.chevtek.io
-
By treating even small functions like a black box it promotes separation of concerns and allows said black box to evolve independently.
-
Write modules for publication, even if you only use them privately. You will appreciate documentation in the future.
-
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
- granularity of control
- flexibility to use the tool that you prefer
- all or nothing (granularity of control)
- for the benefit of future self
- 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)
- separation of concerns
- modularity
- allowing developer/user to pick and choose which pieces to use (a la carte, not all or nothing)
- micropackages
- related but independent projects that can be developed independently
Annotators
URL
-
-
tobeagile.com tobeagile.com
-
I’m proposing that writing those tests from the perspective of specifying the behaviors that we want to create is a highly valuable way of writing tests because it drives us to think at the right level of abstraction for creating behavioral tests and that allow us the freedom to refactor our code without breaking it
-
I am a big advocate of having a complete test base and even erring on the side of caution when it comes to quality engineering and software validation but that is not what we’re talking about here. What we’re talking about here are the tests that we write when we’re doing test-first development and I’m proposing that writing those tests from the perspective of specifying the behaviors that we want to create is a highly valuable way of writing tests because it drives us to think at the right level of abstraction for creating behavioral tests and that allow us the freedom to refactor our code without breaking it.
-
-
news.ycombinator.com news.ycombinator.com
-
One thing that would be useful to this debate an analysis of a language ecosystem where there are only "macropackages" and see if the same function shows up over and over again across packages.
-
I suspect you aren't seeing much discussion because those who have a reasonable process in place, and do not consider this situation to be as bad as everyone would have you believe, tend not to comment on it as much.
-
-
www.facebook.com www.facebook.com
-
Democrat Chicago to allow the economy to open up less than a week after Biden's inauguration...it's all planned to make Biden appear successful! Democrats allowed millions of people to suffer and lose businesses all for their own greed and power!
-
-
en.wikipedia.org en.wikipedia.org
-
Whenever majorities trample upon the rights of minorities—when men are denied even the privilege of having their causes of complaint examined into—when measures, which they deem for their relief, are rejected by the despotism of a silent majority at a second reading—when such become the rules of our legislation, the Congress of this Union will no longer justly represent a republican people.
-
-
www.sitepoint.com www.sitepoint.com
-
The elimination of what is arguably the biggest monoculture in the history of software development would mean that we, the community, could finally take charge of both languages and run-times, and start to iterate and grow these independently of browser/server platforms, vendors, and organizations, all pulling in different directions, struggling for control of standards, and (perhaps most importantly) freeing the entire community of developers from the group pressure of One Language To Rule Them All.
-
JavaScript needs to fly from its comfy nest, and learn to survive on its own, on equal terms with other languages and run-times. It’s time to grow up, kid.
-
If JavaScript were detached from the client and server platforms, the pressure of being a monoculture would be lifted — the next iteration of the JavaScript language or run-time would no longer have to please every developer in the world, but instead could focus on pleasing a much smaller audience of developers who love JavaScript and thrive with it, while enabling others to move to alternative languages or run-times.
Tags
- avoid giving partiality/advantage/bias to any specific option
- level playing field
- JavaScript: as a process VM
- competition in open-source software
- runtime environment
- separation of concerns
- programming languages
- related but independent projects that can be developed independently
- independent release cycles among peer dependencies
- programming languages: choosing the best language for the job
- single responsibility
- neutral/unbiased/agnostic
- good idea
- software freedom
- neutral ground
- one size fits all mentality
Annotators
URL
-
-
en.wikipedia.org en.wikipedia.org
-
This creates what is essentially an evolution process for the program, causing it to depart from the original engineered design. As a consequence of this and a changing environment, assumptions made by the original designers may be invalidated, introducing bugs.
-
When changes occur in the program's environment, particularly changes which the designer of the program did not anticipate, the software may no longer operate as originally intended.
-
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.
-
-
www.inuse.se www.inuse.se
-
Or perhaps there was no printed manual, only a link to a web page - that has since disappeared (because the provider went bust, or just changed their web content management system).
-
Even if the damned thing would be really helpful in the long run, I can't give it the time and attention needed to make it work again ... Not right now. And ultimately never.
-
-
en.wikipedia.org en.wikipedia.orgPyPy1
-
PyPy aims to provide a common translation and support framework for producing implementations of dynamic languages, emphasizing a clean separation between language specification and implementation aspects.
Tags
Annotators
URL
-
-
github.com github.com
-
As of May 24, 2016, antimicro has moved from https://github.com/Ryochan7/antimicro to https://github.com/AntiMicro/antimicro. Additionally, project management has passed from Travis (Ryochan7) to the AntiMicro organization due to Travis having other interests and priorities.
-
-
github.com github.comd3/d33
-
D3 4.0 is modular. Instead of one library, D3 is now many small libraries that are designed to work together. You can pick and choose which parts to use as you see fit.
-
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.
-
D3 now passes events directly to listeners, replacing the d3.event global and bringing D3 inline with vanilla JavaScript and most other frameworks.
Tags
- changes (software)
- limitations leading to workarounds
- compatibility
- newer/better ways of doing things
- programming: use of special/mathematical symbols
- constant evolution/improvement of software/practices/solutions
- microlibraries
- breaking change
- sad/unfortunate conclusion
- annotation meta: may need new tag
- d3.js
- funny
- it's just plain JavaScript
- change of behavior (software)
- modularity
- standard ways of doing things
Annotators
URL
-
-
github.com github.com
-
This allows those other dependencies to share the same module instance.
-
-
ythakker.medium.com ythakker.medium.com
-
Occasionally, like with search engines, #2 occurs because the incumbents gain massive economies of scale (classic Microeconomics), where by virtue of their being large, the cost to produce each incremental good or service at scale becomes much lower.
-
Inevitably, most of these new entrants get wiped out over a decade or two and their market share goes down into the single digits (often zero). The end result is that the market often resembles one of two possible situations:
-
-
github.com github.com
-
I'd suggest there ought to be config to disable source maps specifically, and specifically for either CSS or JS (not alwasy both), without turning off debug mode. As you note, debug mode does all sorts of different things that you might want with or without source maps.
-
Meh... as I said earlier, I think using Webpack is the recommended way now. Another issue is there is no way to generate source maps in production.
-
I'm not sure about all consequences of my change and this is very complex.
-
I agree about lack of maintenance. It's probably because people use more and more Webpack.
Tags
- official preferred convention / way to do something
- unfortunate that this is no longer maintained
- shift in preference
- all or nothing (granularity of control)
- difficult/hard problem
- switching/migrating from Sprockets to Webpack (Rails)
- falling out of favor
- switching/migrating to something different
- webpack
- abandoning/migrating away from
- possible response/reaction to lack of maintainance / maintainer absence/silence
- enabled by default but provides a way to opt out if needed
- admit the limitations/shortcomings of your argument/benefits
- sprockets
- is anyone even still using it anymore?
Annotators
URL
-
-
github.com github.com
-
And no need to walk backwards through all these strings which is surprisingly inefficient in Ruby.
-
-
github.com github.com
-
There's not a way to do it at the moment without enabling all debug features.
-
I totally understand that there may be a majority still considering this a bad practice and thus keeping it disabled by default in production seem ok. But there could at least be an option to enable it for people who want to, no?
-
It seems I'm in the minority, and Sprockets seems to already pretty far along in the beta process, so at most we should add a configuration option to enable it for static compilation.
-
-
-
Closing this because it's obviously not going to get fixed and it's cluttering my open issues
-
-
github.com github.com
-
Right now major changes require a deep and broad understanding of the codebase and how things get done.
-
If a company really wanted to invest, I would prefer they dedicated an employee for X hours a week for Y months than money.
-
Money could be good if it is spent to provide some of the above things. Money on it's own is hard because then it means I would have to spend time book-keeping and managing instead of programming.
Tags
- bookkeeping
- big refactoring/rewrite
- unfun
- boring
- doing what you love: leaving what's boring to you for others
- having a deep understanding of something
- good point
- work: doing what you love
- would prefer _ over _
- receiving money: is it worth the hassle/responsibility of bookkeeping?
Annotators
URL
-
-
collect.readwriterespond.com collect.readwriterespond.com
-
-
As well as the discussion about what is really meant by a ‘domain of one’s own‘
Societies have been inexorably been moving toward interdependence. More and more people specialize and sub-specialize into smaller fragments of the work that we do. As a result, we become more interdependent on the work of others to underpin our own. This makes the worry about renting a domain seem somewhat disingenuous, particularly when we can reasonably rely on the underlying structures to work to keep our domains in place.
Perhaps re-framing this idea may be worthwhile. While it may seem that we own our bodies (at least in modern liberal democracies, for the moment), a large portion of our bodies are comprised of bacteria which are simultaneously both separate and a part of us and who we are. The symbiosis between people and their bacteria has been going on so long and generally so consistently we don't realize that the interdependence even exists anymore. No one walks around talking about how they're renting their bacteria.
Eventually we'll get to a point where our interdependence on domain registrars and hosts becomes the same sort of symbiotic interdependence.
Another useful analogy is to look at our interdependence on all the other pieces in our lives which we don't own or directly control, but which still allow us to live and exist.
People only tend to notice the major breakdowns of these bits of our interdependence. Recently there has been a lot of political turmoil and strife in the United States because politicians have become more self-centered and focused on their own needs, wants, and desire for power that they aren't serving the majority of people. When our representatives don't do their best work at representing their constituencies, major breakdowns in our interdependence occur. We need to be able to rely on scientists to do their best work to inform politicians who we need to be able to trust to do their best work to improve our lives and the general welfare. When the breakdown happens it creates issues to the individual bodies that make up the society as well as the body of the society itself.
Who's renting who in this scenario?
-
-
-
But we're definitely sticking with the source map idea rather than the current (Rails 3/4) behavior of including all JS and CSS files separately while in development?
-
-
docs.openfaas.com docs.openfaas.com
-
OpenFaaS® makes it easy for developers to deploy event-driven functions and microservices to Kubernetes without repetitive, boiler-plate coding.
-
-
faastruby.io faastruby.io
-
One day last August 2018, I stumbled upon an online petition that sparked my curiosity - We Want Serverless Ruby. At that time, none of the major cloud providers had first-class support for Ruby in their serverless products. There were ~1400 devs signing that petition, and I wondered if there was something about Ruby that made it unsuitable for FaaS. I decided to roll the sleeves and start building what would be the first PoC of faastRuby.
Tags
Annotators
URL
-
-
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?
-
-
math.stackexchange.com math.stackexchange.com
-
I think that over time the distinction is lost. My math teacher, 35 years ago stated "formulas are used in chemistry, in math we have equations". To this day, the word 'formula' in math seems wrong, but I'd accept it's used commonly.
-
An equation is meant to be solved, that is, there are some unknowns. A formula is meant to be evaluated, that is, you replace all variables in it with values and get the value of the formula.
-
-
-
Rails still encourages you to dump all validation errors at the top of a form, which is lulzy in this age of touchy UX
-
-
stackoverflow.com stackoverflow.com
-
Fits the ideal behind HTML HTML stands for "HyperText Markup Language"; its purpose is to mark up, or label, your content. The more accurately you mark it up, the better. New elements are being introduced in HTML5 to more accurately label common web page parts, such as headers and footers.
-
-
forum.hyperlink.academy forum.hyperlink.academy
-
This sounds like a lot of fun and is a bit reminiscent to me to some of the material in the Domain of One’s Own (#DoOO) space. In particular I’m thinking of a Domains Camp from a few years back which may have some related materials: https://extend-bank.ecampusontario.ca/type/domain-camp/.
-
-
stackoverflow.com stackoverflow.com
-
[...document.querySelectorAll("*")].filter(e => e.childNodes && [...e.childNodes].find(n => n.nodeValue?.match("❤")))
-
Super modern one-line approach with optional chaining operator
-
-
jangawolof.org jangawolof.orgPhrases2
-
Fibar bi jàngal na taawan bu góor ni ñuy dagge reeni aloom.
Le guérisseur a appris à son fils aîné comment on coupe les racines du Diospyros.
fibar -- (fibar bi? the healer? as in feebar / fièvre / fever? -- used as a general term for sickness).
bi -- the (indicates nearness).
jàngal v. -- to teach (something to someone), to learn (something from someone) -- compare with jàng (as in janga wolof) and jàngale.
na -- pr. circ. way, defined, distant. How? 'Or' What. function indicator. As.
taaw+an (taaw) bi -- first child, eldest. (taawan -- his eldest).
bu -- the (indicates relativeness).
góor gi -- man; male.
ni -- pr. circ. way, defined, distant. How? 'Or' What. function indicator. As.
ñuy -- they (?).
dagg+e (dagg) v. -- cut; to cut.
reen+i (reen) bi -- root, taproot, support.
aloom gi -- Diospyros mespiliformis, EBENACEA (tree).
-
Fexeel ba kër gi bañ ñàkk alkol.
Veille à ce qu'il ne manque pas d'alcool à la maison.
fexe+el (fexe) v. -- search/seek by all means.
ba -- the (?).
kër gi -- house; family.
gi -- the (indicates nearness).
bañ v. -- refuse, resist, refuse to; to hate; verb marking the negation in subordinate clauses.
ñàkk v. / ñàkk bi -- vaccinate / vaccine (not sure exactly how this fits in the sentence if it's even the right translation -- perhaps it has to do with surgical alcohol rather than drinking alcohol).
alkol ji -- (French) surgical alcohol. (I'm certain this is also used for the type of alcohol you drink -- but sangara is probably the most used term).
Tags
- aloom
- as
- sickness
- ñuy
- cut
- the
- tree
- of
- jàngale
- taught
- learn
- jàng
- janga
- ñàkk
- no
- ji
- make
- sure
- fibar
- -e
- ebenacea
- dagg
- -i
- healer
- home
- roots
- fexe
- ni
- -an
- son
- hate
- there
- góor
- surgical
- -el
- vaccinate
- to
- kër
- feebar
- fièvre
- what
- is
- bi
- na
- resist
- sangara
- wolof
- child
- mespiliformis
- man
- first
- fever
- distant
- taaw
- diospyros
- feexeel
- they
- dagge
- alcohol
- reen
- taawan
- alkol
- search
- gi
- bu
- family
- taproot
- refuse
- how
- support
- ba
- seek
- jàngal
- at
- his
- eldest
- bañ
- shortage
- male
- vaccine
- house
- teach
- reeni
Annotators
URL
-
-
stackoverflow.com stackoverflow.com
-
answered May 9 '13 at 15:29 alexander farkas
-
-
github.com github.com
-
markdown-it is the result of the decision of the authors who contributed to 99% of the Remarkable code to move to a project with the same authorship but new leadership (Vitaly and Alex). It's not a fork.
-
-
github.com github.com
-
Open source code library for building innovative e-learning that is accessible, usable, interoperable, mobile-friendly and multilingual. Based on the Web Experience Toolkit (WET) and bootstrap. This collaborative open source project is led by the Canada School of Public Service, Government of Canada.
-
-
store.steampowered.com store.steampowered.com
-
Posting an issue on the discussion boards for a three year old game, yesterday, I wasn't holding my breath for a reply. Earlier, this morning, a dev. responded, stating they'd look at fixing it, and it was just a few hours before it were sorted!
-
-
stackoverflow.com stackoverflow.com
-
You really don't need underscore/lodash for this ... nowadays anyways
-
-
trailblazer.to trailblazer.to
-
Run the complete unit with a certain input set, and test the side-effects. This differs to the Rails Way™ testing style, where smaller units of code, such as a specific validation or a callback, are tested in complete isolation. While that might look tempting and clean, it will create a test environment that is not identical to what happens in production.
-
-
github.com github.com
-
Using ::delegates works exactly like the Forwardable module in Ruby, with one bonus: It creates the accessors in a module, allowing you to override and call super in a user module or class.
-
-
trailblazer.to trailblazer.to
-
Having an understanding of higher level abstractions, such as tasks, activities and the historical code path taken, its debugging trace is much closer to how you, as an engineer, think about your code.
-
Admittedly, both the signature and the return values of invoke feel a bit clumsy. That’s becaus we’re currently working with the low-level interfaces.
-
Additionally, you may add debugging steps, error handler or rewire the conditions dynamically without touching the original snippet.
-
-
-
twitter.com twitter.com
-
ReconfigBehSci. (2020, November 9). Session 2: The policy interface followed with a really helpful presentation by Lindsey Pike, from Bristol, and then panel discussion with Mirjam Jenny (Robert Koch Insitute), Paulina Lang (UK Cabinet Office), Rachel McCloy (Reading Uni.), and Rene van Bavel (European Commission) [Tweet]. @SciBeh. https://twitter.com/SciBeh/status/1325795286065815552
-
-
en.wikipedia.org en.wikipedia.org
-
trailblazer.to trailblazer.to
-
The circuit interface is a bit more clumsy but it gives you unlimited power over the way the activity will be run.
-
-
link.springer.com link.springer.com
-
Søe, S. O. (2019). A unified account of information, misinformation, and disinformation. Synthese. https://doi.org/10.1007/s11229-019-02444-x
-
-
Local file Local file
-
CHILD DEVELOPMENT PERSPECTIVES
The article is found in this scholarly journal.
-
- Feb 2021
-
-
Paterlini, M. (2020). Covid:19: Italy has wasted the sacrifices of the first wave, say experts. BMJ, m4279. https://doi.org/10.1136/bmj.m4279
-
-
www.forbes.com www.forbes.com
-
Cytokine storms also can be indicated by liver enzyme abnormalities.
-
Luckily, the tests to diagnose cytokine storms are often cheap and readily available in hospitals.
-
-
osf.io osf.io
-
Smaldino, Paul E., and Cailin O’Connor. ‘Interdisciplinarity Can Aid the Spread of Better Methods Between Scientific Communities’. MetaArXiv, 5 November 2020. https://doi.org/10.31222/osf.io/cm5v3.
-
-
www.reddit.com www.reddit.com
-
Eh, that's just sales. Humans are dumb, panicky animals: just look at how J.C. Penny's "Fair and Square" initiative went.Short version: they went full-on no bullshit: no limited time sales, no fake prices discounted, things cost what they cost, no more FOMO, no waiting for deals.It tanked. Horribly.
-
Why do companies insist on making deals a gamble? Is it basically just to capture FOMO sales?Both rhetorical questions.Edit: I'm talking about how you can pay one price for a deal and then a couple months later it's even cheaper.
-
-
www.nytimes.com www.nytimes.com
-
Devoted to Trump, and committed to his fictions about the election, Republicans are doing everything they can to keep voters from holding them and their leaders accountable. They will restrict the vote. They will continue to gerrymander themselves into near-permanent majorities. A Republican in Arizona has even proposed a legislative veto over the popular vote in presidential elections
The author starts the paragraph by explaining the Republicans as people who are "devoted to Trump". This makes it seem as Trump were god and everyone has to follow his orders. It gives both a humorous appeal to the audience and illustrates to them the sly techniques that the Republicans are using to escape from punishment. Furthermore, when the author said that the Republicans were ready to propose a veto against the popular vote, it was very ironic. As senators, they are supposed to give constitutional rights to the citizens, but rather they are taking it away for their own purpose. This further emphasizes the extent at which Republicans do not want to lose power to the Democrats.
-
naked attempt to change the rules of American politics to benefit one party”
The previous paragraph emphasizes the benefits of the HR.1 and how it specifically helped restore the voting system. However, in this paragraph, McConell exclaims that it is a vague attempt to benefit one party even though the Act was created to benefit the public. This illustrates to the readers the misuse of power by republican senators, which is one of the author's main points.
-
— and not to lose the next presidential election the way they lost the last one. To that end, they have introduced bills to restrict the vote, to make the race for the Electoral College — a
The author uses multiple dashes in this paragraph to show the different ways that the republicans will go to stop the Democrats from gaining power. The dashes emphasizes the extent at which republicans are willing to restrict votes. Without the dashes, it would simply sound as an example of what Republicans are doing, but the dashes creates a pause and further emphasis. Also, from John Lewis, the claim shifted to the extreme techniques that Republicans are using to stop Democratic power from taking over.
-
-
trailblazer.to trailblazer.to
-
You’re free to test this activity in a separate unit test.
-
Whatever data from the outside is needed in the activity has to be passed explicitely into the activity’s call method.
-
In other words: the controllers usually contain only routing and rendering code and dispatch instantly to a particular operation/activity class.
-
They help streamlining the control flow, and take away control code while providing you with an incredibly cool developer experience.
-
You’re allowed to blame us for a terrible developer experience in Trailblazer 2.0. It’s been quite painful to find out which step caused an exception. However, don’t look back in anger! We’ve spent a lot of time on working out a beautiful way for both tracing and debugging Trailblazer activities in 2.1.
-
-
onezero.medium.com onezero.medium.com
-
identity theft
Saw this while scrolling through quickly. Since I can't meta highlight another hypothesis annotation
identity theft
I hate this term. Banks use it to blame the victims for their failure to authenticate people properly. I wish we had another term. —via > mcr314 Aug 29, 2020 (Public) on "How to Destroy ‘Surveillance C…" (onezero.medium.com)
This is a fantastic observation and something that isn't often noticed. Victim blaming while simultaneously passing the buck is particularly harmful. Corporations should be held to a much higher standard of care. If corporations are treated as people in the legal system, then they should be held to the same standards.
-
-
trailblazer.to trailblazer.to
-
Please note that this is a higher-level debugging tool that does not confront you with a 200-lines stack trace the way Ruby does it, but pinpoints the exceptional code and locates the problem on a task level. This is possible due to you structuring code into higher abstractions, tasks and activities.
-
-
trailblazer.to trailblazer.to
-
They are an abstraction that will save code and bugs, and introduce strong conventions.
-
-
osf.io osf.io
-
Peer, L., Orr, L., & Coppock, A. (2020). Active Maintenance: A Proposal for the Long-term Computational Reproducibility of Scientific Results. SocArXiv. https://doi.org/10.31235/osf.io/8jwhk
-
-
-
WABC. ‘Coronavirus: Glasses Wearers Less Likely to Get COVID, Study Says’. ABC7 New York, 24 February 2021. https://abc7ny.com/10365580/.
-
-
psyarxiv.com psyarxiv.com
-
Jin, H., Jia, L., Yin, X., Wei, S., & Xu, G. (2020, December 18). The influence of information relevance on the continued influence effect of misinformation. https://doi.org/10.31234/osf.io/uatjd
-
-
www.africa.upenn.edu www.africa.upenn.edu
-
Nonviolent direct action seeks to create such a crisis and foster such a tension that a community which has constantly refused to negotiate is forced to confront the issue.
How it works - what it seeks to accomplish.
-
-
www.schneems.com www.schneems.com
-
That’s it. If you have a previous “precompile” array, in your app config, it will continue to work. For continuity sake I recommend moving over those declarations to your manifest.js file so that it will be consistent.
-
Instead of having this confusing maze of lambdas, regexes, and strings, we could, in theory, introduce a single entry point of configuration for Sprockets to use, and in that file declare all assets we wanted to compile. Well, that’s exactly what the manifest.js file is.
-
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.
Tags
- overhead
- compatibility
- newer/better ways of doing things
- messy
- wasteful/inefficient use of resources
- poor interface
- illustrating problem before showing solution
- bad combination/mixture/hybrid/frankenstein
- switching/migrating to something different
- what a mess
- consistent
- inconsistent
- the specific context is important
- sprockets
Annotators
URL
-
-
stackoverflow.com stackoverflow.com
-
cherrycreekschools.instructure.com cherrycreekschools.instructure.com
-
Did the district just not see the problem with taking away some schools busing?
-
why don't the teachers look at this and see that the cause is racism?
-
I find it crazy that the school lost 100 students weekly.
Tags
- Without waiting for judicial approval, the board pulled nineelementary schools out of the busing program this summer, reducing to 10 percent thenumber of students being bused.
- Although high school diploma standards have been eased in recent years, the number ofeligible students graduating from high school has slipped from three-quarters in 1990 totwo-thirds today. In the past decade, the number of disciplinary suspensions has tripled, to7,183 in 1994.
- "We lost 7,000 students in the summer of 1975," recalled Naomi L. Bradford, a white busingopponent who was elected head of the school board in 1985. "In the fall, we lost 100students a week -- probably as soon as their homes were sold."
Annotators
URL
-
-
sobolevn.me sobolevn.me
-
Literally, everything in this example can go wrong. Here’s an incomplete list of all possible errors that might occur: Your network might be down, so request won’t happen at all The server might be down The server might be too busy and you will face a timeout The server might require an authentication API endpoint might not exist The user might not exist You might not have enough permissions to view it The server might fail with an internal error while processing your request The server might return an invalid or corrupted response The server might return invalid json, so the parsing will fail And the list goes on and on! There are so maybe potential problems with these three lines of code, that it is easier to say that it only accidentally works. And normally it fails with the exception.
-
Now you can easily spot them! The rule is: if you see a Result it means that this function can throw an exception. And you even know its type in advance.
-
Almost everything in python can fail with different types of exceptions: division, function calls, int, str, generators, iterables in for loops, attribute access, key access, even raise something() itself may fail. I am not even covering IO operations here. And checked exceptions won’t be supported in the nearest future.
-
You still need to have a solid experience to spot these potential problems in a perfectly readable and typed code.
Tags
- exceptions are expectable, not exceptional
- type checking
- traditional exception handling (try/catch; begin/rescue)
- exceptions that are not exceptional
- monad: Either
- rule of thumb
- type annotations
- railway-oriented programming
- easy to miss / not notice (attention)
- accidentally works
- the benefit of experience
- easy to see/notice
- can't think of everything
Annotators
URL
-
-
en.wikipedia.org en.wikipedia.org
-
Examples
-
-
github.com github.com
-
Make your functions return something meaningful, typed, and safe!
-
-
www.kickstarter.com www.kickstarter.com
-
let's be honest, print-and-play is A LOT of work (printing, cutting, laminating, sleeving, etc) and it is not everyone's cup of tea.
-
-
www.morozov.is www.morozov.is
-
The DSL has a weaker control over the program’s flow — we can’t have conditions unless we add a special step
-
-
en.wikipedia.org en.wikipedia.org
-
Though rarer in computer science, one can use category theory directly, which defines a monad as a functor with two additional natural transformations. So to begin, a structure requires a higher-order function (or "functional") named map to qualify as a functor:
rare in computer science using category theory directly in computer science What other areas of math can be used / are rare to use directly in computer science?
-
Monads achieve this by providing their own data type (a particular type for each type of monad), which represents a specific form of computation
-
Supporting languages may use monads to abstract away boilerplate code needed by the program logic.
-
-
jrsinclair.com jrsinclair.com
-
And they are not the only way to handle errors.
-
And a word of warning. If you haven’t come across things like monads before, they might seem really… different. Working with tools like these takes a mind shift. And that can be hard work to start with.
-
-
en.wikipedia.org en.wikipedia.org
-
Each of the programming language generations aims to provide a higher level of abstraction of the internal computer hardware details, making the language more programmer-friendly, powerful, and versatile.
-
-
en.wikipedia.org en.wikipedia.org
-
it is inconvenient to write specific implementations for each datatype contained, especially if the code for each datatype is virtually identical. For example, in C++, this duplication of code can be circumvented by defining a class template
-
-
www.searchenginejournal.com www.searchenginejournal.com
-
Any time a change is needed, rather than creating new ads and groups, business data can be updated seamlessly, trickling the change to ad copy without triggering an ad Quality Score review.
Not creating new ad groups or campaigns is mentioned frequently, what is the average number of campaigns recommended to use per vertical?
-
-
trailblazer.to trailblazer.to
-
The activity gem is an extraction from Trailblazer 2.0, where we only had operations. Operations expose a linear flow which goes into one direction, only. While this was a massive improvement over messily nested code, we soon decided it’s cool being able to model non-linear flows. This is why activities are the major concept since Trailblazer 2.1.
-
-
github.com github.com
-
While routing and redirecting/rendering still happens in Rails, all remaining steps are handled in the endpoint.
-
-
trailblazer.to trailblazer.to
-
An endpoint links your routing with your business code. The idea is that your controllers are pure HTTP routers, calling the respective endpoint for each action. From there, the endpoint takes over, handles authentication, policies, executing the domain code, interpreting the result, and providing hooks to render a response.
-
-
www.huffpost.com www.huffpost.com
-
I am a delegation junkie. Whenever possible, I assign tasks and responsibilities originally assigned to me onto others.
-
If you ask my former students, they will tell you that as a teacher, my goal is to do nothing. I dream of the day when I can sit at my desk, feet propped up, reading a book, while the classroom bursts with activity and learning around me.
-
They fail to recognize the value of an initial investment of time in future productivity.
-
-
-
trailblazer.to trailblazer.to
-
I work with crazy geniuses who share many of my opinions (not all, and that’s good).
-
Using a terminus to indicate a certain outcome - in turn - allows for much stronger interfaces across nested activities and less guessing! For example, in the new endpoint gem, the not_found terminus is then wired to a special “404 track” that handles the case of “model not found”. The beautiful thing here is: there is no guessing by inspecting ctx[:model] or the like - the not_found end has only one meaning!
-
A major improvement here is the ability to maintain more than two explicit termini. In 2.0, you had the success and the failure termini (or “ends” as we used to call them). Now, additional ends such as not_found can be leveraged to communicate a non-binary outcome of your activity or operation.
-
Yes, Trailblazer is adding new abstractions and concepts and they are different to the 90s-Ruby, but now, at the latest, it becomes obvious how this improves the developing process. We’re no longer talking in two-dimensional method stack traces or byebug hoops, the language and conception is changing to the actual higher level code flow, to activities sitting in activities structured into smaller step units.
-
To make it short: we returned to the Rails Way™, lowering our heads in shame, and adhere to the Rails file and class naming structure for operations.
-
It’s so simple that I sometimes wonder why it took years to develop it!
-
There is nothing wrong with building your own “service layer”, and many companies have left the Traiblazer track in the past years due to problems they had and that we think we now fixed.
-
We removed the trailblazer-loader gem just like Apple removed the headphone jack from the iPhone 6. This brings you faster startup and consistency with Rails autoloading.
Tags
- more than one right way (no one right/best way)
- newer/better ways of doing things
- unambiguous
- strong (extreme/great/high/intense degree/level/concentration/amount/quality of)
- shift in preference
- analogy
- Ruby
- rails: the Rails way
- advantages/merits/pros
- Trailblazer
- funny
- programming: return values / result objects that communicate a more precise/complete representation of the outcome
- interfaces (programming)
- software preferences are personal
- improvement
- very simple/small result/change in the end but took a lot of work/time to arrive there
- non-binary
- recant/retract/revert/withdraw your previous plans
- abstractions
- admit the limitations/shortcomings of your argument/benefits
- state charts
- differences of opinion/perspective are good
Annotators
URL
-
-
github.com github.com
-
One of the main reasons to work with components is re-usability and portability, but also a delegation of responsibilities. Adding a component should be as easy as simply adding the component without having to know the inner workings (or markup) of this component. A consumer should only be aware of the properties, methods and events of a component. In order to style a child component one has to be aware of the markup as well, which violates this 'delegation of responsibility'-principle.
-
-
www.dictionary.com www.dictionary.com
-
a framework containing the basic assumptions, ways of thinking, and methodology that are commonly accepted by members of a scientific community. such a cognitive framework shared by members of any discipline or group:
-
-
2019.trailblazer.to 2019.trailblazer.to
-
Trailblazer (TRB) is an Open-Source project. Since we want to keep it that way, we decided to raise awareness for the “cost” of our work - providing new versions and features is incredibly time-consuming for us, but we love what we do.
-
This creates a win-win situation, you as the user have your peace of mind, and we can continue working with your funds.
-
-
github.com github.com
-
Trailblazer offers you a new, more intuitive file layout in applications.
-
Instead of grouping by technology, classes and views are structured by concept, and then by technology. A concept can relate to a model, or can be a completely abstract concern such as invoicing.
-
Concepts over Technology
-
While Trailblazer offers you abstraction layers for all aspects of Ruby On Rails, it does not missionize you. Wherever you want, you may fall back to the "Rails Way" with fat models, monolithic controllers, global helpers, etc. This is not a bad thing, but allows you to step-wise introduce Trailblazer's encapsulation in your app without having to rewrite it.
-
Trailblazer is no "complex web of objects and indirection". It solves many problems that have been around for years with a cleanly layered architecture.
Tags
- newer/better ways of doing things
- focus on concepts/design/structure instead of specific/concrete technology/implementation
- software development: organization of files
- abstractions
- software development: organization of files: by component rather than by file type
- focus on what it should do, not on how it should do it (implementation details; software design)
- fewer layers of abstraction/indirection
- 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)
- thin abstraction/layer
- leaving the details of implementation/integration up to you
- rails: the Rails way
- freedom of user to override specific decision of an authority/vendor (software)
- Trailblazer
- making changes / switching/migrating gradually/incrementally/step-wise/iteratively
- defending an idea
Annotators
URL
-
-
www.nytimes.com www.nytimes.com
-
bird counts across the United States have fallen a staggering 29 percent in the last 50 years
29% in 50 years? That means in the next 50 years half of the bird population could decrease!
-
-
psyarxiv.com psyarxiv.com
-
Aczel, Balazs, Marton Kovacs, and Rink Hoekstra. ‘The Role of Human Fallibility in Psychological Research: A Survey of Mistakes in Data Management’. PsyArXiv, 5 November 2020. https://doi.org/10.31234/osf.io/xcykz.
-
-
chiefofstuff.substack.com chiefofstuff.substack.com
-
Simply try to do something about a problem, and many people will think you are responsible for the problem’s existence.4
-
-
-
This is in fact where I started, but this gives me all processes, which is exactly what I don't want.
-
-
www.ft.com www.ft.com
-
Woodhouse, A., Dempsey, H., Gray, A., Jones, G., & Provan, S. (2021, February 18). Coronavirus latest: Air France-KLM poised for more state aid after €7.1bn loss. https://www.ft.com/content/3fe1a8b5-47a2-344b-b50c-e5af2679d03a
-
-
www.coursera.org www.coursera.org
-
Fifth, is the idea of the ledger of things. We're already seeing applications of this new Internet of devices and things. Soon though, most transactions will happen between devices and not between people. Consider the smart home, homeowners are adding smart devices such as thermostats and solar panels. Soon potentially, trillions of devices will be connected to the Internet. Doing everything from driving us around to keeping our house lit to managing our affairs and managing our health information. These devices need to be resistant to hacking. They need to be able to communicate value such as money or assets like electricity, peer-to-peer. Consider electricity, if you imagine that your neighbor's home is generating energy from a solar panel and you've got a device that needs to buy that electricity, then those two devices need away to be able to contract, bargain, and execute a payment peer-to-peer. It's not going to happen through the Visa network. It can only happen on the blockchain.
ledger of things
-
-
github.com github.com
-
Grouped inputs It can be convenient to apply the same options to a bunch of inputs. One common use case is making many inputs optional. Instead of setting default: nil on each one of them, you can use with_options to reduce duplication.
This is just a general Ruby/Rails tip, nothing specific to active_interaction (except that it demonstrates that it may be useful sometimes, and gives a specific example of when you might use it).
Still, in my opinion, this doesn't belong in the docs. Partly because I think repeating the
default: nil
for every item is an acceptable type of duplication, which would be better, clearer (because it's more explicit), simpler, keeps those details closer to the place where they are relevant (imagine if there were 50 fields within awith_options
block).I also think think that it creates a very arbitrary logical "grouping" within your code, which may cause you to unintentionally override/trump / miss the chance to use a different, more logical/natural/important/useful logical grouping instead. For example, it might be more natural/important/useful to group the fields by the section/fieldset/model that they belong with, even if your only
grouping
is a comment:# User fields string :name integer :age date :birthday, default: nil # Food preferences array :pizza_toppings boolean :wants_cake, default: nil
may be a more useful grouping/organization than:
# Fields that are required string :name integer :age array :pizza_toppings # Fields that are optional with_options default: nil do date :birthday boolean :wants_cake end
Or it might be better to list them strictly in the same order as they appear in your model that you are trying to match. Why? Because then you (or your code reviewer) can more easily compare the lists between the two places to make sure you haven't missed any fields from the model, and quickly be able to identify which ones are missing (hopefully intentionally missing).
In other words, their "optionalness" seems to me like a pretty incidental property, not a key property worthy of allowing to dictate the organization/order/grouping of your code.
-
In this simple example, the destroy interaction doesn't do much. It's not clear that you gain anything by putting it in an interaction.
-
-
-
In Ruby 3 we now have a “rightward assignment” operator. This flips the script and lets you write an expression before assigning it to a variable. So instead of x = :y, you can write :y => x
-
we’re going to look how improved pattern matching and rightward assignment make it possible to “destructure” hashes and arrays in Ruby 3—much like how you’d accomplish it in, say, JavaScript
-
-
www.nytimes.com www.nytimes.com
-
Amid awful suffering and deteriorating conditions, Texas Republicans decided to fight a culture war.
The author has a criticizing tone, which can be implied by him emphasizing Texas's conditions using a negative diction. It is kind of humorous as he stated "cultural wars" instead of disputes. Usually wars leave a drastic impact on the land, but this time, the "war" is occurring on an already destroyed land, which reflects the author's point of view that leaving a conflict dissolved is worse than creating a new conflict.
-
-
-
Establish structured daily check-ins: Many successful remote managers establish a daily call with their remote employees.
make sure there is space during standup for chit-chat.
-
-
blogs.lse.ac.uk blogs.lse.ac.uk
-
jargon comes so naturally
See Pinker, S. (2014, September 26). Why Academics Stink at Writing. Chronicle of Higher Education, 16.
-
-
nationalseedproject.org nationalseedproject.org
-
Recognize that all people are both located in systems and also uniquely individual
I love this point, there are so many different places and there is always inequality everywhere.
-