- Feb 2021
-
github.com github.com
-
class FormsController < ApplicationController class SearchForm < ActiveModel::Form
I kind of like how they put the form class nested directly inside the controller, although I would probably put it in its own file myself, unless it was quite trivial.
-
-
github.com github.com
-
The assert method is used by all the other assertions. It pushes the second parameter to the list of errors if the first parameter evaluates to false or nil.
Seems like these helper functions could be just as easily used in ActiveRecord models. Therefore, they should be in a separate gem, or at least module, that can be used in both these objects and ActiveRecord objects.
-
-
www.infoworld.com www.infoworld.com
-
Some people believed I argued that object orientation is bad simply because extends has problems, as if the two concepts are equivalent. That's certainly not what I thought I said, so let me clarify some meta-issues.
first sighting: meta-issue 
-
-
davefleet.com davefleet.com
-
If you think you’ve conveyed something but the other person hears something completely different, is that their fault or yours?
-
From my perspective the onus is on you to consider not just the words coming out of your mouth, but how they are received.
-
Everyone has their own background and context that they overlay on top of what they hear. It’s our jobs as communicators to consider that perspective and to adjust the way we communicate accordingly. If we do, we stand a better chance of persuading them to agree with our point of view.
-
-
-
www.velaction.com www.velaction.com
-
People often hear what they think should be said, not the words that are actually spoken. This comes from the tendency of people to think faster than they talk. A listener makes assumptions about what they expect because their minds race ahead. This can be especially problematic when you misinterpret what your boss said.
-
-
softwareengineering.stackexchange.com softwareengineering.stackexchange.com
-
My understanding of "programming to an interface" is different than what the question or the other answers suggest. Which is not to say that my understanding is correct, or that the things in the other answers aren't good ideas, just that they're not what I think of when I hear that term.
-
-
emaildesign.beefree.io emaildesign.beefree.io
-
We got this email from Parabo, the print shop app, and smiled. Instead of the very standard “Please confirm subscription” header text, we were greeted with a funny, whimsical hello that’s totally in their brand voice. “We really want you to want us” is a clever way to break up the usual mundane greeting, and, guess what? It totally reaffirmed why we thought we wanted to sign up for their emails in the first place.
-
-
www.sitepoint.com www.sitepoint.com
-
They are a nice idea, but in practice
-
-
www.honeybadger.io www.honeybadger.io
-
-
When people try to port traditional web apps to Turbolinks, they often run into problems because their JS never cleans up after itself.
-
we plan to migrate to Angular 1, and we'll finish out the decade on React
Wrong direction: I'd recommend migrate from Angular to React.
-
-
support.system76.com support.system76.com
-
Switching to Pop!_OS From Apple If you are coming from Apple’s operating system using Pop!_OS for the first time, we can help make the transition smoother.
-
Switching to Ubuntu from Apple If you are coming from Apple’s operating system and just using Ubuntu for the first time, we can help make the transition a little smoother.
-
-
stackoverflow.com stackoverflow.com
-
many a tech manager has siezed on them as a solution to many problems. In fact, they create more.
-
- Jan 2021
-
-
If components gain the slot attribute, then it would be possible to implement the proposed behavior of <svelte:fragment /> by creating a component that has a default slot with out any wrappers. However, I think it's still a good idea to add <svelte:fragment /> so everyone who encounters this common use case doesn't have to come up with their own slightly different solutions.
-
-
discourse.ubuntu.com discourse.ubuntu.com
-
« Half solved » because, hey, still it’s proprietary so who knows ? You have to trust the software editor then, it’s just moving the trust cursor.
-
If folks want to get together and create a snap-free remix, you are welcome to do so. Ubuntu thrives on such contribution and leadership by community members. Do be aware that you will be retreading territory that Ubuntu developers trod in 2010-14, and that you will encounter some of the same issues that led them to embrace snap-based solutions. Perhaps your solutions will be different. .debs are not perfect, snaps are not perfect. Each have advantages and disadvantages. Ubuntu tries to use the strengths of both.
-
The “no-snaps” ship already sailed years ago…you folks missed that boat. It’s too late to wish for a return to the past. Snaps in Ubuntu have been happening for years already, and will continue regardless of any opinions expressed here.
Tags
- advantages/merits/pros
- Snap
- already already decided what they like/prefer (preferences/favorites/winners)
- trust
- moving/changing in a different direction than users want
- forking: you can always fork it if you want
- too late
- moving/shifting the problem (to a different area/place)
- trust/reliance/dependence on third party
- shift in preference
- momentum/inertia
- disadvantages/drawbacks/cons
- already already
Annotators
URL
-
-
www.addictivetips.com www.addictivetips.com
-
If you’re not a huge fan of Snap packages, but love using Ubuntu, this guide is for you. In it, we’ll go over how you can remove Snap from your Ubuntu system and make it so that your system will no longer have access to the Snap store or anything like that.
-
- Dec 2020
-
github.com github.com
-
This was implemented (completely differently to anything discussed in this issue) in #642.
-
-
github.com github.com
-
It's true that Svelte does not allow you to map over children like React, but its slot API and <svelte:component> provide similarly powerful composition. You can pass component constructors as props and instantiate them with <svelte:component>, and use slots and their let bindings for higher order composition. It sounds like you're thinking in virtual DOM idioms instead of Svelte's.
-
However, Svelte isn't React or Vue or any other framework, the same approach will not always work and given that Svelte has very different constraints and approach that works well in another framework is not suitable with Svelte. Trying to apply approaches use with other frameworks to Svelte will invariably end in frustration.
-
-
www.quora.com www.quora.com
-
Each area requires specific learning and thinking in a certain way. Front-end is user centric, back-end is closer to algorithms and parallel programming, databases require thinking in streams of data based on a model (similar to set theory and model checking).
-
- Nov 2020
-
www.reddit.com www.reddit.com
-
Others have already said how Flutter renders inside a canvas and how it's difficult/impossible for it to interact with other JS libraries (and why would you want to... the whole thing is so different that even the issues are solved by completely different libraries).
-
-
github.com github.com
-
If you continue to have trouble though, feel free to open a new issue so we can keep this one focused on the theme color palette documentation problem. 1 Pick your reaction
-
-
hackernoon.com hackernoon.com
-
Programmers working in different kinds of programming languages often come up with radically different solutions to problems.
-
-
github.com github.com
-
Those frameworks are used in a similar fashion, but conceptually use quite different approaches (Vue is a more traditional one, a library, and Svelte is a "dissapearing framework").
interesting wording: Svelte is a "disappearing framework".
-
-
material.io material.io
-
Depending on your needs, you can use the Simple Approach: Wrapping MDC Web Vanilla Components, or the Advanced Approach: Using Foundations and Adapters.
-
-
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.
-
-
greenelab.github.io greenelab.github.io
-
IL-1β is anti-inflammatory
maybe some error here, IL-1beta is considered inflammatory, as far as I know https://en.wikipedia.org/wiki/Interleukin_1_beta
-
-
en.wikipedia.org en.wikipedia.org
-
The meaning of the word "modularity" can vary somewhat based on context. The following are contextual examples of modularity across several fields of science, technology, industry, and culture:
-
-
-
github.com github.com
-
Thanks for the PR @RedHatter. I think it's important to be able to specify which warnings are being disabled, and I'm nervous about the use of the code frame for this sort of thing (feels brittle), so I've opened a new PR, #3351. Will close this in favour of that
-
- Oct 2020
-
meta.stackoverflow.com meta.stackoverflow.com
-
Looking at all those bearing, heading, orientation, navigation, position, direction, etc. I think we have a bigger problem here. Someone has decided how to use tag (e.g. orientation is about page orientation), but there are 100 other cases. Imho, to disallow misusing there should be no "heading", but rather "html-heading", "gps-heading", "whatelse-heading", which make mistakes impossible. So yes, "heading" should go.
-
-
stackoverflow.com stackoverflow.com
-
Library author here. I'm always fascinated by new ways people can invalidate my assumptions. I mean that in a sincerely positive way, as it results in learning.
Tags
- different way of thinking about something
- surprising
- assumptions
- learning from others
- they've thought of everything
- invalidating one's assumptions
- not considering all use cases
- testing/challenging one's assumptions (either validating or invalidating them)
- author of software answering questions in community (support)
- can't support everything / all cases
- sincere
- not:
Annotators
URL
-
-
-
This is a philosophical issue, I think. People (and presumably form libraries) have different definitions of what "dirty" means. Yours: "The field has ever been edited" Mine: "The value of the field is different from the initial value"
-
-
en.wikipedia.org en.wikipedia.org
-
An Euler diagram (/ˈɔɪlər/, OY-lər) is a diagrammatic means of representing sets and their relationships. They are particularly useful for explaining complex hierarchies and overlapping definitions. They are similar to another set diagramming technique, Venn diagrams. Unlike Venn diagrams, which show all possible relations between different sets, the Euler diagram shows only relevant relationships.
-
-
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.
-
-
ponyfoo.com ponyfoo.comPony Foo1
-
A ponyfill is almost the same as a polyfill, but not quite. Instead of patching functionality for older browsers, a ponyfill provides that functionality as a standalone module you can use.
-
-
stackoverflow.com stackoverflow.com
-
that a better and cleaner approach would be to use computed properties and a validation library that is decoupled for the UI (like hapi/joi).
-
-
www.npmjs.com www.npmjs.comhyperx1
-
This module is similar to JSX, but provided as a standards-compliant ES6 tagged template string function.
-
-
en.wikipedia.org en.wikipedia.org
-
BitTorrent is a peer-to-peer (P2P) communications protocol for file sharing. It may also refer to: BitTorrent (company), a company which develops and maintains the BitTorrent protocol BitTorrent (software), the original BitTorrent client
-
-
www.merriam-webster.com www.merriam-webster.com
-
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
-
-
medium.com medium.com
-
I know that it is the matter of taste and a debatable thing, I find JSX and regular javascript flow operators a lot more readable than any sort of {#blocks} and directives.
-
Svelte chooses a reverse approach.
-
-
docs.google.com docs.google.com
-
But it’s really hard to see, because our human brains struggle to think about this Clock function as something for generating discrete snapshots of a clock, instead of representing a persistent thing that changes over time.
-
-
tech.ebayinc.com tech.ebayinc.com
-
And as an aside, I’m definitely in favor of more debates than sessions in future conferences, since we actually learn more by hearing multiple viewpoints.
-
-
-
About the argument against it, "{@const will make code less consistent ": I think the same is true now, since people can come up with very different ways of dealing with the "computed value inside each loop/if function" problem. Some extract components, some use functions, some will prepare the array differently beforehand.
-
it also allows for more divergence in how people write there code and where they put their logic, making different svelte codebases potentially even more different due to fewer constraints. This last point is actually something I really value, I read a lot of Svelte code by a lot of different people and broadly speaking things look the same and are in the same places.
Tags
- software development: code organization: where does this code belong?
- strong conventions resulting in code from different code bases/developers looking very similar
- Svelte: @const
- idiomatic code style (programming languages)
- programming: multiple ways to do the same thing
- convention
- good point
- uniformity
- idiomatic pattern (in library/framework)
- different way of solving/implementing something
- consistency
Annotators
URL
-
-
en.wikipedia.org en.wikipedia.org
-
encapsulation refers to one of two related but distinct notions, and sometimes to the combination thereof:[3][4] A language mechanism for restricting direct access to some of the object's components.[5][6] A language construct that facilitates the bundling of data with the methods (or other functions) operating on that data.[1][7]
-
-
github.com github.com
-
Svelte doesn't re-render, so you need to respond to component mount/dismount and prop changes separately as they are distinct concepts and never tied together, unlike in React.
Tags
- different way of thinking about something
- lifecycle callbacks
- UI library: reacting to prop changes
- distinction
- trying to doing things the same way you did in a different library/framework (learning new way of thinking about something / overcoming habits/patterns/paradigms you are accustomed to)
Annotators
URL
-
-
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”).
-
However, especially when starting out, it’s very easy to fall into the “this is how I did things in my previous framework” trap.
Tags
- different way of thinking about something
- trying to doing things the same way you did in a different library/framework (learning new way of thinking about something / overcoming habits/patterns/paradigms you are accustomed to)
- overcoming preconceived opinions
- Svelte: action (use:)
- paradigm shift
- getting a fresh perspective
- Svelte
Annotators
URL
-
-
-
Over time Adam, Surplus' creator, had less and less time to spend on the project and I decided to take my own shot.
-
difference in our trajectories
-
-
-
In contrast, React apps shun templates and require the developer to create their DOM in Javascript, typically aided with JSX.
-
- Sep 2020
-
medium.com medium.com
-
While Webpack is focused on using CommonJS as its primary module system and converting everything to that, Rollup decided to take the opposite approach — focusing on ES Modules instead.
-
-
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
-
You may also use a regular expression for include that works regardless of base path.
-
-
codingwithspike.wordpress.com codingwithspike.wordpress.com
-
So how do we deal with this in a sane way, especially when as a package maintainer, you don’t know if someone using your package will be on NPM2 or 3?
-
-
medium.com medium.com
-
I think I know why: it’s because the small modules philosophy favours library authors (like Sindre) at the ultimate expense of library users.
-
-
github.com github.com
-
Lets not extend the framework with yet another syntax
-
-
-
<LazyLoad component="img" data-src="giant-photo.jpg" class="my-cool-image" />
-
<LazyLoad> <img data-src='giant-photo.jpg'/> </LazyLoad>
-
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'm just pushing on the "is this really a good idea" front
-
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.
-
-
stackoverflow.com stackoverflow.com
-
or (again, matter of preference)
-
-
docs.google.com docs.google.com
-
I’ve seen some version of this conversation happen more times than I can remember. And someone will always say ‘it’s because you’re too used to thinking in the old way, you just need to start thinking in hooks’.
But after seeing a lot of really bad hooks code, I’m starting to think it’s not that simple — that there’s something deeper going on.
-
By the way, stuff like this is why I can’t quit Twitter even though I’d like to — we get to witness, and be part of, conversations like these between world-class programmers like Yehuda and Sebastian. It’s pretty cool!
-
-
codechips.me codechips.me
-
Form validation is hard. That's why there are so many different form handling libraries for the popular web frameworks. It's usually not something that is built-it, because everyone has a different need and there is no one-fit-all solution.
-
- Aug 2020
-
meta.stackexchange.com meta.stackexchange.com
-
Can't upvote this enough. It is highly irritating to see language destroyed (and we wonder why kids bastardize the language..).
Tags
- combating widespread incorrectness/misconception by consistently doing it correctly
- even if majority makes a mistake; it doesn't make it correct
- example of: using incorrect terms
- hoping/trying to convince others that your view/opinion/way is right by consistently sticking to it despite many being ignorant/mistaken/unaware/holding different opinion
- correctness
Annotators
URL
-
-
-
en.wikipedia.org en.wikipedia.org
-
In graph theory, a tree is a connected acyclic graph; unless stated otherwise, in graph theory trees and graphs are assumed undirected. There is no one-to-one correspondence between such trees and trees as data structure.
-
- Jul 2020
-
injury.findlaw.com injury.findlaw.com
-
Defamation law walks a fine line between the right to freedom of speech and the right of a person to avoid defamation. On one hand, a reasonable person should have free speech to talk about their experiences in a truthful manner without fear of a lawsuit if they say something mean, but true, about someone else. On the other hand, people have a right to not have false statements made that will damage their reputation.
-
-
-
The carefully crafted Medium story can give the appearance that- at the nadir of your professional life- you are above it all, you are concerned about others, and you are a soulful human being moving on to an even more lucrative future.
-
- Jun 2020
-
www.amazon.com www.amazon.com
-
I could get a lot more done in an 8-9 hour day with a PC and a desk phone than I get done now in a 9-10 hour day with a laptop /tablet / smartphone, which should allow me to be more a lot more productive but just interrupt me. I don't want the mobile flexibility to work anywhere. It sucked in management roles doing a full day then having dinner with friends and family then getting back to unfinished calls and mails. I much prefer to work later then switch off totally at home.
-
-
grammarist.com grammarist.com
-
In a rare show of solidarity, both British English and American English spell advertise with an s in all forms.
-
As an act of defiance, I will only use advertize. I’ve added the word to my spell check. As an American, it makes sense for me to use this spelling since other -ise words use the more phonetic -ize suffix.
-
-
-
Velásquez-Rojas, F., da Silva, P. C. V., Connaughton, C., Moreno, Y., Rodrigues, F. A., & Vazquez, F. (2020). Disease and information spreading at different speeds in multiplex networks. ArXiv:2006.01965 [Physics]. http://arxiv.org/abs/2006.01965
-
- May 2020
-
www.merriam-webster.com www.merriam-webster.com
-
unhosted.org unhosted.org
-
Also known as "serverless", "client-side", or "static" web apps, unhosted web apps do not send your user data to their server. Either you connect your own server at runtime, or your data stays within the browser.
serverless has another meaning (that does actually use a server) so I prefer the term "unhosted" since it has no such ambiguity.
See also:
-
-
www.quora.com www.quora.com
-
A serverless app is an app that doesn't require a server for it to work. Most apps nowadays require a server, such as Facebook, quora, twitter etc. As a rule of thumb any app that doesn't connect to the internet is a serverless app (there are some others that are serverless but that is harder to tell). Flappy bird is an example you’ll be familiar with that is serverless.
See also this comment:
While this answer is true in the literal sense of the term, the question is most likely referring the new serverless trend in cloud infrastructure, with services like AWS Lambda and Iron.io.
-
Serverless architectures allow you to build and run applications and services without having to manage infrastructure. Your application still runs on servers, but all the server management is done by Provider. You no longer have to provision, scale, and maintain servers to run your applications, databases, and storage systems.Serverless architecture accelerates development as a set of small, distinct, and independent actions. By abstracting away infrastructure, by doing this the developers can just concrete on building micro services/functions which performs some action and integrate with others to build a bigger service.
-
-
www.merriam-webster.com www.merriam-webster.com
-
This has too many, very different meanings.
Especially these 2 which are themselves similar, but seem unlike the first 3:
- an establishment engaged in doing business for another
- an administrative division (as of a government) Both are basically an organization.
-
-
en.wikipedia.org en.wikipedia.org
-
preceded by an index, ☞like this
Had never seen this meaning of "index" before.
-
-
www.grammarly.com www.grammarly.com
-
In other places, such as Great Britain and Canada, labelled is a more common spelling than labeled.
-
-
www.iubenda.com www.iubenda.com
-
This depends on the legal jurisdiction applicable to your site.
-
-
www.iubenda.com www.iubenda.com
-
In the EU, the ePrivacy directive sets overall guidelines that are individually implemented by member states
-
-
www.iubenda.com www.iubenda.com
-
In the US, there is no one national law in regards to returns/refunds for purchases made online as in most cases, this is implemented on a state-by-state basis, however, under several state-laws, if no refund or return notice was made visible to consumers before purchase, consumers are automatically granted extended return/refund rights. In cases where the item purchased is defective, an implied warranty may apply in lieu of a written warranty
-
This exemption is may not be applicable for all regions and is therefore subject to specific local regulations.
-
In the US, there is no single comprehensive national body of data regulations; there are, however, various laws on a state level as well as industry guidelines and specific federal laws in place. Since online site/app activity is rarely limited to just one state, it’s always best to adhere to the strictest applicable regulations.
-
Determining your law of reference Generally, the laws of a particular region apply if: You base your operations there; or You use processing services or servers based in the region; or Your service targets users from that region This effectively means that regional regulations may apply to you and/or your business whether you’re located in the region or not. For that reason, it’s always advisable that you approach your data processing activities with the strictest applicable regulations in mind.
-
-
www.iubenda.com www.iubenda.com
-
Territorial point of view
-
- Apr 2020
-
www.iubenda.com www.iubenda.com
-
Allows you to autodetect and limit prior-blocking and cookie consent requests only to users from the EU – where this is a legal requirement – while running cookies scripts normally in regions where you are still legally allowed to do so.
-
-
www.iubenda.com www.iubenda.com
-
Please note that at the moment the Cookie Solution is optimized to comply with very strict Italian implementation regulations (this can only improve compliance in other jurisdictions).
-
-
-
Vertical navigation needs to scroll and “stick” to the screen so that users don’t lose it. Often vertical navigation works well on a single page design
-
With wider screens, the scroll is higher and some navigation elements might get “lost.”
-
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.
-
The common theme is that many hamburger icons open into vertical sliding navigation.
Tags
- mobile-first
- visual design: designing for different screen sizes
- cross-platform
- avoid duplication
- navigation: side navigation (vertical navigation)
- visual design: designing for small screens
- app design: navigation: side navigation
- avoid the need to rewrite for different contexts/platforms
- mobile app
Annotators
URL
-
-
grammarist.com grammarist.com
-
While Web site is still doing well in the U.S., it is all but dead in the U.K. Current Google News searches limited to U.K. publications find only about one instance of Web site (or web site) for every thousand instances of website. The ratio is similar in Australian and New Zealand publications. In Canada, the ratio is somewhere in the middle—about 20 to one in favor of the one-word form.
-
Exceptions are easily found, however, especially in American sources, where Web site (or web site, without the capital w) appears about once for every six instances of website. This is likely due to the influence of the New York Times, which is notoriously conservative with tech terms. The Times still uses Web site, and many American publications follow suit. Yet even those that often use Web site in their more closely edited sections tend to allow website in their blogs and other web-only sections.
-
-
ell.stackexchange.com ell.stackexchange.com
-
Other languages, German for example, are notorious for very long compunds like this and this, that are made up and written as one word directly. Perhaps the way your native language deals with compounds explains your (or other authors') personal preference and sense of "right"?
-
-
en.wikipedia.org en.wikipedia.org
-
the Add functions seem to work generically over various types when looking at the invocations, but are considered to be two entirely distinct functions by the compiler for all intents and purposes
-
-
www.techrepublic.com www.techrepublic.com
-
there's no reasonable way to communicate effectively with the less technically minded without acquiescing to the nontechnical misuse of the term "hacker"
-
The more easily relabeled of the two uses of the term "hacker" is the malicious security cracker: it is not only the more recent phenomenon to acquire that label, but also the one whose meaning is most easily evoked by an alternative term. This is why, when you read an article of mine that talks about malicious security crackers, I use the term "malicious security cracker"
Tags
- language
- communication
- hoping/trying to convince others that your view/opinion/way is right by consistently sticking to it despite many being ignorant/mistaken/unaware/holding different opinion
- alternative to mainstream way
- communicating with less technical people
- language: misuse of word
- "hacker" vs. "cracker"
- acquiescing/giving in
- popular misconceptions
Annotators
URL
-
-
stackoverflow.com stackoverflow.com
-
I had never considered it that in nearly a decade of using GNU find! Thank you for that! It will definitely change the way I think about -prune from now on.
-
I think this structure is much easier and correlates to the right approach
-
- Mar 2020
-
www.cmswire.com www.cmswire.com
-
In Europe, access to the Los Angeles Times was blocked and those who tried to access it were offered a screen with a notice which simply read: "Unfortunately, our website is currently unavailable in most European countries.
-
-
www.cmswire.com www.cmswire.com
-
Lest U.S. companies think they will escape GDPR because they are headquartered in the U.S., Milla believes there will be fines applied to companies in the EU, the US and other jurisdictions.
-
-
www.iubenda.com www.iubenda.com
-
Country specific requirements In addition to the above, please apply the following considerations if based in the countries listed below.
-
-
www.iubenda.com www.iubenda.com
-
In Italy, the condition for Google Analytics to be eligible for “no prior consent necessary” is IP anonymization – however in France, Google Analytics doesn’t seem to be eligible for exceptions,
-
-
clearcode.cc clearcode.cc
-
Regardless of where an organization is based (in the EU or otherwise), its website must meet regulatory obligations when processing EU/EEA citizens’ data or the business will face financial penalties.
-
-
www.iubenda.com www.iubenda.com
-
This option is particularly relevant to users who operate in the UK as the ICO now requires that a reject button be displayed.
-
-
www.forbes.com www.forbes.com
-
Even one day a week out of the office might allow each employee to see their work in a new light.
-
-
proton-native.js.org proton-native.js.org
-
Different GUI designers have different priorities. Some want something that looks pretty while others want something that will ensure a great experience on every platform. Qt gives you the ability to customize everything, and still has a pretty good experience with its components. But those components are not native, meaning they are drawn by Qt instead of using the components provided by the OS.
Tags
Annotators
URL
-
- Feb 2020
-
about.gitlab.com about.gitlab.com
-
At GitLab, "no ego" means that we foster and support an environment where results matter, and you're given agency to approach your work in the way that makes sense to you. Instead of judging people for not approaching work in an agreed-upon way, "no ego" encourages people to glean inspiration from watching others approach work in new and different ways.
-
- Dec 2019
-
mariammosleh.wordpress.com mariammosleh.wordpress.com
-
Having to have open class discussions is one of the most effective tools of learning as it forces you to engage and ask questions about the theme or question presented. In addition, it opens you up to listening to other people’s opinions and thinking from different perspectives.
-
-
www.ostechnix.com www.ostechnix.com
-
While there are so many tools to backup your systems, I find this method super easy and convenient, at least to me. Also, this method is way better than disk cloning with dd command. Because It doesn’t matter if your hard drive is different size, or use different filesystem.
-
- Nov 2019
-
babeljs.io babeljs.io
-
File-relative configuration Babel loads .babelrc (and .babelrc.js / .babelrc.cjs / package.json#babel) files by searching up the directory structure starting from the "filename" being compiled (limited by the caveats below). This can be powerful because it allows you to create independent configurations for subsections of a package. File-relative configurations are also merged over top of project-wide config values, making them potentially useful for specific overrides, though that can also be accomplished through "overrides".
-
- Oct 2019
-
stackoverflow.com stackoverflow.com
Tags
Annotators
URL
-
-
stackoverflow.com stackoverflow.com
-
stackoverflow.com stackoverflow.com
-
Let's make the example even easier. function convertDate<T extends string | undefined>(isoDate?: string): T { return undefined } 'undefined' is assignable to the constraint of type 'T' Means: What you return in the function (undefined), matches the constraints of your generic type parameter T (extends string | undefined). , but 'T' could be instantiated with a different subtype of constraint 'string | undefined'. Means: TypeScript does not consider that as safe. What if you defined your function like this at compile time: // expects string return type according to generics // but you return undefined in function body const res = convertDate<string>("2019-08-16T16:48:33Z") Then according to your signature, you expect the return type to be string. But at runtime that is not the case! This discrepancy that T can be instantiated with a different subtype (here string) than you return in the function (undefined) is expressed with the TypeScript error.
-
-
www.typescriptlang.org www.typescriptlang.org
-
Based on examples given in https://github.com/Microsoft/TypeScript/issues/29049
-
-
stackoverflow.com stackoverflow.com
-
Both of the below are valid as far as T extends (...args: any[]) => any goes logFn((a, b) => a + b) logFn((a, b, c) => c) But if you refer back to the example I gave, the inner definition as: return (a, b) => fn(a, b); So option 2. will throw an error here, which is why typescript is warning you about it.
-
-
github.com github.com
-
In the body of the function you have no control over the instantiation by the calling context, so we have to treat things of type T as opaque boxes and say you can't assign to it. A common mistake or misunderstanding was to constraint a type parameter and then assign to its constraint, for example: function f<T extends boolean>(x: T) { x = true; } f<false>(false); This is still incorrect because the constraint only restricts the upper bound, it does not tell you how precise T may really be.
-
-
stackoverflow.com stackoverflow.com
-
P can't be assigned {}, since the Generic Type P can be a more defined (or restricted) type.
-
-
-
Mr Booth often uses his newspaper to rail against climate change
Oh good one - I can't believe you're only a work experience student - there's a bunch of people at the SMH who are highly-paid and you at least match them for mediocrity. Yes, the climate change mention should well and truly stir the juices of your readers and that's always preferable to the trend towards falling asleep mid-article. Do you think there should be a law against newspaper proprietors voicing their opinions because it never ever happens? (NOTE: And I know what you're thinking. Imagine having views and opinion that stray from a collective decision on what to believe - it would be such a hassle)
-
-
stackoverflow.com stackoverflow.com
-
you can have a Type that is more specific than a boolean like this
-
-
github.com github.com
-
The value 10 is assignable to the constraint of T, but it is not assignable to this particular instantiation of T. If there was no error I would passing 10 where 3 is expected!
-
- Aug 2019
-
seesparkbox.com seesparkbox.com
-
The goal is to build a better web thanks to the contribution and collaboration of a diverse set of personalities and thinkers: visual learners; physical learners; social learners; and everyone in-between.
-
- Apr 2019
-
hypothes.is hypothes.is
-
The music we listen to highly impacts our decision making, especially as adolescents. Adolescents are extremely impressionable, and the music they listen to has a great impact on how they decide to live their day to day lives. Popular musicians are seen as role models by the people who idolize them, and adolescents may try to represents the songs in which they favor through their actions every day.
Recent studies have found that adolescents who listen to music that supports substance abuse and violence have a greater chance to act upon what they listen to. What young adults and teenagers listen to through music and popular media will affect their decision making process. Specifically with substance abuse, and there is a direct uptake in use of illegal substances by adolescents who listen to music that promotes such activities. This can cause a whole societal problem considering most of todays popular music among adolescents touches upon substance abuse and violence. Adolescents are extremely impressionable and the music they listen can shape how a person tries to act, or represent themselves.
-
- Sep 2018
-
cnx.org cnx.org
-
City officials can actually help if they go out into the streets and ask real people what actually is going on. Something on blogs and on polls arent true, they dont always speak the truth. If they were to go out to communities and build relationships with people, they would have a clearer understanding of what is going on.
Tags
- https://hypothes.is/groups/q2jXEin4/f18-51-hybrid)
- group: F18-51-Hybrid
- City officials cannot fix problems if they do not know anything is wrong to begin with. Responding to public opinion polls, actively contributing to a political blog, or starting a new blog are all examples of different ways to be involved.
Annotators
URL
-
- Jul 2017
-
www.knowledgepresentation.org www.knowledgepresentation.org
-
One of the present tasks of a social semiotic approach to multimodality is to describe the potentials and limitations for meaning which inhere in different modes.
There are some things that are better to show, than describe in words. This also makes me think of the difference between books and movies. On the surface, movies seem to lack the detail that books have, while that true to a certain extent, you can simply show something withing the scene that may have taken many pages to describe. In another example, before cameras, naturalists were limited in their ability to describe a newly discovered species with words, they had to be skilled artists to come close to an accurate visual description of many unusual animals.
-
- Apr 2017
-
methods-sagepub-com.ezp1.lib.umn.edu methods-sagepub-com.ezp1.lib.umn.edu
-
Now that your network's boundary has been specified, you are ready to collect your data.
My project deviated from the author's process because I actually obtained the dataset before identifying research questions. I am using a public dataset so I had to develop me project around what I had available
-
- Jan 2017
-
foucault.info foucault.info
-
And this body should be understood not as a body of doctrine but, rather —following an often evoked metaphor of digestion— as the very body of the one who, by transcribing his readings, has appropriated them and made their truth his own: writing transforms the thing seen or heard “into tissue and blood” (in vires et in sanguinem). It becomes a principle of rational action in the writer himself.
Might be the asshole in me talking, but this sounds like a high school teacher talking. Either way, even though it's cliché, I appreciate this claim. Essentially, saying that we all take in information differently because we are all different. Just like how we digest food differently.
-
-
www.nytimes.com www.nytimes.com
-
Ottoman period, when harem culture abounded and having several wives was viewed as a symbol of influence, sexual prowess and wealth.
Polygamy originally was thought as a symbol of affluence and power. This has changed quite alot nowadays
-
- Sep 2015
-
cms.whittier.edu cms.whittier.edu
-
Cogni- tive and linguistic approaches consider the built environment in terms of systems of knowledge and understanding
Trying to find the best ways to implement the uses of said "built environment" within our society
-
- Feb 2015
-
www.randikorn.com www.randikorn.com
-
Faculty members have the capacity to create their own meaning and feel comfortable and enjoy making sense of the thematic arrangement of objects. Students, on the other hand, usually sought out interpretive devices, like text labels, for an explanation of how they were “supposed to feel.” Further, students did not perceive the thematic organization of the works of art as the interpretive device, whereas faculty did. While most faculty used the text labels to reinforce their own thinking and reassure them they were on the right track, most students used the text labels as their entry point to understanding and experiencing the exhibition.
-
Faculty and students had distinctly different experiences
-