- Nov 2024
-
thebaffler.com thebaffler.com
-
Silver’s claims that the 2024 election outcome is essentially a coin-flip. While this may be accurate—although 67/33 is pushing it—Coplan’s response partially serves to deflect future backlash about the accuracy of the prediction, to remind people that if something has, for example, 33 percent odds of happening, that means it still happens 33 percent of the time. But it also obscures the fact that the odds themselves and their attached returns, not just the events being predicted, are what reel people in.
Prediction markets are the paradigm case for narrative flexibility. Prediction markets need not be correct, they need be plausible.
-
- Sep 2024
-
-
RSpec gives us the tools to make custom matchers so that we can preserve all the expressiveness while adding specialized or even domain-specific matchers.
-
- Aug 2024
-
Local file Local file
-
9.5 ere Is No One System
You have to love that one of the final sections of the book is "There is No One System". This gives the reader the confidence to explore and experiment to see what works for them.
-
- Jul 2024
-
-
Today while listening to the song I am reminded, through reflection, upon the fact that it takes quite some self-awareness and intellectual humility to prevent the rigorous defense of uneducated opinion, especially in online intellectual communities.
"Real knowledge is to know the extent of one's ignorance." -- Confucius
Something that intellectuals must be aware of. We must be flexible in opinion and not defend that which we actually have no knowledge of.
We can debate for Socratic sakes; to deepen our understanding, but not to persuade... Pitfall is one might come to believe beyond doubts that which one debates for.
Key is to becoming more aware of our debate behavior and stop ourselves when we realize we can't actually prove that which we think.
This is especially critical for someone in position of teacher or great advisor; he who is looken up to. People are easier to take their opinion for granted based on "authority". As an ethical intellectual we must not abuse this, either on purpose or by accident. With great power comes great responsibility.
-
-
x.com x.com
-
Heiress to one of the world’s most powerful families. Her grandfather cut her out of the $15.4 BILLION family fortune after her scandal. But she fooled the world with her “dumb blond” persona and built a $300 MILLION business portfolio. This is the crazy story of Paris Hilton:
Interesting thread about Paris Hilton.
Main takeaway: Don't be quick to judge. Only form an opinion based on education; thorough research, evidence-based. If you don't want to invest the effort, then don't form an opinion. Simple as that.
Similar to "Patience" by Nas & Damian Marley.
Also Charlie Munger: "I never allow myself to have [express] an opinion about anything that I don't know the opponent side's argument better than they do."
-
-
songmeanings.com songmeanings.com
-
"The Earth was flat if you went too far you would fall off Now the Earth is round if the shape change again everybody woulda start laugh The average man can’t prove of most of the things that he chooses to speak of And still won’t research and find out the root of the truth that you seek of" commenting on how new structures/theories/inventions are always at conflict with old structures/theories/inventions that refuse to accept new ideas/truths because of mental conditioning (e.g. laugh) society is in to accept everything as fact and never question/research/evolve/change. this is very much predominant in science and history, for example, Galileo was condemned and died for the truth, Copernicus's model that the Earth rotated around the sun, a truth that contradicted biblical truth. it's like what camus was complaining about in the myth of sisyphus essay, where man faces an existential crisis of absurdism when there are no absolute truths and values in the world. humanity is suffering because we're working against eachother instead of working together in order to find out the truth of all things.
See intellectual flexibility.
-
"You buy a khaki pants And all of a sudden you say a Indiana Jones An' a thief out gold and thief out the scrolls and even the buried bones" criticism on how people change their appearances so easily, acclaim status/right just because they can conform to social appearances - doesn't mean that they actually are who they say they or they really mean what they do/represent. like those televangelists with their fake/unproductive compassion and care. what change are they really doing to help humanity as a whole, when they are truly only looking out for themselves and their own comfort/security, while projecting their own existence/ideologies on others. criticism on the right/ownership of ancient artifacts, knowledge and discoveries. people who claim to own knowledge or ancient artifacts are actually theives who are stealing and exploting humanity, what belongs to everyone.
Epictetus: "He who is properly grounded in life should not have to look for outside approval."
Also: "If you are ever tempted to look outside for approval, realize you have lost your integrity. If you need a witness, be your own."
Do not change as often as the winds... But do not be impervious to change either.
Nietzche: "The snake which cannot cast its skin has to die. As well the minds which are prevented from changing their opinions; they cease to be mind."
There is a balance to be held. Change opinion and outside projection only if applicably by rational thought based on thorough research and nuanced deep understanding. Be principled, yet flexible.
-
- Jun 2024
-
www.belfercenter.org www.belfercenter.org
-
But that’s not the case for a computer, or a robot, or even a corporate food service, which can’t navigate the intricacies and uncertainties of the real world with the flexibility we expect of a person. And at an even larger scale, our societal systems, whether we’re talking about laws and governments or just the ways our employers expect us to get our jobs done, don’t have that flexibility built into them. We’ve seen repeatedly how breaking corporate or government operations into thousands of disparate, rigid contracts ends in failure.
-
- Apr 2024
-
antranik.org antranik.org
Tags
Annotators
URL
-
-
www.bradapp.com www.bradapp.com
Tags
Annotators
URL
-
- Mar 2024
-
www.reddit.com www.reddit.com
-
You need to understand and learn the basic ideas, from scratch.ZK is a lifetime job.
reply to u/Aponogetone at https://www.reddit.com/r/Zettelkasten/comments/1bideq7/comment/kvjwhzf/?utm_source=reddit&utm_medium=web2x&context=3
I'm not 100% sure I understand your first point from a contextual perspective. What are you trying to get across here with this comment? Generally I tend to learn and understand the basic ideas of a text on my initial inspectional read. Often these are so basic as to not require any real note making at all. The second, more analytic read of the material usually clarifies anything missing and this is typically where I create some of my most valuable notes.
While I philosophically appreciate your second point, and over time it can build some intriguing insights, one should remember, that like many systems, it's only a tool and is thus useful for the timespan and project(s) for which that tool is fit for purpose. Holding onto ideas like this too tightly don't allow enough space for future creativity and flexibility. The executives at the buggy whip factory also felt that theirs was a lifetime job once.
-
-
news.ycombinator.com news.ycombinator.com
-
This comment is close, but it's also about control.
-
- Jan 2024
-
gitlab.com gitlab.com
-
The "meaning" will tell Gitlab how to interpret the relation. For example, a "parent/child" relation will have the meaning set to "one is a part of another", and then user may define a "subtask" and "subcomponent" relations to distinguish two situations, but Gitlab will understand because all three will have the same meaning and it can render a tree with three different kinds of edges.
-
There is also #8988 (closed) about custom fields. It there is some flexible architecture like in Drupal - all entities can have custom fields (and some form widget and some formatter), so building other features what needs to store data is more simple.
-
Such a generic approach will allow the Relations to fit any reasonable workflow, because possible relations are defined by users, just like the Labels are.
-
-
-
Allow customers to set their own hierarchies
Tags
Annotators
URL
-
-
gitlab.com gitlab.com
-
One way is to have a very simple model of the same thing like Github and let users decide on the hierarchy of things. If Gitlab really want to go one step further and give users more then its really important simplicity is not killed in the process.
-
-
www.gridx.ai www.gridx.ai
-
Germany's duck curve – Integrating renewables into smart grids
-
- Dec 2023
-
www.youtube.com www.youtube.com
-
08:00 Ryan Holiday built in a bunch of structure — as he progressed more in his career, he transitioned to flexibility.
- See ZK on balancing Confucius and Lao Tzu
Tags
Annotators
URL
-
- Nov 2023
-
canvas.pdx.edu canvas.pdx.edu
-
Ungrading – focusing on student self-evaluation and metacognition
Link to an external resource that can be annotated by students
-
-
canvas.pdx.edu canvas.pdx.edu
-
List campus-level strategies related to flexibility
Example of an annotation in Canvas!
-
- Sep 2023
-
docs.sendgrid.com docs.sendgrid.com
-
It is possible to use the List-Unsubscribe header even if you do not want to use subscription tracking. This is useful for users who want to provide their recipients an easy way to unsubscribe from their emails without relying on SendGrid’s tracking features. Continue reading below for an explanation of the List-Unsubscribe header, and how you can use it when sending email via SendGrid.
-
- Jul 2023
-
stackoverflow.com stackoverflow.com
-
ActiveStorage::LogSubscriber.detach_from :active_storage
It's nice that it's that easy to "opt out" of the default provided log subscriber and (if desired) swap in your own custom one that does whatever you want.
-
- Mar 2023
-
blog.cloudflare.com blog.cloudflare.com
-
The Inflexibility of DNS Traditionally, the root record of a domain needed to point to an IP address (known as an A -- for "address" -- Record). While it may not seem like a big deal, tying a service to an IP address can be extremely limiting.
-
- Dec 2022
-
apireference.getresponse.com apireference.getresponse.com
-
Enum:"add" "delete" An additional flag parameter with the value add will add masks provided in the request body to the list. A flag value delete will delete masks from the list. If there's no parameter provided, masks are replaced.
Tags
Annotators
URL
-
- Nov 2022
-
github.com github.com
-
Though this is a hash extension, it conveniently allows for arrays to be present in the nested structure. This feature makes the extension particularly useful for working with JSON API responses.
-
-
documentation.mailgun.com documentation.mailgun.com
-
You can access Events through a few interfaces: Webhooks (we POST data to your URL). The Events API (you GET data through the API). The Logs tab of the Control Panel (GUI).
-
-
-
So when configuring Capybara, I'm using ignore_default_browser_options, and only re-use this DEFAULT_OPTIONS and exclude the key I don't want Capybara::Cuprite::Driver.new( app, { ignore_default_browser_options: true, window_size: [1200, 800], browser_options: { 'no-sandbox': nil }.merge(Ferrum::Browser::Options::Chrome::DEFAULT_OPTIONS.except( "disable-features", "disable-translate", "headless" )), headless: false, } )
-
-
www.meaningcrisis.co www.meaningcrisis.co
-
Socrates is turned into a systematic set of psycho-technologies that you internalise into your metacognition. So, what became crucial for Plato, as we saw, was argumentation. But for Antisthenes the actual confrontation with Socrates was more important. Both Plato and Antisthenes are interested in the transformation that Socrates is affording.Plato sees this happening through argumentation. Antesthenes sees it as happening through confrontation because... And you can see how they're both right, because in Socratic elenchus, Socrates comes up and he argues with you. But of course he's also confronting you. We talked about how he was sort of slamming the Axial revolution into your face! So, Antesthenes has a follower, Diogenes, and Diogenes epitomizes this: This confrontation. And by looking at the kinds of confrontation we can start to see what the followers of Antesthenes are doing. So Diogenes basically does something analogous to provocative performance art. He gets in your face in a way that tries to provoke you to realizations. Those kinds of insights that will challenge you. He tries to basically create aporia in you, that shocked experience that you had when confronting Socrates that challenges you to radically transform your life. But instead of using argumentation and discussion, as Socrates did and Plato picked up on, they were really trying to hone in on how to try to be as provocative as possible.
John Vervaeke on Socrates becoming set of psychotechnologies to internalize and augment metacognition. Agues agumentation become central for Plato, whereas confrontation itself become central for Antisthenes. They're disagree about how the cause of the transformation through the Socratic approach
Unclear is stoics take up Plato's mantle of argumentation orientation, but they at least seem distinct from the Cynics (Antisthenes & teach Diogenes
Aporia is moment of shock from experience that you're radically transformed. Could be from Diogenes' provocative performance art or through discourse a la Plato & Socrates
Nietzche may have favored Cynics approach over stoic/Socratic. Possible parallel in left-hand path and right-hand path. Quick & risky vs. slow & steady
-
- Oct 2022
-
unix.stackexchange.com unix.stackexchange.com
-
Functions are much more flexible than aliases. The following would overload the usual ls with a version that always does ls -F (arguments are passed in $@, including any flags that you use), pretty much as the alias alias ls="ls -F" would do: ls () { command ls -F "$@" }
-
- Sep 2022
-
redocly.com redocly.com
-
You can tell the lint command to validate specific API definitions by using their names from the apis object, like in the following example: Copy Copied redocly lint core@v2
Tags
Annotators
URL
-
-
stackoverflow.com stackoverflow.com
-
git -c log.follow= log: that will unset log.follow, just for that one git log instance.
-
- Jun 2022
-
dlsanthology.mla.hcommons.org dlsanthology.mla.hcommons.org
-
Thus flexibility is an important virtue in computer-assisted textual analysis, and testing a project on a subset of texts or methods can avoid wasted effort.
Flexibility has almost become a sought-after characteristics of any projects ever conducted in this world, let alone those that belong to the school of humanities. Any individual or group entering a long-term project should be aware that predicting the outcome of the project is never a part of their project. It's impossible to identify and avoid surprise factors on a long road, but it's definitely possible to have an open mindset that's ready fpr any difficulty coming along the way and for brainstorming solutions that resolve this "shock". In many cases, these unexpected variables are what that renders the project memorable and special and sustainable and valid and reliable. In many cases, changing the initial direction of the project when faced with these unforeseen elements are for the better and produce even better results. Testing out different methods on textual analysis is a particularly great advice for those who are bound to carry a project in the coming future.
-
-
-
The intent of this specification and related tools is to expand the reach of development containers, allow the usage of containers by themselves or different orchestration technologies, and allow any tool to manage and create them.
-
The focus of the dev container specification is to describe how to enrich a container for the purposes of development, rather than acting as a multi-container orchestrator format.
-
- Mar 2022
-
ludocode.com ludocode.com
-
I believe this is partly due to a militant position on free software. Some advocates believe so strongly that users should be able to recompile their software that they force them to do so. They break libraries seemingly on purpose just to say, “Recompile! Oh you can’t? That’ll teach you to use binary software!” Of course users don’t want to recompile their software, but what users actually want is usually lost on GNOME developers.
-
- Feb 2022
-
www.theatlantic.com www.theatlantic.com
-
Yong, E. (2022, February 16). The Millions of People Stuck in Pandemic Limbo. The Atlantic. https://www.theatlantic.com/health/archive/2022/02/covid-pandemic-immunocompromised-risk-vaccines/622094/
-
-
twitter.com twitter.com
-
Deepti Gurdasani. (2022, February 8). Exactly this 👇 We never talk about the huge benefits mitigations have had in reducing other respiratory illnesses... Which means deaths from other causes have reduced. Excess deaths are not a good indicator of COVID-19 deaths—Which we should be doing a lot more to prevent! [Tweet]. @dgurdasani1. https://twitter.com/dgurdasani1/status/1491123632349024256
-
- Jan 2022
-
www.npmjs.com www.npmjs.comco1
-
The yieldable objects currently supported are: promises thunks (functions) array (parallel execution) objects (parallel execution) generators (delegation) generator functions (delegation) Nested yieldable objects are supported, meaning you can nest promises within objects within arrays, and so on!
-
-
github.com github.com
-
but you want to style your components yourself and not be constrained by existing design systems like Material UI
-
- Dec 2021
-
-
The PSU Faculty Senate Academic Quality Committee shared that concern earlier this year with administrators. They also worried about quality of learning for students.“For example, we know from the shift to remote that not everything that works in a classroom works on Zoom, and vice-versa,” the committee wrote. “Will faculty need to plan their courses and classroom activities for two different types of audiences? Or will faculty simply lecture or do some kind of low student-input activity, given the potential logistical challenges of handling the two different groups?”
-
- Sep 2021
-
psyarxiv.com psyarxiv.com
-
Tindle, R., Hemi, A., & Moustafa, A. (2021). Is Psychological Flexibility a Coping Mechanism? [Preprint]. PsyArXiv. https://doi.org/10.31234/osf.io/ebw4g
-
-
github.com github.com
-
Yeah I don’t think we will find something that works for everyone in all cases. But Webpacker is quite flexible with the setup it has now. Easy to change!
-
- Aug 2021
-
github.com github.com
-
Why not just prettier-ignore? Because I want to keep Prettier here. Still format my code. But just with another config. This already works with prettierrc > overrides. But this proposal is for a better usability and flexibility.
-
-
github.com github.com
-
In the vast majority of cases when I'm using prettier-ignore I'm only really looking to prevent it from breaking my code into new lines, whilst keeping its other transformations such as switching quotes and adding space between brackets. When ignoring single lines, fixing these formatting problems by hand is very manageable. With the ability to have Prettier ignore entire blocks of code I think the ability to specify what you want it to ignore is essential.
-
- Jun 2021
-
github.com github.com
-
Once a variable is specified with the use method, access it with EnvSetting.my_var Or you can still use the Hash syntax if you prefer it: EnvSetting["MY_VAR"]
-
-
github.com github.com
-
You could also opt to extend your Rails configuration object: Envy.init use: MyApp::Application.config MyApp::Application.config.my_variable # => ...
-
-
medium.com medium.com
-
As it turns out, it’s pretty easy to write your own arg parser once you understand the mechanics of the language. Doing so affords you the ability to cast all manner of spells to bend arguments to your will.
-
- Apr 2021
-
github.com github.com
-
logger.tag_formatter.default(Lumberjack::Formatter.new.clear.add(Object, :inspect)) logger.tag_formatter.default(Lumberjack::Formatter::InspectFormatter.new) logger.tag_formatter.default { |value| value.inspect }
Tags
Annotators
URL
-
-
www.kickstarter.com www.kickstarter.com
-
#2 Non-real-time variant - What about groups who don't like that real-time part of the game? We really think that is the best way to play, but we realize it isn't a fun or even possible option for everyone. We're including an alternative rule that removes all the speed elements and is still fun (in a different way).
-
-
www.metacritic.com www.metacritic.com
-
The developers allowed for players to play their own level of challenge whether it's using the active pause, fast forward or multi-level undo function.
Tags
Annotators
URL
-
-
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
-
-
github.com github.com
-
# authenticated :user, lambda {|u| u.role == "admin"} do # root to: "admin/dashboard#show", as: :user_root # end
-
- Mar 2021
-
bugs.ruby-lang.org bugs.ruby-lang.org
-
data[:users, :[], :name] = 'Matz' # :[] is next index, 0 in this case
Tags
Annotators
URL
-
-
www.jackfranklin.co.uk www.jackfranklin.co.uk
-
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
-
-
osf.io osf.io
-
Breznau, N., Rinke, E. M., Wuttke, A., Adem, M., Adriaans, J., Alvarez-Benjumea, A., Andersen, H. K., Auer, D., Azevedo, F., Bahnsen, O., Balzer, D., Bauer, G., Bauer, P. C., Baumann, M., Baute, S., Benoit, V., Bernauer, J., Berning, C., Berthold, A., … Nguyen, H. H. V. (2021). Observing Many Researchers using the Same Data and Hypothesis Reveals a Hidden Universe of Data Analysis. MetaArXiv. https://doi.org/10.31222/osf.io/cd5j9
Tags
- political science
- is:preprint
- immigration
- reseach
- behavioural science
- social policy
- researcher variability
- crowdsourcing
- lang:en
- garden of forking paths
- economics
- sociology
- researcher degrees of freedom
- scientific method
- psychology
- crowd sourced replication initiative
- meta-science
- noise
- analytical flexibility
Annotators
URL
-
-
trailblazer.to trailblazer.to
-
This could be an operation, a workflow, or hand-baked Ruby code completely unrelated to Trailblazer.
-
-
piao-tech.blogspot.com piao-tech.blogspot.com
-
If you prefer not to use tabs and like files to be opened as buffers inside a current running Vim instance then simply replace "--remote-tab-silent" with "--remote-silent" in the above scripts.
-
-
www.chevtek.io www.chevtek.io
-
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.
-
-
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.
-
- Feb 2021
-
trailblazer.to trailblazer.to
-
For branching out a separate path in an activity, use the Path() macro. It’s a convenient, simple way to declare alternative routes
Seems like this would be a very common need: once you switch to a custom failure track, you want it to stay on that track until the end!!!
The problem is that in a Railway, everything automatically has 2 outputs. But we really only need one (which is exactly what Path gives us). And you end up fighting the defaults when there are the automatic 2 outputs, because you have to remember to explicitly/verbosely redirect all of those outputs or they may end up going somewhere you don't want them to go.
The default behavior of everything going to the next defined step is not helpful for doing that, and in fact is quite frustrating because you don't want unrelated steps to accidentally end up on one of the tasks in your custom failure track.
And you can't use
fail
for custom-track steps becase that breaksmagnetic_to
for some reason.I was finding myself very in need of something like this, and was about to write my own DSL, but then I discovered this. I still think it needs a better DSL than this, but at least they provided a way to do this. Much needed.
For this example, I might write something like this:
step :decide_type, Output(Activity::Left, :credit_card) => Track(:with_credit_card) # Create the track, which would automatically create an implicit End with the same id. Track(:with_credit_card) do step :authorize step :charge end
I guess that's not much different than theirs. Main improvement is it avoids ugly need to specify end_id/end_task.
But that wouldn't actually be enough either in this example, because you would actually want to have a failure track there and a path doesn't have one ... so it sounds like Subprocess and a new self-contained ProcessCreditCard Railway would be the best solution for this particular example... Subprocess is the ultimate in flexibility and gives us all the flexibility we need)
But what if you had a path that you needed to direct to from 2 different tasks' outputs?
Example: I came up with this, but it takes a lot of effort to keep my custom path/track hidden/"isolated" and prevent other tasks from automatically/implicitly going into those steps:
class Example::ValidationErrorTrack < Trailblazer::Activity::Railway step :validate_model, Output(:failure) => Track(:validation_error) step :save, Output(:failure) => Track(:validation_error) # Can't use fail here or the magnetic_to won't work and Track(:validation_error) won't work step :log_validation_error, magnetic_to: :validation_error, Output(:success) => End(:validation_error), Output(:failure) => End(:validation_error) end
puts Trailblazer::Developer.render o Reloading... #<Start/:default> {Trailblazer::Activity::Right} => #<Trailblazer::Activity::TaskBuilder::Task user_proc=validate_model> #<Trailblazer::Activity::TaskBuilder::Task user_proc=validate_model> {Trailblazer::Activity::Left} => #<Trailblazer::Activity::TaskBuilder::Task user_proc=log_validation_error> {Trailblazer::Activity::Right} => #<Trailblazer::Activity::TaskBuilder::Task user_proc=save> #<Trailblazer::Activity::TaskBuilder::Task user_proc=save> {Trailblazer::Activity::Left} => #<Trailblazer::Activity::TaskBuilder::Task user_proc=log_validation_error> {Trailblazer::Activity::Right} => #<End/:success> #<Trailblazer::Activity::TaskBuilder::Task user_proc=log_validation_error> {Trailblazer::Activity::Left} => #<End/:validation_error> {Trailblazer::Activity::Right} => #<End/:validation_error> #<End/:success> #<End/:validation_error> #<End/:failure>
Now attempt to do it with Path... Does the Path() have an ID we can reference? Or maybe we just keep a reference to the object and use it directly in 2 different places?
class Example::ValidationErrorTrack::VPathHelper1 < Trailblazer::Activity::Railway validation_error_path = Path(end_id: "End.validation_error", end_task: End(:validation_error)) do step :log_validation_error end step :validate_model, Output(:failure) => validation_error_path step :save, Output(:failure) => validation_error_path end
o=Example::ValidationErrorTrack::VPathHelper1; puts Trailblazer::Developer.render o Reloading... #<Start/:default> {Trailblazer::Activity::Right} => #<Trailblazer::Activity::TaskBuilder::Task user_proc=validate_model> #<Trailblazer::Activity::TaskBuilder::Task user_proc=validate_model> {Trailblazer::Activity::Left} => #<Trailblazer::Activity::TaskBuilder::Task user_proc=log_validation_error> {Trailblazer::Activity::Right} => #<Trailblazer::Activity::TaskBuilder::Task user_proc=save> #<Trailblazer::Activity::TaskBuilder::Task user_proc=log_validation_error> {Trailblazer::Activity::Right} => #<End/:validation_error> #<Trailblazer::Activity::TaskBuilder::Task user_proc=save> {Trailblazer::Activity::Left} => #<Trailblazer::Activity::TaskBuilder::Task user_proc=log_validation_error> {Trailblazer::Activity::Right} => #<End/:success> #<End/:success> #<End/:validation_error> #<End/:failure>
It's just too bad that:
- there's not a Railway helper in case you want multiple outputs, though we could probably create one pretty easily using Path as our template
- we can't "inline" a separate Railway acitivity (Subprocess "nests" it rather than "inlines")
-
In both filters, you’re able to rename and coerce variables. This gives you a bit more control than the simpler DSL.
-
As usual, you may provide your own code for dynamic filtering or renaming.
Tags
- annotation meta: may need new tag
- DSL
- concise
- tip
- flexibility
- powerful
- example: not how you would actually do it (does something wrong/bad/nonideal illustrating but we should overlook it because that's not the one thing the example is trying to illustrate/show us)
- useful
- having enough control over something
- helper functions
- verbose / noisy / too much boilerplate
Annotators
URL
-
-
trailblazer.to trailblazer.to
-
# Yes, you can use lambdas as steps, too! step ->(ctx, params:, **) { params.is_a?(Hash) }
-
-
github.com github.com
-
If you have value objects or you would like to build one object from another, you can use the converter option. It is only called if the value provided is not an instance of the class or one of its subclasses.
-
hash :with_defaults, default: {} do boolean :likes_cookies, default: true end
-
By default, hashes remove any keys that aren't given as nested filters. To allow all hash keys, set strip: false. In general we don't recommend doing this, but it's sometimes necessary.
-
-
github.com github.com
-
@adisos if reform-rails will not match, I suggest to use: https://github.com/orgsync/active_interaction I've switched to it after reform-rails as it was not fully detached from the activerecord, code is a bit hacky and complex to modify, and in overall reform not so flexible as active_interaction. It has multiple params as well: https://github.com/orgsync/active_interaction/blob/master/spec/active_interaction/modules/input_processor_spec.rb#L41
I'm not sure what he meant by:
fully detached from the activerecord I didn't think it was tied to ActiveRecord.
But I definitely agree with:
code is a bit hacky and complex to modify
Tags
- I agree
- active_interaction
- switching/migrating to something different
- flexibility
- recommended option/alternative
- too complicated
- hard to understand
- recommended software
- reform (Ruby)
- evaluating software options
- pointing out gaps/downsides/cons in competition/alternatives
- too coupled/dependent
Annotators
URL
-
-
github.com github.com
-
Examples of different ways of defining forms
Wow, that's a lot of different ways.
The inline_form way in particular seems interesting to me, though it's worth noting that that method is just an example, not actually part of this project's code, so it's not really a first-class option like the other options.
-
Bureaucrat doesn't define save
It's probably just as well, since it will almost always need to be overridden with custom logic...
-
-
www.javaworld.com www.javaworld.com
-
Programming to interfaces is at the core of flexible structure.
-
At the core of parallel development, however, is the notion of flexibility. You have to write your code in such a way that you can incorporate newly discovered requirements into the existing code as painlessly as possible.
-
-
github.com github.com
-
initialize(model) accepts an instance of the model that the form represents.
By designing this so there is a main model, it isn't as flexible as Reform's "Composition" module that lets you compose it in any way you want, including having as many as you want top-level "main" modules that your form is comprised of.
Tags
Annotators
URL
-
- Jan 2021
-
-
Another possible syntax is {#slot bar}<Foo/>{/slot}, which would also allow a bunch of DOM nodes and components inside the slot, without them needing to be from a single component
-
- Dec 2020
-
flathub.org flathub.org
-
Everyone needs a task manager and Planner adapts to anyone's needs
-
-
hacks.mozilla.org hacks.mozilla.org
-
Better contribution workflow: We will be using GitHub’s contribution tools and features, essentially moving MDN from a Wiki model to a pull request (PR) model. This is so much better for contribution, allowing for intelligent linting, mass edits, and inclusion of MDN docs in whatever workflows you want to add it to (you can edit MDN source files directly in your favorite code editor).
-
- Nov 2020
-
developer.mozilla.org developer.mozilla.org
-
The syntax of the fallback, like that of custom properties, allows commas. For example, var(--foo, red, blue) defines a fallback of red, blue — anything between the first comma and the end of the function is considered a fallback value.
-
-
material.io material.io
-
However, you can also use SVG, Font Awesome, or any other icon library you wish.
Tags
Annotators
URL
-
-
github.com github.com
-
aiming to be modular, flexible and without too strong an opinion on user experience
Tags
Annotators
URL
-
-
en.wikipedia.org en.wikipedia.org
-
Broadly speaking, modularity is the degree to which a system's components may be separated and recombined, often with the benefit of flexibility and variety in use.
-
-
-
Another possible syntax is {#slot bar}<Foo/>{/slot}, which would also allow a bunch of DOM nodes and components inside the slot, without them needing to be from a single component
I like it
-
- Oct 2020
-
www.basefactor.com www.basefactor.com
-
Flexibility: your solution can be ported to other UI's, or you can replace your favourite state management form library without affecting your validation engine.
-
Ok, I have seen that there are lot of built-in and third party validations, but sooner or later I will face a validation rule not covered by this buffet. Can I build a custom one? Of course you can!
-
-
medium.com medium.com
-
Yes, you cannot fully express a modern app through templates without sacrificing flexibility and code reusability.
-
-
github.com github.com
-
It is possible to invoke oceanwind in a multitude of different ways.
Tags
Annotators
URL
-
-
github.com github.com
-
Solid supports templating in 3 forms JSX, Tagged Template Literals, and Solid's HyperScript variant.
-
-
-
This means you have the full language at your disposal. You are not limited to premade helpers and directives to control how your view renders (although Solid ships with some). Neither Vue and Svelte offer this level of control.
-
-
-
The $ contract for auto-subscribing is lovely in its simplicity and flexibility. You can adapt your own preferred state-management pattern or library, with or without Svelte stores as helpers. Svelte does not fuss about how you want to manage your state.
-
-
rollupjs.org rollupjs.orgRollup2
-
If you return an object, then it is possible to resolve an import to a different id while excluding it from the bundle at the same time. This allows you to replace dependencies with external dependencies without the need for the user to mark them as "external" manually via the external option
-
Defines a custom resolver.
Tags
Annotators
URL
-
- Sep 2020
-
final-form.org final-form.org
-
More than one subscriber can subscribe to the same field.
-
-
www.axios.com www.axios.com
-
Pandey, E. (n.d.). Remote work won’t kill your office. Axios. Retrieved September 28, 2020, from https://www.axios.com/remote-work-office-space-coronavirus-pandemic-0403db33-a6e4-498b-9650-e108acf33f50.html
-
-
jimmyutterstrom.com jimmyutterstrom.com
-
But what if we want to use it in a legacy app built with for example Bootstrap 3 and lots of jQuery where there's no sign of Node.js? No problem! We'll just use the IIFE build and instantiate the component class through its global constructor:
-
-
github.com github.com
-
Then, the projects that use these libraries get to process these import statements how they like when they are bundled. For the ones that wish to load jQuery from a global, we again mark 'jquery' as an external—since we still don't want Rollup to bundle jQuery—and as a global.
-
-
github.com github.com
-
This has already forced me to forgo Svelte Material because I would like to add some actions to their components but I cannot and it does not make sense for them to cater to my specific use-case by baking random stuff into the library used by everyone.
-
The point of the feature is to not rely on the third-party author of the child component to add a prop for every action under the sun. Rather, they could just mark a recipient for actions on the component (assuming there is a viable target element), and then consumers of the library could extend the component using whatever actions they desire.
-
They don't need to add a prop for every action. The action itself can be passed in as a prop. <script> export let action; </script> <div use:action>whatever</div> The argument for the action can be another prop or can be part of the same prop.
Tags
- component properties (props)
- flexibility
- Svelte: action (use:)
- powerful
- run-time dynamicness/generics vs. having to explicitly list/hard-code all options ahead of time
- extensibility
- pass-through arguments/props/options
- I didn't know you could do that / that was possible!
- why this feature is needed
- emergent
- component/library author can't consider/know ahead of time all of the ways users may want to use it
- reusability
Annotators
URL
-
-
github.com github.com
-
Use case: Wrapper components that need to render an element (e.g. because they attach event listeners). You'd probably use a <div> there by default but there may be places where this is not desirable for semantic reasons (e.g. in lists).
-
-
-
I would hope for it to come with React-like behavior where I could pass in a string (like div or a) and have it show up as a normal div/a element when the child component used it.
-
-
svelte.dev svelte.dev
-
You can freely use destructuring and rest patterns in each blocks.
-
-
final-form.org final-form.org
-
A function that takes the value from the input and name of the field and converts the value into the value you want stored as this field's value in the form. Common usecases include converting strings into Numbers or parsing localized dates into actual javascript Date objects.
-
-
codedaily.io codedaily.io
-
We must always return at least some validation rule. So first off if value !== undefined then we'll return our previous validation schema. If it is undefined then we'll use the yup.mixed().notRequired() which will just inform yup that nothing is required at the optionalObject level. optionalObject: yup.lazy(value => { if (value !== undefined) { return yup.object().shape({ otherData: yup.string().required(), }); } return yup.mixed().notRequired(); }),
-
-
github.com github.com
-
variables and fallbacks in the child component css again seem verbose, and not as flexible as classes
-
-
jsreport.io jsreport.io
-
Instead of providing defaults, React has left these things to the community. As a result, a vibrant and diverse ecosystem has sprung up. It provides a great deal of flexibility for how you architect your React applications and how you adapt React to best suit your team.
-
-
www.reddit.com www.reddit.com
-
r/BehSciResearch—Inertia in academic priorities. (n.d.). Reddit. Retrieved June 16, 2020, from https://www.reddit.com/r/BehSciResearch/comments/h9cilq/inertia_in_academic_priorities/
-
-
-
Miyoshi, S., Jusup, M., & Holme, P. (2020). Flexible imitation mechanisms suppress epidemics through better vaccination. ArXiv:2009.00443 [Physics, q-Bio]. http://arxiv.org/abs/2009.00443
-
- Aug 2020
-
github.com github.com
-
Export to MongoDb, SQL, JsonLogic or your custom format
-
-
www.nber.org www.nber.org
-
Papageorge, N. W., Zahn, M. V., Belot, M., van den Broek-Altenburg, E., Choi, S., Jamison, J. C., & Tripodi, E. (2020). Socio-Demographic Factors Associated with Self-Protecting Behavior during the Covid-19 Pandemic (Working Paper No. 27378; Working Paper Series). National Bureau of Economic Research. https://doi.org/10.3386/w27378
-
-
www.nber.org www.nber.org
-
Fahlenbrach, R., Rageth, K., & Stulz, R. M. (2020). How Valuable is Financial Flexibility when Revenue Stops? Evidence from the COVID-19 Crisis (Working Paper No. 27106; Working Paper Series). National Bureau of Economic Research. https://doi.org/10.3386/w27106
-
-
www.washingtonpost.com www.washingtonpost.com
-
McGregor, Jena. ‘Remote Work Really Does Mean Longer Days — and More Meetings’. Washington Post. Accessed 10 August 2020. https://www.washingtonpost.com/business/2020/08/04/remote-work-longer-days/.
-
-
stackoverflow.blog stackoverflow.blog
-
Java may have been designed as a completely object oriented language, but when Java SE 8 was released in 2014, it added Lambda expressions (aka closures), which added some functional programming elements. Not every problem is best served by OOP, and by adding Lambdas, Java became more flexible.
-
- Jul 2020
-
www.nber.org www.nber.org
-
Atkeson, A., Kopecky, K., & Zha, T. (2020). Estimating and Forecasting Disease Scenarios for COVID-19 with an SIR Model (Working Paper No. 27335; Working Paper Series). National Bureau of Economic Research. https://doi.org/10.3386/w27335
-
-
moodle.loyola.edu moodle.loyola.edu
-
Alon, T. M., Doepke, M., Olmstead-Rumsey, J., & Tertilt, M. (2020). The Impact of COVID-19 on Gender Equality (Working Paper No. 26947; Working Paper Series). National Bureau of Economic Research. https://doi.org/10.3386/w26947
-
-
arxiv.org arxiv.org
-
Bizzarri, M., Panebianco, F., & Pin, P. (2020). Is segregating anti-vaxxers a good idea? ArXiv:2007.08523 [Physics, q-Bio, q-Fin]. http://arxiv.org/abs/2007.08523
-
-
twitter.com twitter.com
-
Peston on Twitter: “‘It wasn’t diverse enough, maybe it wasn’t nimble enough’ Sir Paul Nurse tells @Peston that SAGE needs to be truly multidisciplinary to perform its duties. #Peston https://t.co/3bUSxuFrj8” / Twitter. (n.d.). Twitter. Retrieved June 25, 2020, from https://twitter.com/itvpeston/status/1275917547012063238
-
-
osf.io osf.io
-
Lyttelton, T., Zang, E., & Musick, K. (2020). Gender Differences in Telecommuting and Implications for Inequality at Home and Work. https://doi.org/10.31235/osf.io/tdf8c
-
- Jun 2020
-
psyarxiv.com psyarxiv.com
-
Parsons, Sam. ‘Reliability Multiverse’, 26 June 2020. https://doi.org/10.31234/osf.io/y6tcz.
-
-
eprints.bbk.ac.uk eprints.bbk.ac.uk
-
Beauregard, T. A., Basile, K. A., & Canonico, E. (2019). Telework: Outcomes and Facilitators for Employees. In R. N. Landers (Ed.), The Cambridge Handbook of Technology and Employee Behavior (1st ed., pp. 511–543). Cambridge University Press. https://doi.org/10.1017/9781108649636.020
-
-
psyarxiv.com psyarxiv.com
-
Fiebig, J. H., Gould, E. R., Ming, S., & Watson, R. A. (2020). An Invitation to Act on the Value of Self-Care: Being a whole person in all that you do [Preprint]. PsyArXiv. https://doi.org/10.31234/osf.io/k72vd
-
-
www.ethicalsystems.org www.ethicalsystems.org
-
How Culture Explains Our Weak Response to the Coronavirus. (2020, June 14). Ethical Systems. https://www.ethicalsystems.org/how-culture-explains-our-weak-response-to-the-coronavirus/
-
-
psyarxiv.com psyarxiv.com
-
Pagnini, F., Bonalda, E., Montrasi, E., Toselli, E., & Alessandro, A. (2020). Reframing the psychological impact of the COVID-19 outbreak through a social media community for students [Preprint]. PsyArXiv. https://doi.org/10.31234/osf.io/d5wph
-
-
www.nature.com www.nature.com
-
Shew, A. (2020). Let COVID-19 expand awareness of disability tech. Nature, 581(7806), 9–9. https://doi.org/10.1038/d41586-020-01312-w
-
- May 2020
-
docs.gitlab.com docs.gitlab.com
-
It’s an alternative to using YAML anchors and is a little more flexible and readable
-
- Apr 2020
-
guides.rubyonrails.org guides.rubyonrails.org
-
The method name is generated by replacing spaces with underscores. The result does not need to be a valid Ruby identifier though, the name may contain punctuation characters etc. That's because in Ruby technically any string may be a method name. This may require use of define_method and send calls to function properly, but formally there's little restriction on the name.
Tags
Annotators
URL
-
-
github.com github.com
-
I need that model created despite being invalid, so it actually works in my favor (I have an after-signup profile creation process users through
-
- Mar 2020
-
piwik.pro piwik.pro
-
Change every detail of your pop-ups and bottom bars or build your own consent experience using the powerful JavaScript API.
Tags
Annotators
URL
-
-
guides.rubyonrails.org guides.rubyonrails.org
-
For several reasons the Simple backend shipped with Active Support only does the "simplest thing that could possibly work" for Ruby on Rails3 ... which means that it is only guaranteed to work for English and, as a side effect, languages that are very similar to English. Also, the simple backend is only capable of reading translations but cannot dynamically store them to any format.That does not mean you're stuck with these limitations, though. The Ruby I18n gem makes it very easy to exchange the Simple backend implementation with something else that fits better for your needs, by passing a backend instance to the I18n.backend= setter.
-
- Dec 2019
-
zapier.com zapier.com
-
It's not customizable enough and there aren't enough distinct fields for inevitably complex work tasks. Google Sheets fixes that. No, it's not a to do list app, but that's why I love it. It's an app I already use. It's extremely customizable.
-
-
zapier.com zapier.com
-
It's not for beginners, but it's extremely flexible once you get a handle on things. If sticking to a system is hard for you, I highly recommend giving this system a try.
-
Best to-do list app for taking control of your to-do list
-
-
www.howtogeek.com www.howtogeek.com
-
For example: I wanted a way to add recurring tasks to my list, so I wrote a simple bash script called goodmorning.sh. It uses the command prompt client to quickly add a bunch of tasks to my todo list of choice. I run this script first thing in the morning every workday, and I like it better than any built-in system I’ve found for recurring tasks, because it’s fully under my control.
-
There are thousands of to-do list apps out there, in part because no system works perfectly for everyone. I’m not going to say todo.txt is the exception, and that it will work for everyone, because that would be crazy. But todo.txt is the most flexible tool I’ve come across. In part, this is because of the sheer number of clients available, but also because the simplicity lends itself to improvisation.
First time I've seen improvisation used like this.
-
It’s flexible in precisely the way so many modern apps aren’t, and if you like tweaking things until they’re just right, I can’t recommend it enough.
-
-
github.com github.com
-
The beauty of todo.txt is that it's completely unstructured; the fields you can attach to each task are only limited by your imagination.
Tags
Annotators
URL
-
-
master.neutrinojs.org master.neutrinojs.org
-
Webpack supports the ability to run multiple builds by exporting an array of configurations instead of a single configuration.
Tags
Annotators
URL
-
- Jul 2019
-
clalliance.org clalliance.org
-
conventional forms of teaching and learning are not useful to prepare students for our dynamic and constantly shifting 21st century society
This is a bold statement but we should also be aware of that with our choices as teachers, we are shaping the society of the 21st century as well. Also, not everything "old" is necessarily useless and bad, so we need to distinguish between "modern" and "valuable" as well as "old" and "worthless". I think one of the most important value that we need to teach to our students and to ourselves, too, is flexibility.
-
- Mar 2018
-
www.insidehighered.com www.insidehighered.com
-
Most of my online students are also taking courses on campus, and they are taking some classes online as a way of balancing complicated college/work/life schedules
-
- Aug 2015
-
www.edudemic.com www.edudemic.com
-
Not usually fond of these listicles, but the classification makes sense.
-
- Mar 2015
-
www.scrumguides.org www.scrumguides.org
-
an objective set for the Sprint that can be met through the implementation of Product Backlog. It provides guidance to the Development Team on why it is building the Increment. It is created during the Sprint Planning meeting. The Sprint Goal gives the Development Team some flexibility regarding the functionality implemented within the Sprint. The selected Product Backlog items deliver one coherent function, which can be the Sprint Goal. The Sprint Goal can be any other coherence that causes the Development Team to work together rather than on separate initiatives.
an objective set for the Sprint that can be met through the implementation of Product Backlog. It provides guidance to the Development Team on why it is building the Increment. It is created during the Sprint Planning meeting. The Sprint Goal gives the Development Team some flexibility regarding the functionality implemented within the Sprint. The selected Product Backlog items deliver one coherent function, which can be the Sprint Goal. The Sprint Goal can be any other coherence that causes the Development Team to work together rather than on separate initiatives.
Tags
- hepsini sor
- mağaza
- an objective set for the Sprint that can be met through the implementation of Product Backlog. It provides guidance to the Development Team on why it is building the Increment. It is created during the Sprint Planning meeting. The Sprint Goal gives the Development Team some flexibility regarding the functionality implemented within the Sprint. The selected Product Backlog items deliver one coherent function, which can be the Sprint Goal. The Sprint Goal can be any other coherence that causes the Development Team to work together rather than on separate initiatives.
Annotators
URL
-
- Oct 2013
-
www9.georgetown.edu www9.georgetown.edu
-
both to teach what is right and to refute what is wrong, and in the performance of this task to conciliate the hostile, to rouse the careless, and to tell the ignorant both what is occurring at present and what is probable in the future. But once that his hearers are friendly, attentive, and ready to learn, whether he has found them so, or has himself made them so the remaining objects are to be carried out in whatever way the case requires. If the hearers need teaching, the matter treated of must be made fully known by means of narrative. On the other hand, to clear up points that are doubtful requires reasoning and the exhibition of proof. If, however, the hearers require to be roused rather than instructed, in order that they may be diligent to do what they already know, and to bring their feelings into harmony with the truths they admit, greater vigor of speech is needed. Here entreaties and reproaches, exhortations and upbraidings, and all the other means of rousing the emotions, are necessary.
The orator must be able to read the audience and adjust rhetoric accordingly
-