- Last 7 days
-
guides.rubyonrails.org guides.rubyonrails.org
-
Keep in mind that third party code with references to other files also processed by the asset Pipeline (images, stylesheets, etc.), will need to be rewritten to use helpers like asset_path.
-
-
trailblazer.to trailblazer.to
-
In both filters, you’re able to rename and coerce variables. This gives you a bit more control than the simpler DSL.
-
-
sobolevn.me sobolevn.me
-
Not all cases can be covered and easily restored. And sometimes when we will reuse this function for different use-cases we will find out that it requires different restore logic.
-
But why do we return 0? Why not 1? Why not None? And while None in most cases is as bad (or even worse) than the exceptions, turns out we should heavily rely on business logic and use-cases of this function.
-
So, the sad conclusion is: all problems must be resolved individually depending on a specific usage context. There’s no silver bullet to resolve all ZeroDivisionErrors once and for all. And again, I am not even covering complex IO flows with retry policies and expotential timeouts.
-
-
www.morozov.is www.morozov.is
-
However, you don’t need to have an extensive knowledge of monads to use ROP in your code.
-
-
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?
-
-
dry-rb.org dry-rb.org
-
It's hard to say why people think so because you certainly don't need to know category theory for using them, just like you don't need it for, say, using functions.
-
-
jrsinclair.com jrsinclair.com
-
This stuff is intoxicating once you get into it.
-
-
en.wikipedia.org en.wikipedia.org
-
2019.trailblazer.to 2019.trailblazer.to
-
note that TRB source code modifications are not proprietary
In other words, you can build on this software in your proprietary software but can't change the Trailblazer source unless you're willing to contribute it back.
loophole: I wonder if this will actually just push people to move their code -- which at the core is/would be a direction modification to the source code - out to a separate module. That's so easy to do with Ruby, so this restriction hardly seems like it would have any effect on encouraging contributions.
Tags
- wording designed to be more palatable/pleasing/inoffensive
- good point
- well-written
- proprietary software
- reminder
- annotation meta: may need new tag
- software licensing
- neutral/dispassionate/impartial/objective wording
- loophole/escape hatch
- open-source software: not contributing new code back to project
- LGPL
Annotators
URL
-
-
psyarxiv.com psyarxiv.com
-
Prime, H., Wade, M., May, S., Jenkins, J., & Browne, D. (2021). The COVID-19 Family Stressor Scale: Validation and Measurement Invariance in Female and Male Caregivers. PsyArXiv. https://doi.org/10.31234/osf.io/7328w
Tags
- lang:en
- need
- child mental health
- global
- family stress
- social disruption
- caregiver
- disruption
- education
- welfare
- pandemic
- basic need
- parent
- COVID-19
- parental mental health
- is:preprint
- social
- effect
- UK
- responsibility
- wellbeing
- USA
- child
- mental health
- Canada
- family
- finance
- stress
- survey
- Australia
- career
Annotators
URL
-
-
github.com github.com
-
I'm sure there will be a few other people out there who eventually want something like this, since Interactions are actually a great fit for enforcing consistency in data structures when working with a schemaless NoSQL store, but obviously it's still a bit of a niche audience.
-
- Feb 2021
-
www.javaworld.com www.javaworld.com
-
Rather than implement features you might need, you implement only the features you definitely need, but in a way that accommodates change. If you don't have this flexibility, parallel development simply isn't possible.
-
-
-
I'd like to know specifically what you were aiming to achieve with this Gem as opposed to simply using https://github.com/apotonick/reform? I am happy to help contribute, but equally if there is a gem out there that already does the job well, I'd like to know why we shouldn't just use that.
-
The reason Reform does updating attributes and validation in the same step is because I wanna reduce public methods. This is to save users from having to remember state.
I see what he means, but what would you call this (tag)? "have to remember state"? maybe "have to remember" is close enough
Or maybe order is important / do things in the right order is all we need to describe the problem/need.
-
-
-
I will continue to use form objects and push changes into the repo when I feel they are universally relevant and valuable.
new tag?:
- code that is universally relevant/valuable
- non - _-specific logic
-
Writing the uniqueness validations yourself is easy so I felt it was better to leave this up to the developer
-
-
www.metacritic.com www.metacritic.com
-
There's no such a thing, more like beautiful interface trying to hide that there's no actual gameplay.
hiding __?
-
The filthy casuals write positive reviews on steam and it's clear that true gamers won't even try to review such a shallow game.
reviews/ratings because only those already inclined to like it (or who have been swayed by the already positive reviews) will bother buying it and (therefore) bother reviewing it, hence amplifying the positive ratings
-
-
www.reddit.com www.reddit.com
-
Space: Suppose we had infinite memory, then cache all the data; but we don't so we have to decide what to cache that is meaningful to have the cache implemented (is a ??K cache size enough for your use case? Should you add more?) - It's the balance with the resources available.
-
Time: Suppose all your data was immutable, then cache all the data indefinitely. But this isn't always to case so you have to figure out what works for the given scenario (A person's mailing address doesn't change often, but their GPS position does).
-
-
www.quora.com www.quora.com
-
So the hard and unsolvable problem becomes: how up-to-date do you really need to be?
-
After considering the value we place, and the tradeoffs we make, when it comes to knowing anything of significance, I think it becomes much easier to understand why cache invalidation is one of the hard problems in computer science
the crux of the problem is: trade-offs
-
-
css-tricks.com css-tricks.com
-
The syntax itself provides a visualization of the structure of the grid.
What is this an example of? self-referencing? self-presentation? duality?
-
- Jan 2021
-
unix.stackexchange.com unix.stackexchange.com
-
Please don't thank me! ;-) If this answer did help, just click the little grey ☑ at the left of this text right now turning it into beautiful green. If you do not like the answer, click on the little grey down-arrow below the number, and if you really like the answer, click on the little grey ☑ and the little up-arrow... If you have any further questions, just ask another one! ;-)
How would you even describe this comment?
"just doing my job"? but he is (I assume) answering to be nice not because it's his job
"I won't take it personally"? vote my answer up or down, whichever you please
impartial, dispassionate, and objective, perhaps? "just the facts, ma'am"
Separately, what is the "Please don't thank me!" for? Is it that politeness? False modesty? Genuine modesty? Or is it rude? Why not allow someone to thank you??
-
-
apostrophecms.com apostrophecms.com
-
We believe good tools lead to excellent creations.
-
-
stackoverflow.com stackoverflow.com
-
There is a dimension of personal preference to it. I don't like to expose more than strictly necessary to external consumers, because it makes it harder to track usages. If you find a bind:prop in a consumer, you know prop is used (which you already kind of knew since the prop is part of the "public" API of the component). Done. If you find a bind:this, you now need to track all usages of this this.
-
- Dec 2020
-
psyarxiv.com psyarxiv.com
-
Cargnino. M., Neubaum. G., Winter. S., (2020) We're a Good Match: Selective Political Friending on Social Networking Sites. PSyarxiv. Retrieved from: https://psyarxiv.com/9dmgf/
-
-
www.codingwithjesse.com www.codingwithjesse.com
-
We usually only see people launching projects once they're already done. I'm sure there are countless more unfinished and unlaunched side projects that the world will never know about. Don't let your side project become one of them.
-
They say that perfect is the enemy of good, and I'm coming to realise that something like a video course can never be perfect anyway. I can only do my best with the time and energy I have available. I'd rather finish this course and share my experience and insights on using Svelte with the world, than to plan it forever and never launch.
-
-
github.com github.com
-
In fact, even <svelte:slot /> feels a bit confusing because it introduces a new kind of slot, where the concept is already a bit crowded (there the <slot /> in the parent component, and the target slot="name" for the slot content).
tag?: crowded (how do we disambiguate, make it not ambiguous?)
-
-
github.com github.com
-
Some devs prefer Svelte’s minimal approach that defers problems to userland, encouraging more innovation, choice, and fragmentation, and other devs prefer a more fully integrated toolkit with a well-supported happy path.
tag?: what scope of provided features / recommended happy path is needed?
-
It’s worth mentioning that Svelte limits its scope to being only a UI component framework. Like React, it provides the view layer, but it has more batteries included with its component-scoped CSS and extensible stores for state management. Others like Angular and Vue provide a more all-in-one solution with official routers, opinionated state management, CLIs, and more. Sapper is Svelte’s official app framework that adds routing, server-side rendering, code splitting, and some other essential app features, but it has no opinions about state management and beyond. Some devs prefer Svelte’s minimal approach that defers problems to userland, encouraging more innovation, choice, and fragmentation, and other devs prefer a more fully integrated toolkit with a well-supported happy path.
tag?: what scope of provided features / recommended happy path is needed?
-
With the caveat that hero worship can be gross, distorting, and unhelpful to everyone involved, Svelte author Rich Harris (@rich_harris on Twitter) is one of my favorite open source developers. In the JS community he’s well-known among tool authors for spreading interesting ideas. He’s the creator of many open source projects including Rollup, the bundler of choice for many libraries including React and Vue.
-
Svelte is its own language, not plain HTML+CSS+JS
its own _
-
The compiler architecture moves complexity from the runtime and source code to buildtime and tools. Behind Svelte’s simple APIs sits a beefy compiler. Frontend web development has become very tool heavy in the webapp era, so in practice this adds little cost beyond what developers like myself already pay, but increased build complexity is important to acknowledge.
tool-heavy dependence on build tools / heavy/complex build-time
Tags
- unhelpful
- good point
- limited scope (doesn't try to be/do everything)
- official opinion/stance/position
- Svelte
- programming languages
- annotation meta: may need new tag
- frontend development
- official preferred convention / way to do something
- interesting idea
- building (compiling)
- complexity
- Rich Harris
- recommended software
- minimalistic
- scope
- recommended option/alternative
Annotators
URL
-
-
psyarxiv.com psyarxiv.com
-
Graupmann, V., & Pfundmair, M. (2020, December 1). When social exclusion is mandated: COVID-19, social distancing, gender and psychological needs. https://doi.org/10.31234/osf.io/u362n
-
- Nov 2020
-
news.ycombinator.com news.ycombinator.com
-
There's a huge area of seemingly obvious user-centric products that don't exist simply because there isn't a working business model to support it.
-
-
www.reddit.com www.reddit.com
-
I also find that a lot of the complexity of Flutter can be avoided, and I mostly use it to define the UI as a more app-centric alternative to HTML/CSS.
I mostly use it to define the UI as a more app-centric alternative to HTML/CSS.
-
-
boardgamegeek.com boardgamegeek.com
-
(15x) ENJOYMENT: Forgettable Outstanding(10x) DEPTH (IN RELATION TO COMPLEXITY): Lacking Meaty (5x) LUCK FACTOR: All Luck All Skill (3x) REPLAYABILITY: Nil Limitless(10x) MECHANICS: Boring Interesting (4x) PLAYER INTERACTION: Low High (4x) PLAYER COUNT PERFORMANCE: Not Balanced Balanced (2x) GAME LENGTH: Too Short/Long Just Right (2x) CLARITY OF RULES: Mud Crystal (5x) COMPONENT QUALITY: Cheap World ClassINITIAL RATING (sum(Criteria Rating x Criteria Weight)/Total Weight) = 7.7
rating scale evaluation
-
-
www.youtube.com www.youtube.com
-
If everyone did this, the repair shops would be out of business.
-
-
laniewski.me laniewski.me
-
It is important to notice that if you are planning on making your application a PWA, you don’t have to rewrite all the logic.
-
-
github.com github.com
-
If the document is uncontroversial and agreement is reached quickly it might be committed directly with the "accepted" status. Likewise, if the proposal is rejected the status shall be "rejected". When a document is rejected a member of the core team should append a section describing the reasons for rejection.
-
-
madewithsvelte.com madewithsvelte.com
-
Why do we need this proprietary service?
So they can track us when we go to: http://svelte-autocomplete.surge.sh/?ref=madewithsvelte.com ?
Rather than bookmark/use https://madewithsvelte.com/svelte-autocomplete I would prefer to just use https://github.com/elcobvg/svelte-autocomplete as the canonical URL for this project.
-
-
news.ycombinator.com news.ycombinator.com
-
Did you look at it and decide not, or not look at it?
-
This isn't written to hype a battle in the holy war.
-
-
github.com github.com
-
It looks like you just deleted our lovely crafted issue template. It was there for good reasons. Please help us solving your issue by answering the questions asked in this template. I'm closing this. Please either update the issue with the template and reopen, or open a new issue.
Ignoring official advice
-
-
-
In principle, this information is already available through other means, but it is actually a fair amount of work to gather it in this form, and I think it could be useful to open it up to programmatic consumption.
-
-
jonudell.info jonudell.info
-
http://jonudell.info/h/tag-rename-02.mp4
Most people would embed a YouTube video. Nice to see no dependency on 3rd-party service here.
-
- Oct 2020
-
www.scispike.com www.scispike.com
-
I came up with this solution by piecing together man pages and random google result. I was surprised at how many incomplete and inaccurate answers were out there. What may have been more surprising was the complete lack of a full intact solution.
-
-
github.com github.com
-
We could broadcast a warning if we find the variable to be set in the environment, but that is more likely than not to annoy people who intentionally set it.
New tag?: warnings that may annoy people who intentionally do something. (Need a way to selectively silence certain warnings?)
-
It took a lot of searching around to find that variable.
-
-
stackoverflow.com stackoverflow.com
-
If you have a better/simpler/"more official" solution, I'd still love to see it!
The "official" solution is to use submitErrors (see Erik's answer).
-
-
www.basefactor.com www.basefactor.com
-
Focus on your application: forget about forms details like I'm dirty, field touched...
-
You can try to build a solution to tackle these issues on your own, but it will cost you time and money... why not use a battle-tested solution to handle all this complexity?
-
If you want to implement a form with a superb User Experience, you have to take care of many variables:
-
Form validation can get complex (synchronous validations, asynchronous validations, record validations, field validations, internationalization, schemas definitions...). To cope with these challenges we will leverage this into Fonk and Fonk Final Form adaptor for a React Final Form seamless integration.
-
Managing Form State (holding field information, check if a control has been touched, if the user has clicked the submit button, who owns the current focus...) can be tedious and prone to errors. We can get help from React Final Form to handle these challenges for us.
Tags
- difficult/hard problem
- too hard/difficult/much work to expect end-developers to write from scratch (need library to do it for them)
- fonk (form validation library)
- don't write your own
- easy to get wrong
- a lot of things to consider
- tedious
- reinventing the wheel / not invented here
- form validation library
- react-final-form
- form validation
- complexity
- can't keep entire system in your mind at once (software development) (scope too large)
- user experience
- form design
- adapter
- integration
Annotators
URL
-
-
-
But it sounds like the library could use some way to setTouched()
-
-
guides.rubyonrails.org guides.rubyonrails.org
-
Paths are traversed in the order they occur in the search path. By default, this means the files in app/assets take precedence, and will mask corresponding paths in lib and vendor.
-
-
documentation.kmiservicehub.com documentation.kmiservicehub.com
-
Replace the card, reinstall Sophos and restart the system.
Wi-Fi MK-755が装着無しよりエラーが発生、対応策なし。
An error occurred when Wi-Fi MK-755 was not installed, and there was no countermeasure.
-
Hardware connectivity in Separate Kitting
Sanity check 1 is missing.
-
Installing the Wi-Fi Communication Terminal MK-755 (optional)
The description of Wi-Fi MK-755 remains
-
-
github.com github.com
-
Doing so also means adding empty import statements to guarantee correct order of evaluation of modules (in ES modules, evaluation order is determined statically by the order of import declarations, whereas in CommonJS – and environments that simulate CommonJS by shipping a module loader, i.e. Browserify and Webpack – evaluation order is determined at runtime by the order in which require statements are encountered).
Here: dynamic loading (libraries/functions) meaning: at run time
-
-
-
Don’t fetch stuff unless you actually need it Judging from the response to our 503 errors, much of the software requesting DTDs and schemata from our site doesn’t even need them in the first place, so requesting them just wastes bandwidth and slows down the application. If you don’t need it, don’t fetch it!
-
-
-
Informative data about objects that are considered prototypes for the role. Base concept is similar to type, but without inheritance of limitations and properties. Base concepts are designed as a substitute for inheritance for external concepts. A base concept is like a related concept except that the base concept is almost identical to the role definition.
-
-
final-form.org final-form.org
-
Wondering how to get field state from multiple fields at once? People coming from Redux-Form might be wondering where the equivalent of Redux Form's Fields component is, as a way to get state from several fields at once. The answer is that it's not included in the library because it's so easy to write one recursively composing Field components together.
-
-
medium.com medium.com
-
It is important to note here that the flow does not need to begin with a user interaction. With the rise of asynchronous middleware like redux-saga and redux-observable, the ability to trigger any code on a component anywhere is very useful.
This tag doesn't quite fit: can be used independently (fine-grained/decoupled)
-
-
github.com github.com
-
The primary motivation behind virtual-dom is to allow us to write code independent of previous state. So when our application state changes we will generate a new VTree. The diff function creates a set of DOM patches that, based on the difference between the previous VTree and the current VTree, will update the previous DOM tree to match the new VTree.
annotation meta: may need new tag: for: "code independent of previous state."
annotation meta: may need new tag: for: diffs other than source/text code diffs (in this case diffs between virtual DOM trees)
-
-
github.com github.com
-
However, in function components there really isn't much need for this pattern since you can just use JS default arguments
-
This proposal simplifies how React.createElement works and ultimately lets us remove the need for forwardRef.
-
-
gist.github.com gist.github.com
-
This is valid javascript! Or harmony or es6 or whatever, but importantly, it's not happening outside the js environment. This also allows us to use our standard tooling: the traceur compiler knows how to turn jsx`<div>Hello</div>`; into the equivalent browser compatible es3, and hence we can use anything the traceur compile accepts!
-
-
www.npmjs.com www.npmjs.comhyperx1
-
If you're targeting these platforms, there's no need to use a transpiler!
Tags
Annotators
URL
-
-
medium.com medium.com
-
But the vast majority of things that our apps are doing are just conditional and list rendering.
-
-
tech.ebayinc.com tech.ebayinc.com
-
Every new variation to the view requires updating both the view model and the template. This holds true even for simple variations.
-
-
github.com github.com
-
It provides several capabilities that are difficult to achieve with React alone, while being compatible with the newest features of React.
-
-
dylanvann.com dylanvann.com
-
Disclaimer: I’m new to Svelte so this isn’t so much a recommendation as it is a “I guess this is a way to do it 🤷♂️”
-
-
-
People constantly suggest that I should have just worked with a different library instead of writing another one.
-
helped me carve a niche for what would become SolidJS. I still see that space today, so I'm glad that I did.
-
Do we need another JS UI Library?
-
-
sp.lyellcollection.org sp.lyellcollection.org
-
Cerase, A. (2020). From “good” intuitions to principled practices and beyond: Ethical issues in risk communication. Geological Society, London, Special Publications, 508. https://doi.org/10.1144/SP508-2020-104
-
-
forms.zohopublic.com forms.zohopublic.com
-
Are there any rehearsal or set up dates on campus? Yes No Please enter any rehearsal or set up dates here
add verbiage here from Chuck about facilities concerns
-
- Sep 2020
-
-
There are work arounds, but nothing clean. I just feel like this should be functionality that should be part of the slot feature.
-
-
github.com github.com
-
Lets not extend the framework with yet another syntax
-
-
-
I'm just pushing on the "is this really a good idea" front
-
You must: reference each element you are extending using refs or an id add code in your oncreate and ondestroy for each element you are extending, which could become quite a lot if you have a lot of elements needing extension (anchors, form inputs, etc.)
Tags
- too hard/difficult/much work to expect end-developers to write from scratch (need library to do it for them)
- difficult/hard
- framework taking care of responsibility so users can leverage it and not have to worry about that responsibility themselves
- you aren't going to need it
- scalability
- why this feature is needed
- could be easier / more difficult than it needs to be
- from different perspective/point of view
- feature not needed; better to use a different approach/feature instead
Annotators
URL
-
-
github.com github.com
-
The more I think about this, the more I think that maybe React already has the right solution to this particular issue, and we're tying ourselves in knots trying to avoid unnecessary re-rendering. Basically, this JSX... <Foo {...a} b={1} {...c} d={2}/> ...translates to this JS: React.createElement(Foo, _extends({}, a, { b: 1 }, c, { d: 2 })); If we did the same thing (i.e. bail out of the optimisation allowed by knowing the attribute names ahead of time), our lives would get a lot simpler, and the performance characteristics would be pretty similar in all but somewhat contrived scenarios, I think. (It'll still be faster than React, anyway!)
-
-
stackoverflow.com stackoverflow.com
-
I really have no idea how you came up with this solution but that reflects a major problem with many npm packages, i.e. 90 percent of the library documentation should be pulled from the Git issues or SO answers.
-
- Aug 2020
-
pragmaticpineapple.com pragmaticpineapple.com
-
The hype is something common in our industry. Remember NoSQL? Or when everyone went crazy over microservices? Or the AI / Machine learning burst? The list goes on and on. People get excited about new and breakthrough technologies and ideas.
-
The idea of having to learn something new is good, and I agree with that, but how often should you do that? Looking at the world of JavaScript, a new idea, blog post, library, framework, and whatnot pops up very often. Things become trending, and people quickly try to adopt that. I’m not saying you should not adopt new things and consider different approaches to a solution, not at all! I am trying to propose the idea of doing that less often.
-
- Jul 2020
-
www.theregister.com www.theregister.com
-
"AOO is not, and isn't designed to be, the 'super coolest open source office suite with all the latest bells and whistles,'" Jagielski continued. "Our research shows that a 'basic,' functional office suite, which is streamlined with a 'simple' and uncluttered, uncomplicated UI, serves an incredible under-represented community.
-
-
bugs.ruby-lang.org bugs.ruby-lang.org
-
If you're having to look at GitHub, it seems like you didn't find a situation yourself where the requested feature would make you happier. I would advice you not to attempt to find use cases beforehand, just let them find you.
-
-
-
How Europe can emerge stronger out of the coronavirus crisis. (n.d.). World Economic Forum. Retrieved 25 July 2020, from https://www.weforum.org/agenda/2020/07/resilient-european-economy/
Tags
- lang:en
- uneven recovery
- need for transformation
- high-debt countries
- climate-friendly recovery
- resilience
- is:webpage
- monetary policy
- Next Generation EU
- COVID-19
- Europe
- coronavirus crisis
- GDP
- recovery trajectory
- post-crisis economy
- market rigidity
- resource reallocation
- fiscal policy
Annotators
URL
-
-
bugs.ruby-lang.org bugs.ruby-lang.org
-
Matz, alas, I cannot offer one. You see, Ruby--coding generally--is just a hobby for me. I spend a fair bit of time answering Ruby questions on SO and would have reached for this method on many occasions had it been available. Perhaps readers with development experience (everybody but me?) could reflect on whether this method would have been useful in projects they've worked on.
-
-
github.com github.com
-
I'll freely admit I was surprised by this behavior myself since I needed to obtain an Array with only one instance of each item in the argument array removed.
-
-
blogs.scientificamerican.com blogs.scientificamerican.com
-
Kaufman, S. B. (n.d.). Forced Social Isolation Causes Neural Craving Similar to Hunger. Scientific American Blog Network. Retrieved 26 June 2020, from https://blogs.scientificamerican.com/beautiful-minds/forced-social-isolation-causes-neural-craving-similar-to-hunger/
-
- Jun 2020
-
journals.sagepub.com journals.sagepub.com
-
Axt, J. R., Landau, M. J., & Kay, A. C. (2020). The Psychological Appeal of Fake-News Attributions. Psychological Science, 0956797620922785. https://doi.org/10.1177/0956797620922785
-
-
stackoverflow.com stackoverflow.com
-
What would be nice is if JavaScript had a built-in way to do what I can do in Ruby with:
> I18n.interpolate('Hi, %{name}', name: 'Fred') => "Hi, Fred"
But to be fair, I18n comes from i18n library, so JS could just as easily (and I'm sure does) have a library that does the same thing.
Update: Actually, you can do this in plain Ruby (so why do we even need
I18n.interpolate
?):main > "Hi, %{name}" % {name: 'Fred'} => "Hi, Fred"
main > ? String#% From: string.c (C Method): Owner: String Visibility: public Signature: %(arg1) Number of lines: 9 Format---Uses str as a format specification, and returns the result of applying it to arg. If the format specification contains more than one substitution, then arg must be an Array or Hash containing the values to be substituted. See Kernel::sprintf for details of the format string. "%05d" % 123 #=> "00123" "%-5s: %016x" % [ "ID", self.object_id ] #=> "ID : 00002b054ec93168" "foo = %{foo}" % { :foo => 'bar' } #=> "foo = bar"
I guess that built-in version is fine for simple cases. You only need to use
I18n.translate
if you need its more advanced features likeI18n.config.missing_interpolation_argument_handler
.
-
-
medium.com medium.com
-
As an engineer, it’s important to explore different technologies. It’s important to identify the tools available to tackle problems. And it’s important to expand your horizons because then you can look cool on your CV.
-
-
www.psychologicalscience.org www.psychologicalscience.org
-
Axt, J.R., et. al, (2020) The Psychological Appeal of Fake-News Attributions. Psychological Science, https://doi.org/10.1177/0956797620922785
-
-
stackoverflow.com stackoverflow.com
-
If anyone else wonders How to just get data type of a varible (not column) you can use the pg_typeof(any) function.
-
- May 2020
-
www.cambridge.org www.cambridge.org
-
Kaufman, K. R., Petkova, E., Bhui, K. S., & Schulze, T. G. (undefined/ed). A global needs assessment in times of a global crisis: World psychiatry response to the COVID-19 pandemic. BJPsych Open, 1–11. https://doi.org/10.1192/bjo.2020.25
-
-
stackoverflow.com stackoverflow.com
-
I have used this bash one-liner before set -- "${@:1:$(($#-1))}" It sets the argument list to the current argument list, less the last argument.
Analogue of
shift
built-in. Too bad there isn't just apop
built-in.
-
-
theconversation.com theconversation.com
-
Hoffman, T. & Glasziou, P. (2020 May 05). Coronavirus: What if a vaccine doesn’t work? World Economic Forum. https://www.weforum.org/agenda/2020/05/vaccine-coronavirus-alternatives-covid19-vaccinations/
-
-
www.merriam-webster.com www.merriam-webster.com
-
of, relating to, or being a grammatical case or form expressing means or agency
I really need an example of this!
It seems unusual that they specifically mention "a grammatical case or form". I've never seen a definition before that is anything like this one.
How is this different from definition 1?
-
-
www.darpa.mil www.darpa.mil
-
Moreover, common search practices miss information in the deep web—the parts of the web not indexed by standard commercial search engines
-
-
ambermd.org ambermd.org
-
wt1mg_min_water
should be wt1mg_min.rst
-
-
gitlab.com gitlab.com
-
What I think we're lacking is proper tooling, or at least the knowledge of it. I don't know what most people use to write Git commits, but concepts like interactive staging, rebasing, squashing, and fixup commits are very daunting with Git on the CLI, unless you know really well what you're doing. We should do a better job at learning people how to use tools like Git Tower (to give just one example) to rewrite Git history, and to produce nice Git commits.
-
-
www.fastcompany.com www.fastcompany.com
-
This kind of cookie-based data collection happens elsewhere on the internet. Giant companies use it as a way to assess where their users go as they surf the web, which can then be tied into providing better targeted advertising.
-
For instance, Google’s reCaptcha cookie follows the same logic of the Facebook “like” button when it’s embedded in other websites—it gives that site some social media functionality, but it also lets Facebook know that you’re there.
-
- Apr 2020
-
-
One thing is certain when it comes to navigation trends, users and designers seem to be fed up with completely hidden styles and demand options that work in similar formats on desktops and mobile devices. This might be one of the reasons a vertical pattern is trending.
-
-
www.troyhunt.com www.troyhunt.com
-
This list is not perfect - it's not meant to be perfect - and there will be some junk due to input data quality and some missing passwords because they weren't in the source data sets. It's simply meant to be a list of strings that pose an elevated risk if used for passwords and for that purpose, it's enormously effective.
-
-
www.freshworks.com www.freshworks.com
-
We prefer Freshconnect for ticket related discussions because it maintains the context and always remains part of the ticket. In Slack, these discussions get lost in threads within channels.
-
- Mar 2020
-
www.iubenda.com www.iubenda.com
-
Our Cookie Solution plugins for WordPress, Magento, Joomla! and PrestaShop allow you to automate the blocking of scripts drastically reducing the necessity for direct interventions in the site’s code.
-
-
www.telstra.com.au www.telstra.com.au
-
Ways to increase Wi-Fi coverage.
define need for product
-
-
www.wikihow.com www.wikihow.com
-
There is no use learning the word for “aardvark” in Swahili if you are never likely to use it. Think of words you use all the time and get familiar with them first.[2] X Research source For example, if you’re an exchange student in Russia, you might need to introduce yourself, ask for directions, and order food. While you might need to know the Swahili word for “aardvark” someday, you can learn it at a later date when the time comes.
-
- Nov 2019
-
bugs.ruby-lang.org bugs.ruby-lang.org
-
You haven't shown any real use case yet. I don't deny that the functionality alone would be a good shortcut itself just like any other proposal we see every day.
-
-
www.youtube.com www.youtube.com
- Aug 2019
-
www.dailykos.com www.dailykos.com
-
That is approximately $10,739 per person.
That is expensiveness for a middle class family
-
ObamaCare, is the product of a Conservative Think-Tank. 60% of citizens get private insurance from their employers, 15% receive Medicare (65 and older), and the federal gov’t funds Medicaid for low-income families (the allocation to this fund has been declining).
Lucky, Trump removed that
-
Switzerland has mandatory health insurance that covers all residents.
Almost like the U.S.
-
France has a mandatory health insurance system that covers 75% of health care spending.
Even France covers there people health insurance but more than Canada
-
-