- Oct 2020
-
stackoverflow.com stackoverflow.com
-
As I said above, the intervening time matters in my use case. The value can become invalid after a while, so I want to make sure that it gets checked just before it's submitted.
-
This is for a time picker. If you're picking times for today, you may pick a time that is 15 minutes from now. It's valid now because it's currently in the future. If you don't touch the form for the next 20 minutes then click submit, the submission should be prevented because your selected time is now 5 minutes in the past.
-
-
-
Well. I also recall that people complained about this when I did it in redux-form, which resulted in a persistentSubmitErrors config parameter.
-
In other words, I do not want an error to appear/disappear as a user types the text that swaps it from invalid to valid.
-
-
medium.com medium.com
-
These are fine and do not cause any issues.
-
-
en.wikipedia.org en.wikipedia.org
-
Intercepting proxies are commonly used in businesses to enforce acceptable use policy, and to ease administrative overheads since no client browser configuration is required.
-
-
disqus.com disqus.com
-
That is certainly a good use-case. One thing you can do is to require something other than a user-chosen string as a username, something like an email address, which should be unique. Another thing you could do, and I admit this is not user-friendly at all, to let them sign up with that user name, but send the user an email letting them know that the username is already used. It still indicates a valid username, but adds a lot of overhead to the process of enumeration.
-
-
www.tiktok.com www.tiktok.com
-
you are granting us the right to use your User Content without the obligation to pay royalties to any third party
-
You or the owner of your User Content still own the copyright in User Content sent to us, but by submitting User Content via the Services, you hereby grant us an unconditional irrevocable, non-exclusive, royalty-free, fully transferable, perpetual worldwide licence to use, modify, adapt, reproduce, make derivative works of, publish and/or transmit, and/or distribute and to authorise other users of the Services and other third-parties to view, access, use, download, modify, adapt, reproduce, make derivative works of, publish and/or transmit your User Content in any format and on any platform, either now known or hereinafter invented.
-
-
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.
-
Listening for External Changes By wrapping a stateful ExternalModificationDetector component in a Field component, we can listen for changes to a field's value, and by knowing whether or not the field is active, deduce when a field's value changes due to external influences.
Tags
- feature not needed; better to use a different approach/feature instead
- impressive
- good point
- they've thought of everything
- too easy/simple/trivial for end-developers to write from scratch to expect (don't need library to do it for them; don't need to provide feature)
- use cases
- so simple that they don't deserve ...
- example
Annotators
URL
-
-
stackoverflow.com stackoverflow.com
-
Looks like the problem is that debounce defaults to waiting for 0 ms ... which is completely useless!
It would be (and is) way to easy to omit the 2nd parameter to https://lodash.com/docs/4.17.15#debounce.
Why is that an optional param with a default value?? It should be required!
There must be some application where a delay of 0 is useless. https://www.geeksforgeeks.org/lodash-_-debounce-method/ alludes to / implies there may be a use:
When the wait time is 0 and the leading option is false, then the func call is deferred until to the next tick.
But I don't know what that use case is. For the use case / application of debouncing user input (where each character of input is delayed by at least 10 ms -- probably > 100 ms -- a delay of 0 seems utterly useless.
-
-
ponyfoo.com ponyfoo.comPony Foo1
-
Polyfills are great for methods like String.prototype.trim because they allow you to use the methods on String instances.
Tags
Annotators
URL
-
-
svelte.dev svelte.dev
-
Not all application state belongs inside your application's component hierarchy. Sometimes, you'll have values that need to be accessed by multiple unrelated components, or by a regular JavaScript module.
-
-
stackoverflow.com stackoverflow.com
-
I used a self made (for the experience) rule based sytem with the Svelte use:action element directive. FI: <input .. use:valid={prop, 'mandatory'}....>
-
-
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
-
-
github.com github.com
-
By default all content inside template strings is escaped. This is great for strings, but not ideal if you want to insert HTML that's been returned from another function (for example: a markdown renderer). Use nanohtml/raw for to interpolate HTML directly.
-
-
2ality.com 2ality.com
-
trusktr herman willems • 2 years ago Haha. Maybe React should focus on a template-string syntax and follow standards (and provide options for pre-compiling in Webpack, etc).
Well anywho, there's other projects now like hyperHTML, lit-html, etc, plus some really fast ones: https://www.stefankrause.ne...
React seems a little old now (and the new Hooks API is also resource heavy).
• Share ›  Michael Calkins trusktr • 4 years ago • edited That's a micro optimization. There isn't a big enough difference to matter unless you are building a game or something extraordinarily odd.
• Share › −  trusktr Michael Calkins • 2 years ago True, it matters if you're re-rendering the template at 60fps (f.e. for animations, or for games). If you're just changing views one time (f.e. a URL route change), then 100ms won't hurt at all.
-
-
facebook.github.io facebook.github.io
-
ECMAScript 6th Edition (ECMA-262) introduces template literals which are intended to be used for embedding DSL in ECMAScript.
-
-
-
I suppose it all comes down to tooling. It should be easy to author a pattern. A set of implicit (possibly explicit) patterns to author patterns may be useful.
Tags
Annotators
URL
-
-
-
if we create a new branch or scope for some corner cases, we should have full features of a component without creating a new file
-
This seems crucial, for example for #if inside #each {#each boxes as box} {@const b = box?.a?.b} {#if b} <p>{b}</p> {/if} {/each}
-
but this RFC addresses a significant pain point I've had with {#each} blocks doing data visualization and graphics.
-
-
github.com github.com
-
I'm suggesting there should be a way to write lifecycle related code that also responds to changing props, like how useEffect works. I think how React handles this could be a good source of inspiration.
-
-
svelte.dev svelte.dev
-
medium.com medium.com
-
Sometimes, you may be tempted to write that wrapper. Because all your (React or Vue or insert your reactive framework here) instincts tell you so.Resist the temptation. There is a better way. A svelter way. Introducing: the use-directive (a.k.a. “actions”).
-
-
covid-19.iza.org covid-19.iza.org
-
COVID-19 and the Labor Market. (n.d.). IZA – Institute of Labor Economics. Retrieved October 10, 2020, from https://covid-19.iza.org/publications/dp13599/
-
-
covid-19.iza.org covid-19.iza.org
-
COVID-19 and the Labor Market. (n.d.). IZA – Institute of Labor Economics. Retrieved October 10, 2020, from https://covid-19.iza.org/publications/dp13569/
-
-
-
I started Solid years ago before I thought anyone would be interested in using it. I only started promoting it because it had already achieved the goals I had set out for it.
-
-
stackoverflow.com stackoverflow.com
-
Always fascinated to discover a use case I'd never have considered.
-
-
www.npmjs.com www.npmjs.com
-
An action used on anchor tags to navigate around the application.
Tags
Annotators
URL
-
- Sep 2020
-
medium.com medium.com
-
In my opinion, because Webpack was one of the first bundlers, is heavily packed with features, and has to support swathes of legacy code and legacy module systems, it can make configuring Webpack cumbersome and challenging to use. Over the years, I’ve written package managers, compilers, and bundlers, and I still find configuring Webpack to be messy and unintuitive.
-
-
engineering.mixmax.com engineering.mixmax.com
-
But this is only a halfway decent way to clarify that this is an external dependency, because the only way to resolve a peer dependency warning is to install react from npm—there's no way to notify npm that you resolve the dependency to a browser global. So peer dependencies should be avoided in favor of external declarations. Then Rollup will take care of warning about "unresolved dependencies", even if external declarations can't express a particular version range with which your library is compatible like peer dependencies can.
Interesting. Didn't realize. From my perspective, I usually do install packages via npm, so wouldn't have known about this problem.
npm and rollup both try to solve this problem but in different ways that apparently conflict? So if a lib author lists peerDependencies then it can cause problems for those getting lib via browser (CDN)? How come so many libs use it then? How come I've never heard of this problem before?
-
-
github.com github.com
-
Svelte will not offer a generic way to support style customizing via contextual class overrides (as we'd do it in plain HTML). Instead we'll invent something new that is entirely different. If a child component is provided and does not anticipate some contextual usage scenario (style wise) you'd need to copy it or hack around that via :global hacks.
-
Explicit interfaces are preferable, even if it places greater demand on library authors to design both their components and their style interfaces with these things in mind.
-
I think this is being rejected on grounds that are too arbitrary, and detract from what to me are the best things about Svelte -- it's fun and easy to use, and lets you write components in a way that's natural and expressive.
Tags
- easy to use
- being explicit
- expressiveness
- arbitrary
- ugly/kludgey
- forking to add a desired missing feature/change
- component/library author can't consider/know ahead of time all of the ways users may want to use it
- feels natural
- explicit interfaces
- fun
- arbitrary rules/policies
- forced to fork/copy and paste library code because it didn't provide enough customizability/extensibility / didn't foresee some specific prop/behavior that needed to be overridable/configurable (explicit interface)
- run-time dynamicness/generics vs. having to explicitly list/hard-code all options ahead of time
- workarounds
- Svelte: how to affect child component styles
- trying to prevent one bad thing leading to people doing/choosing an even worse option
- maintenance burden
- maintenance burden to explicitly define/enumerate/hard-code possible options (explicit interface)
- burden
Annotators
URL
-
-
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)
- powerful
- run-time dynamicness/generics vs. having to explicitly list/hard-code all options ahead of time
- Svelte: action (use:)
- flexibility
- why this feature is needed
- extensibility
- pass-through arguments/props/options
- component/library author can't consider/know ahead of time all of the ways users may want to use it
- reusability
- I didn't know you could do that / that was possible!
- emergent
Annotators
URL
-
-
github.com github.com
-
Your tooltip component will have to wrap your image with a span tag or something, it can’t just add events to its children. And if you are adding multiple actions to it you will have to wrap it multiple times.
<Concern1> <Concern2></Concern2> </Concern1>
vs.
<img use:concern1 use:concern2>
-
Lets not extend the framework with yet another syntax
-
Your LazyLoad image is now inextensible. What if you want to add a class? Perhaps the author of LazyLoad thought of that and sets className onto the <img>. But will the author consider everything? Perhaps if we get {...state} attributes.
-
I totally get not wanting to extend the syntax. I tried doing these things and in practice it was not easy or pretty. Actions provide a much cleaner and easier way to accomplish a certain set of functionality that would be much more difficult without it.
Tags
- feature not needed; better to use a different approach/feature instead
- scalability
- Svelte: action (use:)
- run-time dynamicness/generics vs. having to explicitly list/hard-code all options ahead of time
- why this feature is needed
- keep things simple
- avoid complexity
- programming: multiple ways to do the same thing
- inextensible
- extensibility
- component/library author can't consider/know ahead of time all of the ways users may want to use it
- library/framework could make this easier
- you aren't going to need it
- clean
- could be easier / more difficult than it needs to be
- just use/do...
- clean solution
- verbose
Annotators
URL
-
-
-
Why not just do something like this?
-
I'm still confused about the need for this, so at the expense of continuing to be that obnoxious kid at the playground, I'm going to stick my neck out again.
-
Devil's advocate: I'm not convinced the functionalities you list can't already be done within the JS of the component. Example: autofocus can simply be done w/ a method or oncreate.
-
I have created an action for form validation and its really working well
-
I'm just pushing on the "is this really a good idea" front
-
Drag and drop might be done better with hooks than components.
-
This can and should be done with other components, IMHO.
-
I'm a lot softer on this feature now - I'm starting to believe that every single use case that you would use a hook for, you could/should use a component for.
-
-
-
-
Any reason adding bind:foo to the <Outer/> element doesn't work for this case?
Tags
Annotators
URL
-
-
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.
-
-
psyarxiv.com psyarxiv.com
-
Tillman, G. (2020). Disordered Social Media Use and Fear of COVID-19 and the Association with Stress and Depression. https://doi.org/10.31234/osf.io/dbg62
-
-
github.com github.com
-
Svelte:element as proposed here would nicely fit my use case and avoid some otherwise pretty ugly conditions I'll need to bake into Lists.svelte.
-
Maybe good for some cases but not a general solution for this I think.
-
-
-
Your solution is a very basic. The case above is more complex because using your solution you can't manipulate with fetched data outside of template and even outside {#await / } tag. So, if you need a read-only solution it's good but otherwise, it won't help you.
-
-
-
The language should work for developers, not the other way around.
-
-
www.w3.org www.w3.org
-
GitHub Issues are preferred for discussion of this specification.
-
-
github.com github.com
-
The code is short and simple, if you have specific needs you will probably be better off writing something custom for your application.
-
-
-
Joyce, K. M., Cameron, E. E., Sulymka, J., Protudjer, J., & Roos, L. E. (2020). Changes in Maternal Substance Use During the COVID-19 Pandemic [Preprint]. PsyArXiv. https://doi.org/10.31234/osf.io/htny8
-
-
developer.mozilla.org developer.mozilla.org
-
async function onEdit() { editing = true // enter editing mode await tick() nameEl.focus() }
-
-
www.ncbi.nlm.nih.gov www.ncbi.nlm.nih.gov
-
Judah, G., Aunger, R., Schmidt, W.-P., Michie, S., Granger, S., & Curtis, V. (2009). Experimental Pretesting of Hand-Washing Interventions in a Natural Setting. American Journal of Public Health, 99(Suppl 2), S405–S411. https://doi.org/10.2105/AJPH.2009.164160
-
-
psyarxiv.com psyarxiv.com
-
Granderath, J. S., Sondermann, C., Martin, A., & Merkt, M. (2020). The Effect of Information Behavior in Media on Perceived and Actual Knowledge about the COVID-19 Pandemic. https://doi.org/10.31234/osf.io/3y874
-
- Aug 2020
-
psyarxiv.com psyarxiv.com
-
Usher, E., Golding, J. M., Han, J., Griffiths, C. S., McGavran, M. B., Brown, C. S., Sheehan, E. A. (2020). Psychology Students’ Motivation and Learning in Response to the Shift to Remote Instruction During COVID-19. [Preprint]. PsyArXiv. 10.31234/osf.io/xwhpm
-
-
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.
-
-
www.reuters.com www.reuters.com
-
Widespread mask-wearing could prevent COVID-19 second waves: Study. (2020, June 10). Reuters. https://www.reuters.com/article/us-health-coronavirus-masks-study-idUSKBN23G37V
-
-
english.stackexchange.com english.stackexchange.com
-
I don't doubt that we will soon treat the process of logging in as a figurative point of entry, meaning that log into will make full conceptual sense (cf you don't physically delve into a problem or pile into an argument, yet both are correct grammatically because they are semantically [i.e. figuratively])
-
-
www.newyorker.com www.newyorker.com
-
Romeo, N. (n.d.). What Can America Learn from Europe About Regulating Big Tech? The New Yorker. Retrieved August 19, 2020, from https://www.newyorker.com/tech/annals-of-technology/what-can-america-learn-from-europe-about-regulating-big-tech
-
-
docs.gitlab.com docs.gitlab.com
-
New information that would be useful toward the future usage or troubleshooting of GitLab should not be written directly in a forum or other messaging system, but added to a docs MR and then referenced, as described above.
-
When you encounter new information not available in GitLab’s documentation (for example, when working on a support case or testing a feature), your first step should be to create a merge request (MR) to add this information to the docs. You can then share the MR in order to communicate this information.
-
-
www.nber.org www.nber.org
-
Hamermesh, Daniel S. ‘Lock-Downs, Loneliness and Life Satisfaction’. Working Paper. Working Paper Series. National Bureau of Economic Research, April 2020. https://doi.org/10.3386/w27018.
-
-
certificates.creativecommons.org certificates.creativecommons.org
-
More information about limitations and exceptions to copyright
Under more information about limitations and exceptions to copyright add section titled Case Studies: Case studies provide valuable information relating to the state of affairs in various countries, as well as the opposing views when debating copyright issues.
- South Africa: a case study of politics and the global economics of limitations and exceptions to copyright. The current debate in South Africa regarding proposed amendments to the Copyright Bill allows showcases the different sides of the debate, and how legal frameworks, e.g. the Constitution of the Republic of South Africa also informs decision making.
- US Government Threatening To Kill Free Trade With South Africa After Hollywood Complained It Was Adopting American Fair Use Principles, by Mike Masnick, 4 November 2019.
- South Africa’s Copyright Amendment Bill – one year on, by Denise Nicholson, 30 March 2020. This work is licensed under a Creative Commons Attribution 4.0 International License.
- South Africa’s Copyright Amendment Bill Returned to Parliament for Further Consideration, Mike Palmedo, 22 June 2020. This work is licensed under a Creative Commons Attribution 4.0 International License.
- See the light and pass the Copyright Amendment Bill, by Mugwena Maluleke, Tebogo Sithathu, Jack Devnarain, Tusi Fokane, Ben Cashdan and Jace Nair, 24 June 2020. © Mail & Guardian Online.
- South African President’s Reservations to Copyright Bill Not Supported by Law, by Sean Flynn, 13 July 2020. This work is licensed under a Creative Commons Attribution 4.0 International License.
For a comprehensive list of materials relating to the South African Copyright Amendment Bill processes, see Copyright and Related Issues: USTR GSP trade threats re: Bill, list compiled and amended by Denis Nicholson
-
-
psyarxiv.com psyarxiv.com
-
Rezapour, T., Assari, S., Kirlic, N., Vassileva, J., & Ekhtiari, H. (2020). Enhancing Cognitive Resilience in Adolescence and Young Adults: A Neuroscience-informed Approach [Preprint]. PsyArXiv. https://doi.org/10.31234/osf.io/enrv9
-
- Jul 2020
-
amp.dev amp.dev
-
The above errors can be resolved by simply adding the ⚡attribute to the <html> tag like so: <html ⚡ lang="en">
-
-
edpb.europa.eu edpb.europa.eu
-
The controller informs customers that they havethe possibility to withdraw consent. To do this, they could contact a call centre on business daysbetween 8am and 5pm, free of charge. The controller in this example doesnotcomply with article 7(3)of the GDPR. Withdrawing consent in this case requires a telephone call during business hours, this ismore burdensome than the one mouse-click needed for giving consent through the online ticketvendor, which is open 24/7.
-
As mentioned earlier in these guidelines, it is very important that controllers assess the purposes forwhich data is actually processed and the lawful grounds on which it is based prior to collecting thedata. Often companies need personal data for several purposes, and the processing is based on morethan one lawful basis, e.g. customer data may be based on contract and consent. Hence, a withdrawalof consent does not mean a controller must erase data that are processed for a purpose that is basedon the performance of the contract with the data subject. Controllers should therefore be clear fromthe outset about which purpose applies to each element of data and which lawful basis is being reliedupon.
-
Also,mechanisms for data subjects to withdraw their consent easily must be available and informationabout how to withdraw consent must be provided.
-
-
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.
-
-
stackoverflow.com stackoverflow.com
-
Ultimately though, I'd say the file structure that makes the most sense for your i18n workflow is the best one.
-
-
en.wikipedia.org en.wikipedia.org
-
bugs.ruby-lang.org bugs.ruby-lang.org
-
So, which is better? t.inspect # => "2007-11-01 15:25:00 8483885939586761/68719476736000000 UTC" t.inspect # => "2007-11-01 15:25:00.123456789000000004307366907596588134765625 UTC"
-
-
www.youtube.com www.youtube.com
-
UCLA Connections—How is the global health crisis impacting alcohol habits/instances of addiction? (2020, May 20). UCLA. https://www.youtube.com/watch?v=t9bW2YnLrDY
-
-
osf.io osf.io
-
Mishra, S. V. (2020). COVID-19, online teaching, and deepening digital divide in India [Preprint]. SocArXiv. https://doi.org/10.31235/osf.io/wzrak
-
-
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.
-
-
en.wikipedia.org en.wikipedia.org
-
the overloaded operators ¬, =, ≠, and abs are defined
-
-
en.wikipedia.org en.wikipedia.org
-
Most of Algol's "special" characters (⊂, ≡, ␣, ×, ÷, ≤, ≥, ≠, ¬, ⊃, ≡, ∨, ∧, →, ↓, ↑, ⌊, ⌈, ⎩, ⎧, ⊥, ⏨, ¢, ○ and □) can be found on the IBM 2741 keyboard with the APL "golf-ball" print head inserted; these became available in the mid-1960s while ALGOL 68 was being drafted. These characters are also part of the Unicode standard and most of them are available in several popular fonts.
-
-
twitter.com twitter.com
-
Nathan Young on Twitter: “I refuse to subscribe to every newpaper that I read 3 articles from a month. I’m subscribed to @Blendle @Coil and @Medium for content that I pay per use. If news orgs want my money, let me pay only for what I use.” / Twitter. (n.d.). Twitter. Retrieved July 7, 2020, from https://twitter.com/nathanpmyoung/status/1280080625689669632
-
-
psyarxiv.com psyarxiv.com
-
Chatterjee, A., & Chatterjee, A. (2020). Managing through uncertain times: A study to understand the effects of conducting socio-academic life online during COVID-19. https://doi.org/10.31234/osf.io/vcbrw
-
-
idioms.thefreedictionary.com idioms.thefreedictionary.com
-
By extension, a situation in which problems continue to arise faster than one is able to solve or cope with them, resulting in piecemeal, incomplete, or temporary results.
-
- Jun 2020
-
medium.com medium.com
-
According to our understanding of the inconsistencies, the feature was likely trying to support too many edge cases. All caching strategies have weaknesses and eventually break down if the usage is not properly scoped.
-
-
www.pscp.tv www.pscp.tvWho @WHO1
-
Inc, T. (n.d.). Who @WHO. Periscope. Retrieved June 9, 2020, from https://www.pscp.tv/WHO/1mnGelyEyOqKX
Tags
Annotators
URL
-
-
psyarxiv.com psyarxiv.com
-
Xuereb, S., Kim, H. S., Clark, L., & Wohl, M. (2020). Substitution behaviors among casino gamblers during COVID-19 precipitated casino closures. https://doi.org/10.31234/osf.io/fvnmb
-
-
medium.com medium.com
-
State management is also easier. Instead of importing hooks and using setters, you just define a property within the script tags. You then change the value by re-assigning it (not mutating the original value).
-
But it’s impossible to argue with the value binding. You don’t have to worry about defining the value property and an onChange event for an input box in Svelte, bind:value does it all
-
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.
-
-
notes.peter-baumgartner.net notes.peter-baumgartner.net
-
But it has as an external service several disadvantages which opposed the philosophy of static websites diametrically.
-
-
stackoverflow.com stackoverflow.com
-
gist.github.com gist.github.com
-
discuss.rubyonrails.org discuss.rubyonrails.org
-
discuss.rubyonrails.org discuss.rubyonrails.org
-
rails.lighthouseapp.com rails.lighthouseapp.com
-
I ran in to what I thought was this issue, but I was using fragment caching. Since the partial was not executed again, the content_for was not called. content_for could be written differently to handle this.
-
-
gist.github.com gist.github.com
-
Supports nested 'cache do' blocks and some fixes
-
-
rails.lighthouseapp.com rails.lighthouseapp.com
-
stackoverflow.com stackoverflow.com
-
signal.org signal.org
-
Bad people will always be motivated to go the extra mile to do bad things.
-
Meanwhile, criminals would just continue to use widely available (but less convenient) software to jump through hoops and keep having encrypted conversations.
-
-
-
All Telegram apps are open sourced and the company itself is not for profit, however, their backend is not open source which has raised some eyebrows.
-
- May 2020
-
docs.gitlab.com docs.gitlab.com
-
You want to execute SSH commands from the build environment to a remote server You want to rsync files from the build environment to a remote server If anything of the above rings a bell, then you most likely need an SSH key.
Tags
Annotators
URL
-
-
www.digital-democracy.org www.digital-democracy.org
-
By putting our data in the corporate cloud, we are that kid. We are giving corporations and governments a way to see where we are looking towards, and they can predict our future and decide whether and how to intervene or subvert.
-
From a game theoretic standpoint, we’ve already lost. Too many of our civil society adversaries have too much of our data, and we have so little of theirs.
-
-
-
Nigam, S. (2020). COVID-19: INDIA’S RESPONSE TO DOMESTIC VIOLENCE NEEDS RETHINKING. https://doi.org/10.31234/osf.io/4bpny
-
-
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.civicuk.com www.civicuk.com
-
With a recognisable, ever present icon, user's can easily manage their consent at any time.
-
-
www.termsfeed.com www.termsfeed.com
-
One of the GDPR's principles of data processing is storage limitation. You must not store personal data for longer than you need it in connection with a specified purpose.
-
-
www.iubenda.com www.iubenda.com
-
they are processed by a natural person in the course of a purely personal or household activity. Practically speaking, the only relevant exception is the latter: for instance, if you collect your friends’ personal data for your own personal phone-book you’re not bound to the GDPR.
-
-
-
That’s because the Google Translate extension uses some internal Google-only APIs (Mozilla also does the same thing).
-
-
-
What's terrible and dangerous is a faceless organization deciding to arbitrarily and silently control what I can and can not do with my browser on my computer. Orwell is screaming in his grave right now. This is no different than Mozilla deciding I don't get to visit Tulsi Gabbard's webpage because they don't like her politics, or I don't get to order car parts off amazon because they don't like hyundai, or I don't get to download mods for minecraft, or talk to certain people on facebook.
-
They don't have to host the extension on their website, but it's absolutely and utterly unacceptable for them to interfere with me choosing to come to github and install it.
-
I appreciate the vigilance, but it would be even better to actually publish a technical reasoning for why do you folks believe Firefox is above the device owner, and the root user, and why there should be no possibility through any means and configuration protections to enable users to run their own code in the release version of Firefox.
Tags
- software freedom
- Orwellian
- good point
- empowering people
- bypassing technical constraints
- censorship
- digital rights
- the owner of a device/computer should have freedom to use it however they wish
- empowering individual users
- balance of power
- allowing security constraints to be bypassed by users
Annotators
URL
-
-
github.com github.com
-
Apparently Firefox does have translation built-in, it's just not enabled due to lack of usage agreement / API keys. https://hg.mozilla.org/mozilla-central/rev/a3eb8e502006
-
Thank you for letting me know about this move by Google. Definitely something to watch. While I agree with Google's position from an end user experience perspective, it unfortunately puts Firefox at a further disadvantage since Mozilla does not have its own language translation initiatives.
-
-
bugzilla.mozilla.org bugzilla.mozilla.org
-
stackoverflow.com stackoverflow.com
-
Whether it's "better" for your implementation is up for you to decide.
-
- Apr 2020
-
stackoverflow.com stackoverflow.com
-
www.merriam-webster.com www.merriam-webster.com
-
Marginalize provides a striking case of how thoroughly the figurative use of a word can take over the literal one.
-
-
stackoverflow.com stackoverflow.com
-
Less than 1% of users in the world have Javascript turned off. So honestly, it's not worth anyones time accommodating for such a small audience when a large majority of websites rely on Javascript. Been developing websites for a very long time now, and 100% of my sites use Javascript and rely on it heavily. If users have Javascript turned off, that's their own problem and choice, not mine. They'll be unable to visit or use at least 90% of websites online with it turned off.
-
-
github.com github.com
-
I don't think this is a common enough use case to warrant this change (which would need documentation and tests if it were to be accepted). Overall, the goal has been to simplify the validators, and prune out edge cases. This use case can be easily accomplished by just using a method instead.
-
-
www.troyhunt.com www.troyhunt.com
-
As such, they're not in clear text and whilst I appreciate that will mean some use cases aren't feasible, protecting the individuals still using these passwords is the first priority.
-
-
github.com github.com
-
There is a forum for discussing CommonMark; you should use it instead of github issues for questions and possibly open-ended discussions. Use the github issue tracker only for simple, clear, actionable issues.
-
-
certificates.creativecommons.org certificates.creativecommons.org
-
This is a comic book about intellectual property law and the public domain: https://law.duke.edu/cspd/comics/digital/.
A well-designed graphic novel/comic book with a narrative that dives into intellectual property and IP law. An excellent introduction to copyright, illustrating use-cases throughout. Thought-provoking and entertaining reading on fair use and public domain.
-
-
www.codementor.io www.codementor.io
-
no need to learn a new framework it's just Ruby's syntax + new methods and actually that's one of the reasons Google invented a simple and stupid language called Golang instead of a magical one to prevent developers from doing magic and just shipping features instead of playing with DSLs.
-
-
www.apa.org www.apa.org
-
Speaking of Psychology: Managing Your Mental Health During COVID-19 with Lynn Bufka, PhD. (n.d.). Https://Www.Apa.Org. Retrieved April 9, 2020, from https://www.apa.org/research/action/speaking-of-psychology/covid-19-mental-health
-
-
gavinmiller.io gavinmiller.io
-
You see entropy is information leaking. When it comes to passwords (and secure systems in general) you want to leak as little information as possible. Otherwise an attacker has information they can use to their advantage.
-
-
www.csoonline.com www.csoonline.com
-
Download the billions of breached passwords and blacklist them all. Attackers have a copy; so should you.
-
-
blog.1password.com blog.1password.com
-
This isn’t the first time Kerckhoffs’ Principle has come up. I specifically discussed it when talking about creating good, strong Master Passwords, when I said that we should use a system for coming up with Master Passwords that doesn’t lose its strength if the attacker knows the system that we used
-
Kerckhoffs’ Principle states that you should assume that your adversary knows as much about the system you use as you do. This is why – despite what I may have said on April Fools Day last year – security experts are skeptical of security systems that hide the details of how they operate. They are particularly skeptical of systems that derive their security from keeping the details of how they work secret. I could go on at great length about why openness about the system improves security. Indeed, my first draft of this article did go on at great length.
-
-
en.wikipedia.org en.wikipedia.org
-
"the enemy knows the system"
-
"one ought to design systems under the assumption that the enemy will immediately gain full familiarity with them"
-
-
english.stackexchange.com english.stackexchange.com
-
Now, if we think of the tasks that we perform throughout the day as consuming separate "bands" of time, then the term makes perfect sense. Being "out of bandwidth" would indicate that you do not have enough unallocated "bands of time" in your day to complete the task. Using the term bandwidth to describe time maps more closely (in my opinion) to the original definition, than the current definition describing data capacity does.
-
I may be living in a bubble, but my impression is that don't understand that figurative use of bandwidth are way out of the loop.
-
-
www.cnet.com www.cnet.com
-
Well, as a home user, I also belong to an investment club with 10 members. I also have a medium size family who I like to send photo's to, and my son is on a soccer team. all those have greater than 5 people on the list. sooooooooo..... once again, the people with valid use of the internet have to 'deal' with those that abuse it.
-
-
haveibeenpwned.com haveibeenpwned.com
-
How does HIBP handle "plus aliasing" in email addresses? Some people choose to create accounts using a pattern known as "plus aliasing" in their email addresses. This allows them to express their email address with an additional piece of data in the alias, usually reflecting the site they've signed up to such as test+netflix@example.com or test+amazon@example.com. There is presently a UserVoice suggestion requesting support of this pattern in HIBP. However, as explained in that suggestion, usage of plus aliasing is extremely rare, appearing in approximately only 0.03% of addresses loaded into HIBP. Vote for the suggestion and follow its progress if this feature is important to you.
Tags
Annotators
URL
-
-
docs.seattlerb.org docs.seattlerb.org
-
minitest doesn't reinvent anything that ruby already provides, like: classes, modules, inheritance, methods. This means you only have to learn ruby to use minitest and all of your regular OO practices like extract-method refactorings still apply.
-
-
github.com github.com
-
Maybe you could provide a patch with tests and we could discuss on top of it?
-
-
time.com time.com
-
A more influential celebrity post, perhaps, would glorify the simple, unsexy practice of handwashing.
-
- Mar 2020
-
matomo.org matomo.org
-
the privacy of your users is respected
-
The relationship is between the website owner (you) and the visitor, with no external sources looking in
-
-
matomo.org matomo.org
-
With Matomo, the philosophy around data ownership is simple, you own your data, no one else.
-
-
www.linkedin.com www.linkedin.com
-
We long ago admitted that we’re poor at scheduling, so we have roosters; sundials; calendars; clocks; sand timers; and those restaurant staff who question my integrity, interrupting me with a phone call under the premise of “confirming” that I’ll stick to my word regarding my reservation.
-
A closely-related failing to scheduling is our failure to remember, so humans are very willing to save information on their computers for later.
-
-
www.quora.com www.quora.com
-
Robots are currently suffering extreme discrimination due to a few false assumptions, mainly that they’re distinctly separate actors from humans. My point of view is that robots and humans often need to behave in the same way, so it’s a fruitless and pointless endeavour to try distinguishing them.
-
As technology improves, humans keep integrating these extra abilities into our cyborg selves
-
-
github.com github.com
-
Don't be discouraged when you get feedback about a method that isn't all sunshine and roses. Facets has been around long enough now that it needs to maintain a certain degree of quality control, and that means serious discernment about what goes into the library. That includes having in depth discussions the merits of methods, even about the best name for a method --even if the functionality has been accepted the name may not.
about: merits
-
-
techcrunch.com techcrunch.com
-
it’s clear they’ll vote with their clicks not to be ad-stalked around the Internet too
-
- Feb 2020
-
about.gitlab.com about.gitlab.com
-
When we go back and forth three times, we jump on a synchronous video call.
-
it is worth opening a merge request with the minimal viable change instead of opening an issue encouraging open feedback on the problem without proposing any specific change directly.
-
-
about.gitlab.com about.gitlab.com
-
Use the simplest and most boring solution for a problem, and remember that “boring” should not be conflated with “bad” or “technical debt.” The speed of innovation for our organization and product is constrained by the total complexity we have added so far, so every little reduction in complexity helps. Don’t pick an interesting technology just to make your work more fun; using established, popular tech will ensure a more stable and more familiar experience for you and other contributors.
-
-
loadimpact.com loadimpact.com
-
Hence why we built k6, the load testing tool we’ve always wanted ourselves!
-
-
marxdown.github.io marxdown.github.io
-
The coat is a use value that satisfies a particular want
Marx: "Yesterday I pawned a coat dating back to my Liverpool days in order to buy writing paper" (Karl Marx and Frederick Engels, Collected Works, vol. 38 [1852-55]: 221).
On the significance of Marx's coat, see Peter Stallybrass, “Marx’s Coat,” in Border Fetishisms: Material Objects in Unstable Spaces, ed. Patricia Spyer (New York: Routledge, 1998): 183–207. [PDF].
-
Section 1. The Two Factors of a Commodity, Use-Value and Value
Marx's analysis of a capitalist system begins by postulating that it's fundamentally composed of units called commodities.
In the capitalist system commodities have two features.
1. They are produced
2. They are produced by capitalists
Capitalists produce commodities by employing workers to produce them.
In this section, Marx begins his analysis of the first feature of the capitalist system (viz. that it is commodity producing). Workers and capitalists will not appear in Marx's analysis for several more chapters.
-
A commodity, such as iron, corn, or a diamond, is therefore, so far as it is a material thing, a use value, something useful
What commodities are thought to be useful for or not is irrelevant to Marx at this very early stage of his analysis, even from a moral point of view. Diamonds satisfy a need in some societies at specific times and places the same as corn or iron.
-
- Jan 2020
-
www.educationworld.com www.educationworld.com
-
The fair use doctrine was created to allow the use of copyrighted works for criticism and commentary, parody, news reporting, research and scholarship, and classroom instruction.
Definition
- criticism
- commentary
- parody
- news reporting
- research and scholarship
- classroom instruction
Tags
Annotators
URL
-
- Dec 2019
-
plaintext-productivity.net plaintext-productivity.net
-
I have concluded that all these systems are cumbersome and onerous in some ways, more concerned with design than functionality, and more concerned with ease-of-use than speed and efficiency.
-
-
www.kickstarter.com www.kickstarter.comLegacies1
-
when you choose your character, you choose to be aboveboard or underhanded. That is brilliant! ... It creates a much more wide-open and inviting experience.
-
-
github.com github.com
-
ΛLIΛ
-
- 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
-
legacy.reactjs.org legacy.reactjs.org
-
Since an uncontrolled component keeps the source of truth in the DOM, it is sometimes easier to integrate React and non-React code when using uncontrolled components.
A good example for when to use uncontrolled components
-
- Oct 2019
-
journals.sagepub.com journals.sagepub.com
-
Differential Effects of Capital-Enhancing and Recreational Internet Use on Citizens’ Demand for Democracy
-
-
github.com github.com
-
However, if more control is needed, you can pass any of these pieces of state as a prop (as indicated above) and that state becomes controlled. As soon as this.props[statePropKey] !== undefined, internally, downshift will determine its state based on your prop's value rather than its own internal state.
-
refKey: if you're rendering a composite component, that component will need to accept a prop which it forwards to the root DOM element. Commonly, folks call this innerRef. So you'd call: getRootProps({refKey: 'innerRef'}) and your composite component would forward like: <div ref={props.innerRef} />
-
-
github.com github.com
-
github.com github.com
Tags
Annotators
URL
-
- Aug 2019
-
gitlab.com gitlab.com
-
For every question you might have, please create a discussion thread, not a single comment. This makes it a bit easier to see and reply to the question, instead of questions and answers getting mixed together:
-
-
stackoverflow.com stackoverflow.com
-
But what about useState? it used whenever we have some variable that whenever it changes, we want to re-render our component and show some new contents.
-
-
stackoverflow.com stackoverflow.com
-
Is it because package authors only consider the use case of installing their package from npm and not the case of installing it from a git repo?
-
-
www.robinwieruch.de www.robinwieruch.de
-
What I UseThe following is a selection of my tools that I use for my professional work.
-
-
certificates.creativecommons.org certificates.creativecommons.org
-
http://librarycopyright.net/resources/fairuse/index.php
This tool was helpful for further exploration of Fair Use concepts in Unit 2, but felt too subjective for my liking. I prefer this Fair Use Checklist created by Kenneth D. Crews, the author who wrote the book Copyright Law for Librarians and Educators. I reference this book often and like his straightforward “check the box” to visually show whether use is in favor or opposing fair use.
-
-
www.smashingmagazine.com www.smashingmagazine.com
-
Designers can group related fields into sections. If your form has more than six questions, group related questions into logical sections. Don’t forget to provide a good amount of white space between sections to distinguish them visually.Generally, if your form has more than six questions, it’s better to group related questions into logical sections. Put things together that make sense together. (Large preview)
-
- Jun 2019
-
docs.ethhub.io docs.ethhub.io
-
Built on Ethereum
Great resource for blockchain use cases
-
- Apr 2019
-
-
The consensus reception holds that the visual composition of the structures lack a unified voice due to the heavy handedness of the individual star-architects who were commissioned to design its various structures.Most critics write from the lens of art criticism and therefor focus on the aesthetics of structures as though they were sculptures in a museum. For decades, critics from this tradition have failed to understand or assimilate the principles of urban design that make cities vibrant and walkable.
This struck me as very interesting, as it frames the article as a rejection of accepted criticism of many respected voices in the field. Instead, the author conducts a potential use study of the space for future users, from the perspective of walkability. It is written not for other scholars of the field but for a general audience, New Yorkers in particular.
-
- Mar 2019
-
www.messiah.edu www.messiah.edu
-
For this factor... It is more likely to be fair use if... It is less likely to be fair use if...
Pay close attention to the criteria for Fair Use (check out the evaluation tool at the bottom)
-
-
www.copyright.gov www.copyright.gov
-
US government copyright website section on Fair Use
-
-
en.wikipedia.org en.wikipedia.org
-
Fair Use explains exceptions to copyright for specific uses, including education.
-