71 Matching Annotations
- Apr 2023
-
learn.microsoft.com learn.microsoft.com
-
Clients interact with a service by exchanging representations of resources.
-
- Feb 2023
-
medium.com medium.com
-
underestimates by scientists have potentially devastating consequences for humanity’s efforts to react to this threat to our survival.
-
= Key point
-
Underestimates by scientists
- have potentially devastating consequences
- for humanity’s efforts -to react to this threat to our survival.
-
-
-
stackoverflow.com stackoverflow.com
-
The reason is Rails only reads and creates the session object when it receives the request and writes it back to session store when request is complete and is about to be returned to user.
-
- Jan 2023
-
docdrop.org docdrop.org
-
we have individual capitalists who try 00:48:45 to make the most profit and this is linked to their capital and productivity so to achieve more in less time and 00:48:57 productivity is linked to energy [Music] the only source of energy to increase profit is carbon oil and gas and this has resulted in a change in our 00:49:15 atmosphere we have to put an entities if we wish to live in our planet can our capitalism do this based on the current data we won't be able to do so 00:49:28 therefore perhaps we should do the following reflection if capitalism is unable to do so either Humanity will die with it or 00:49:42 Humanity will overcome capitalism so that we can live in our planet
!- Urrego : Key Point - Can capitalism rapidly detour away from fossil fuels? The current data indicates no. So either Humanity does our it drops capitalism
-
- Nov 2022
-
stackoverflow.com stackoverflow.com
-
I have DNS settings in my hosts file that are what resolve the visits to localhost, but also preserve the subdomain in the request (this latter point is important because Rails path helpers care which subdomain is being requested)
-
- Sep 2022
-
github.com github.com
-
that is the key difference
-
- Apr 2022
-
code-examples.net code-examples.net
-
The difference between a non- lateral and a lateral join lies in whether you can look to the left hand table's row.
-
-
-
Kernel is already defined by Ruby so the module cannot be autoloaded. Also, that file does not define a constant path after the path name. Therefore, Zeitwerk should not process it at all.
-
-
edgeguides.rubyonrails.org edgeguides.rubyonrails.org
-
Every element of config.autoload_paths should represent the top-level namespace (Object).
-
-
github.com github.com
-
The core benefit of Marginalia is being able to decorate SQL queries with details of the context of the source of the query.
-
- Feb 2022
-
bugs.ruby-lang.org bugs.ruby-lang.org
-
The remaining problem should be how to declare Ruby-define methods to be 'non-block taking'. Under the current language spec, absence of '& argument' may or may not mean the method would take a block.
-
- Jan 2022
-
stackoverflow.com stackoverflow.com
-
The difference is what the server expects the client to do next.
-
- Nov 2021
-
unix.stackexchange.com unix.stackexchange.com
-
That's not how flatpack works; the executable is hidden in a container and you need to set up the whole environment to be able to call it. Delivering a well-isolated, not-to-be-run-from-outside environment is the whole point.
-
- Sep 2021
-
www.digitalocean.com www.digitalocean.com
-
By connecting over an SSH tunnel, you’re limiting VNC access to machines that already have SSH access to the server.
-
- Aug 2021
-
charlypoly.com charlypoly.com
-
It means that when having a type guard:TypeScript and JavaScript runtime are tied to the same behaviour.
-
-
github.com github.com
-
You can't just move 'side-ways' between unrelated types; you need to move either up or down the lattice.
-
-
en.wikipedia.org en.wikipedia.org
-
Isolation ensures that concurrent execution of transactions leaves the database in the same state that would have been obtained if the transactions were executed sequentially
-
- Jun 2021
-
www.mutuallyhuman.com www.mutuallyhuman.com
-
This is why for a recent Angular+Rails project we chose to use a testing stack from the backend technology’s ecosystem for e2e testing.
-
-
kit.svelte.dev kit.svelte.dev
-
When fetch runs on the server, the resulting response will be serialized and inlined into the rendered HTML. This allows the subsequent client-side load to access identical data immediately without an additional network request.
-
- May 2021
-
github.com github.com
-
plus authorization if it's not explicitly provided, to a fetch request that happens inside load to an internal endpoint
Tags
Annotators
URL
-
- Mar 2021
-
en.wikipedia.org en.wikipedia.org
-
often in error
Tags
Annotators
URL
-
-
trailblazer.to trailblazer.to
-
the Activity component is the heart of TRB
-
- Feb 2021
-
sobolevn.me sobolevn.me
-
exceptions are not exceptional, they represent expectable problems
-
-
www.infoworld.com www.infoworld.com
-
That's the whole point of an abstraction layer—to isolate your business logic from a subsystem's mechanics
-
-
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
-
-
www.smashingmagazine.com www.smashingmagazine.com
-
The key phrase here is “children of a grid container.” The specification defines the creation of a grid on the parent element, which child items can be positioned into. It doesn’t define any styling of that grid, not even going as far as to implement something like the column-rule property we have in Multi-column Layout. We style the child items, and not the grid itself, which leaves us needing to have an element of some sort to apply that style to.
-
- Jan 2021
-
css-tricks.com css-tricks.com
-
Making literal grids. Like X columns with Y gap between them homegrown framework stuff. grid-gap is wonderful, as gutters are the main pain point of grid systems.
-
-
legacy.reactjs.org legacy.reactjs.org
-
The alternative is uncontrolled components, where form data is handled by the DOM itself.
-
- Nov 2020
-
svelte.dev svelte.dev
-
Assignments to $-prefixed variables require that the variable be a writable store, and will result in a call to the store's .set method.
-
-
dylanvann.com dylanvann.com
-
const useEffect = (subscribe) => ({ subscribe })
-
- Oct 2020
-
github.com github.com
-
github.com github.com
-
medium.com medium.com
-
The index.js file is the main entry point and imports and exports everything from internal.js that you want to expose to the outside world.
-
The internal.js module both imports and exports everything from every local module in the project
-
Every other module in the project only imports from the internal.js file, and never directly from other files in the project.
-
The crux of this pattern is to introduce an index.js and internal.js file.
-
-
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.
-
-
-
The readable store takes a function as a second argument which has its own internal set method, allowing us to wrap any api, like Xstate or Redux that has its own built in subscription model but with a slightly different api.
-
- Sep 2020
-
-
Most simple example: <script> import ChildComponent from './Child.svelte'; </script> <style> .class-to-add { background-color: tomato; } </style> <ChildComponent class="class-to-add" /> ...compiles to CSS without the class-to-add declaration, as svelte currently does not recognize the class name as being used. I'd expect class-to-add is bundled with all nested style declarations class-to-add is passed to ChildComponent as class-to-add svelte-HASH This looks like a bug / missing feature to me.
-
-
github.com github.com
-
The problem with working around the current limitations of Svelte style (:global, svelte:head, external styles or various wild card selectors) is that the API is uglier, bigger, harder to explain AND it loses one of the best features of Svelte IMO - contextual style encapsulation. I can understand that CSS classes are a bit uncontrollable, but this type of blocking will just push developers to work around it and create worse solutions.
Tags
- Svelte: CSS encapsulation
- arbitrary limitations leading to less-than-ideal workarounds
- trying to prevent one bad thing leading to people doing/choosing an even worse option
- important point
- missing out on the benefits of something
- Svelte: how to affect child component styles
- +0.9
- key point
Annotators
URL
-
-
hiddedevries.nl hiddedevries.nl
-
This property makes the element so that it no longer seems to exist.
-
-
svelte.dev svelte.dev
-
Reactive statements run immediately before the component updates, whenever the values that they depend on have changed.
Tags
Annotators
URL
-
- Jul 2020
-
www.iubenda.com www.iubenda.com
-
Who needs a cookie consent banner? Any site or app running non-exempt cookies or scripts that could either:
-
have EU based users (i.e any website running cookies that isn’t actively blocking EU based users);
-
-
dmitripavlutin.com dmitripavlutin.com
-
Even so, the inline function is still created on every render, useCallback() just skips it.
-
- Jun 2020
-
www.quora.com www.quora.com
-
The bug won’t be fixed today…and by next week, I’ll have forgotten about it - but some time in the future, before our software “goes gold” and gets shipped out to the public - we’ll search through the entire million lines of software for the word “FIXME” - which is unlikely to appear in any other context BECAUSE it’s not a real word!
BECAUSE it’s not a real word
-
-
en.wikipedia.org en.wikipedia.org
-
In cryptography, deniable authentication refers to message authentication between a set of participants where the participants themselves can be confident in the authenticity of the messages, but it cannot be proved to a third party after the event.
-
- May 2020
-
en.wikipedia.org en.wikipedia.org
-
It may be the case that several sufficient conditions, when taken together, constitute a single necessary condition (i.e., individually sufficient and jointly necessary)
-
-
kantarainitiative.org kantarainitiative.org
-
Its purpose is to decrease the reliance on privacy policies and enhance the ability for people to share and control personal information.
-
-
www.iubenda.com www.iubenda.com
-
It’s useful to remember that under GDPR regulations consent is not the ONLY reason that an organization can process user data; it is only one of the “Lawful Bases”, therefore companies can apply other lawful (within the scope of GDPR) bases for data processing activity. However, there will always be data processing activities where consent is the only or best option.
-
-
-
I believe that beginning to distribute tools that patch Firefox and give back power to users and allow them to install unsigned extensions is necessary when an organization is taking away our rights without giving us a compelling reason for doing so.
-
I know, you don't trust Mozilla but do you also not trust the developer? I absolutely do! That is the whole point of this discussion. Mozilla doesn't trust S3.Translator or jeremiahlee but I do. They blocked page-translator for pedantic reasons. Which is why I want the option to override their decision to specifically install few extensions that I'm okay with.
-
- Apr 2020
-
en.wikipedia.org en.wikipedia.org
-
Thus isomorphic structures cannot be distinguished from the point of view of structure only, and may be identified.
-
-
www.techopedia.com www.techopedia.com
-
A language that features polymorphism allows developers to program in the general rather than program in the specific. $(document).ready(function() { recordAdModuleData(2964, "impressions","Dictionary Ad"); });
-
-
haveibeenpwned.com haveibeenpwned.com
-
Password reuse is normal. It's extremely risky, but it's so common because it's easy and people aren't aware of the potential impact.
-
-
www.troyhunt.com www.troyhunt.com
-
So there's a lot of stuff getting hacked and a lot of credentials floating around the place, but then what? I mean what do evil-minded people do with all those email addresses and passwords? Among other things, they attempt to break into accounts on totally unrelated websites
-
-
queue.acm.org queue.acm.org
-
Want to keep your users? Just make it easy for them to leave.
-
-
kokociel.blogspot.com kokociel.blogspot.com
-
Our eyes decide our focus of attention and therefore our thoughts and our cognitive load.
-
- Mar 2020
-
ico.org.uk ico.org.uk
-
While we recognise that analytics can provide you with useful information, they are not part of the functionality that the user requests when they use your online service – for example, if you didn’t have analytics running, the user could still be able to access your service. This is why analytics cookies aren’t strictly necessary and so require consent.
-
PECR always requires consent for non-essential cookies, such as those used for the purposes of marketing and advertising. Legitimate interests cannot be relied upon for these cookies.
-
-
techcrunch.com techcrunch.com
-
This means genuinely asking for permission — using honesty to win trust by enabling rather than disabling user agency.
-
-
techcrunch.com techcrunch.com
-
“meet the minimal requirements that we set based on European law” — which they define as being “if it has no optional boxes pre-ticked, if rejection is as easy as acceptance, and if consent is explicit.”
-
All of which means — per EU law — it should be equally easy for website visitors to choose not to be tracked as to agree to their personal data being processed.
-
Consent to tracking must also be obtained prior to a digital service dropping or accessing a cookie; only service-essential cookies can be deployed without asking first.
-
When consent is being relied upon as the legal basis for processing web users’ personal data
-