- Mar 2022
-
www.programmableweb.com www.programmableweb.com
-
doi2ht.ml doi2ht.ml
-
-
www.programmableweb.com www.programmableweb.com
Tags
Annotators
URL
-
- Feb 2022
-
musicbrainz.org musicbrainz.org
Tags
Annotators
URL
-
-
open.fda.gov open.fda.govopenFDA1
-
-
web.hypothes.is web.hypothes.is
-
annotations
is there a way to extract highlighted text in a webpage?
-
- Jan 2022
-
api.istex.fr api.istex.fr
-
-
developers.radiofrance.fr developers.radiofrance.fr
Tags
Annotators
URL
-
-
data.ratp.fr data.ratp.fr
Tags
Annotators
URL
-
-
www.flickr.com www.flickr.com
-
docs.genius.com docs.genius.com
-
-
developer.twitter.com developer.twitter.com
-
-
Moving forward I'd rather see {#await} being removed than adding more {#await}. But that's just from my experience and I'm sure there are use-cases for it.
-
-
-
The key thing about the REST approach is that the server addresses the client state transitions. The state of the client is almost totally driven by the server and, for this reason, discussions on API versioning make little sense, too. All that a client should know about a RESTful interface should be the entry point. The rest should come from the interpretation of server responses.
-
In fact, most people believe that to build a RESTful API you can simply create an API based on URLs and HTTP verbs. This is absolutely false. This misunderstanding is going around for too long.
-
-
cloud.google.com cloud.google.com
-
slides.com slides.com
-
pro.europeana.eu pro.europeana.eu
-
The Annotations API is an extension to the Europeana REST API which allows you to create, retrieve and manage annotations on Europeana objects. Annotations are user-contributed or system-generated enhancements, additions or corrections to (or a selection of) metadata or media. We adopted the Web Annotation Data Model as a base model for the representation of annotations and as a format for exchanging annotations between client applications and the API, but also the Web Annotation Protocol as base HTTP protocol for the API.
Example:
{ "@context": “http://www.w3.org/ns/anno.jsonld” "id": "http://data.europeana.eu/annotations/1", "type": "Annotation", "created": "2015-03-10T14:08:07Z", "creator": { "type": "Person", "name": "John Smith" }, "generated": "2015-04-01T09:00:00Z", "generator": { "type": "Software", "name": "HistoryPin", "homepage": "https://www.historypin.org/" }, "motivation": "tagging", "bodyValue": "MyBeautifulTag", "target": "http://data.europeana.eu/item/92062/BibliographicResource_1000126189360" }
Tags
Annotators
URL
-
-
linked.art linked.artAPI1
Tags
Annotators
URL
-
-
orgmast.adventist.org orgmast.adventist.org
-
-
apievangelist.com apievangelist.com
-
Here is what a base WebAPI type schema could look like:
{ "@context": "http://schema.org", "@type": "WebAPI", "name": "Google Knowledge Graph Search API", "description": "The Knowledge Graph Search API lets you find entities in the Google Knowledge Graph. The API uses standard schema.org types and is compliant with the JSON-LD specification.", "documentation": "https://developers.google.com/knowledge-graph/", "termsOfService": "https://developers.google.com/knowledge-graph/terms" }
-
-
www.programmableweb.com www.programmableweb.com
Tags
Annotators
URL
-
-
github.com github.com
-
const pubpeer = await Zotero.HTTP.request('POST', 'https://pubpeer.com/v3/publications?devkey=PubPeerZotero', { body: JSON.stringify({ dois: fetch }), responseType: 'json', headers: { 'Content-Type': 'application/json;charset=UTF-8' }, })
-
-
scicrunch.org scicrunch.org
-
-
hn.algolia.com hn.algolia.com
-
-
bionicjulia.com bionicjulia.com
-
mxb.dev mxb.dev
Tags
Annotators
URL
-
-
webmention.herokuapp.com webmention.herokuapp.com
-
-
www.crossref.org www.crossref.org
Tags
Annotators
URL
-
- Dec 2021
-
telegraph.p3k.io telegraph.p3k.io
-
-
developers.soundcloud.com developers.soundcloud.com
-
API
In order to access the JavaScript object which provides the SoundCloud Widget API, add this script to your html page.
This script exposes the
SC.Widget(/*iframeElement|iframeElementID*/)
function to the global scope. It allows you to control the widget from the parent page (the page the widget is inserted into).SC.Widget
accepts the reference to the iframe element or its id.var iframeElement = document.querySelector('iframe'); var iframeElementID = iframeElement.id; var widget1 = SC.Widget(iframeElement); var widget2 = SC.Widget(iframeElementID); // widget1 === widget2
Tags
Annotators
URL
-
-
developer.twitter.com developer.twitter.com
-
developer.openactive.io developer.openactive.io
-
-
datatracker.ietf.org datatracker.ietf.orgrfc86311
-
6.1. Link Relation Type: service-doc
Relation Name: service-doc
Description: Identifies service documentation for the context that is primarily intended for human consumption.
6.2. Link Relation Type: service-desc
Relation Name: service-desc
Description: Identifies service description for the context that is primarily intended for consumption by machines.
6.3. Link Relation Type: service-meta
Relation Name: service-meta
Description: Identifies general metadata for the context that is primarily intended for consumption by machines.
6.4. Link Relation Type: status
Relation Name: status
Description: Identifies a resource that represents the context's status.
Tags
Annotators
URL
-
-
www.ncbi.nlm.nih.gov www.ncbi.nlm.nih.gov
Tags
Annotators
URL
-
-
theconversation.com theconversation.com
-
Pertanyaan besarnya: apa yang sebenarnya terjadi dan mengapa sistem peringatan dini gagal menyelamatkan nyawa penduduk sekitar Semeru?
sebagai negara yang memiliki banyak gunung api harusnya alat deteksi dini sudah bisa lebih baik atau faktor manusianya mungkin ya???
-
-
httpstat.us httpstat.us
-
-
designer.mocky.io designer.mocky.io
-
- Nov 2021
-
info.orcid.org info.orcid.org
-
www.taniarascia.com www.taniarascia.com
-
Feature GraphQL REST
GraphQL vs *REST (table)
-
There are advantages and disadvantages to both systems, and both have their use in modern API development. However, GraphQL was developed to combat some perceived weaknesses with the REST system, and to create a more efficient, client-driven API.
List of differences between REST and GraphQL (below this annotation)
Tags
Annotators
URL
-
-
zubialevich.blogspot.com zubialevich.blogspot.com
-
Awarness points.
-
-
code.visualstudio.com code.visualstudio.com
-
Modern browsers that support the File System Access API (Edge and Chrome today) allow web pages to access the local file system (with your permission).
-
-
glitchapi.js.org glitchapi.js.org
-
-
www.num.uk www.num.uk
-
-
www.reddit.com www.reddit.com
-
-
www.linuxuprising.com www.linuxuprising.com
-
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepoflatpak install flathub org.chromium.Chromium
-
-
zookeys.pensoft.net zookeys.pensoft.net
-
Nanhaipotamon longhaiense sp. nov.
Tags
Annotators
URL
-
- Oct 2021
-
kit.svelte.dev kit.svelte.dev
-
This function allows you to modify (or replace) a fetch request for an external resource that happens inside a load function that runs on the server (or during pre-rendering). For example, your load function might make a request to a public URL like https://api.yourapp.com when the user performs a client-side navigation to the respective page, but during SSR it might make sense to hit the API directly (bypassing whatever proxies and load balancers sit between it and the public internet).
-
-
css-tricks.com css-tricks.com
-
Jamstack
Going Jamstack with React, Serverless, and Airtable
Exploring the possibility of integrating Airtable into the Builders Collective, I started looking into the Airtable API and integration into a Jamstack workflow. A CSS-Tricks article came up in a search.
-
-
www.programmableweb.com www.programmableweb.com
-
Hypothesis REST API
The Hypothesis API integrates annotations into web services. Available to send HTTP requests and JSON responses, it aims to be useful for researchers, scientists, and educators.
-
-
h.readthedocs.io h.readthedocs.io
-
Using the Hypothesis API
What might it take to demo a Jamstack approach to connecting Airtable to Hypothesis with serverless functions in Netlify?
Tags
Annotators
URL
-
-
developer.raindrop.io developer.raindrop.io
-
collectionoptionalobject
This is NOT clear.. how you actually post a raindrop and setting collection is with "collectionId". e.g. { "link": "https://www.lipsum.com/", "collectionId": 20489957<br> }
Tags
Annotators
URL
-
- Sep 2021
-
dgraph.io dgraph.io
Tags
Annotators
URL
-
- Jul 2021
-
stackoverflow.com stackoverflow.com
-
Arel is a public API, or more precisely, it exposes one. Active Record just provides convenience methods that use it under the hood, It's completely valid to use it on it's own. It follows semantic versioning, so unless you are changing major versions (3.x.x => 4.x.x), there is no need to worry about breaking changes.
-
- Jun 2021
-
lickability.com lickability.com
-
-
HTTP REST seems like an "out of external dependency" way to go.
-
-
docs.gitlab.com docs.gitlab.com
-
github.com github.com
-
I don't know how much workaround is it, but for now I'm using this approach:
Looks like a catch-all
api/[...route]
internal endpoint that proxies to the real external API server.
-
-
-
Allows you to use sapper with an API service residing in another server. This is especially useful if your API server is written in another language
-
- May 2021
-
github.com github.com
-
if (parsed.protocol) { // external fetch response = await fetch(parsed.href, /** @type {import('node-fetch').RequestInit} */ (opts)); } else { // otherwise we're dealing with an internal fetch const resolved = resolve(request.path, parsed.pathname);
-
-
github.com github.com
-
CSR asking my Python backed directly (over nginx). Basically, in my particular situation, I want to use most shorter paths for SSR or CSR cases when I have a separate API server under the same domain and nginx frontend.
-
on CSR it connects to the svelte-kit endpoint which just use a localhost connection. and to optimize this you can use unix sockets in your endpoints to connect to backend server
-
ah you are talking about a external api endpoint server? then you could use the svelte-kit endpoints as proxy handler
-
-
-
This looks cool but right now, let's say i have an external api which depends on users cookies, the cookies only gets send through internal sk endpoints while ssr even if its the same domain. Couldn't we pass the 'server' request to the serverFetch hook? I would currently have to patch package svelte kit to pass request headers to the external api or create an sk endpoint which proxies the request.
-
-
github.com github.com
-
If your python3 executable is named "python" instead of "python3" (this particularly appears to affect a number of Windows users), then you'll also need to modify the first line of git-filter-repo to replace "python3" with "python".
-
-
humanitas.ai humanitas.ai
-
webmention.io webmention.io
-
An interesting endpoint for webmention.io.
-
-
complimentr.com complimentr.com
-
What a cool looking project, courtesy of Grant Codes.
Tags
Annotators
URL
-
-
github.com github.com
-
From now just use url instead of asset-url
-
-
www.bbc.com www.bbc.com
-
In this section we will use Gatling to load test a simple cloud hosted web server and will introduce you to the basic elements of the DSL. And here i`m adding my own text, doesnt exist on the page. In this section we will use Gatling to load test a simple cloud hosted web server and will introduce you to the basic elements of the DSL. And here i`m adding my own text, doesnt exist on the page.
this is testing a hyp updating my own notes, and this one is from API
Tags
Annotators
URL
-
- Apr 2021
-
github.com github.com
-
Lumberjack::Logger does not extend from the Logger class in the standard library, but it does implement a compantible API.
-
logger.tag_formatter.default(Lumberjack::Formatter.new.clear.add(Object, :inspect)) logger.tag_formatter.default(Lumberjack::Formatter::InspectFormatter.new) logger.tag_formatter.default { |value| value.inspect }
-
There are several built in classes you can add as formatters. You can use a symbol to reference built in formatters. logger.formatter.add(Hash, :pretty_print) # use the Formatter::PrettyPrintFormatter for all Hashes logger.formatter.add(Hash, Lumberjack::Formatter::PrettyPrintFormatter.new) # alternative using a formatter instance
-
# This will register formatters only on specific tag names logger.tag_formatter.add(:thread) { |thread| "Thread(#{thread.name})" } logger.tag_formatter.add(:current_user, Lumberjack::Formatter::IdFormatter.new)
-
-
en.wikipedia.org en.wikipedia.org
- Mar 2021
-
bugs.ruby-lang.org bugs.ruby-lang.org
-
data = {}.extend XKeys::Auto # Vs ::Hash, uses arrays for int keys data[:users, 0, :name] # nil data[:users, 0, :name, :raise => true] # KeyError data[:users, :[], :name] = 'Matz' # :[] is next index, 0 in this case # {:users=>[{:name=>"Matz"}]} pick = [:users, 0, :name] data[*pick] # Matz data[:users, 0, :accesses, :else => 0] += 1 # {:users=>[{:name=>"Matz", :accesses=>1}]}
-
-
trailblazer.to trailblazer.to
-
Currently, I’m working on designing the interfaces and it’s real fun!
-
With all this “monetization” happening around Trailblazer, we will also make sure that all free and paid parts of the project grow adult and maintan an LTS - or long-term support - status. Those are good news to all you users out there having been scared to use gems of this project, not knowing whether or not they’re being maintained, breaking code in the future or making your developers addicted to and then cutting off the supply chain. Trailblazer 2.1 onwards is LTS, and the last 1 ½ years of collaboration have proven that.
Tags
- stability (works well enough / has few enough bugs)
- work: doing what you love
- pleasant/enjoyable to use
- stability
- long-term support (LTS)
- nice API
- support: peace of mind for those that have it
- maintenance status: knowing that it is maintained (peace of mind)
- interfaces (programming)
- work: fun
- stability (API not changing)
Annotators
URL
-
-
github.com github.com
-
var md = require('markdown-it')('commonmark');
first sighting: require(...)(...)
How would that work with import? Not as fluidly but...
import markdownIt from 'markdown-it' let md = markdownIt('commonmark')
-
Configurable syntax! You can add new rules and even replace existing ones.
-
-
trailblazer.to trailblazer.to
-
patch: -> { step Destroy.method(:tidy_storage), before: :delete_model }
-
- Feb 2021
-
github.com github.com
-
try { const value = await localforage.getItem('somekey'); // This code runs once the value has been loaded // from the offline store. console.log(value); } catch (err) { // This code runs if there were any errors. console.log(err); }
This looks like the best approach for me. async/await
-
-
trailblazer.to trailblazer.to
-
Subprocess will try to match the nested ends’ semantics to the tracks it knows. You may wire custom ends using Output.
-
Patching has no implicit, magical side-effects and is strongly encouraged to customize flows for a specific case in a quick and consise way.
-
However, it can be a PITA if you want to customize one of those deeply nested components and add or remove a certain step, for example.
-
-
github.com github.com
-
now that I realize how easy it is to just manually include this in my app: <%= javascript_include_tag 'xray', nonce: true if Rails.env.development? %> I regret even wasting my time getting it to automatically look for and add a nonce to the auto-injected xray.js script
Tags
- fix design/API mistakes as early as you can (since it will be more difficult to correct it and make a breaking change later)
- removing feature that is more trouble than it's worth (not worth the effort to continue to maintain / fix bugs caused by keeping it)
- wasted effort
- removing features to simplify implementation
- removing legacy/deprecated things
- regret
Annotators
URL
-
-
-
Nicely explains how to make asynchronous calls to API/services. Async/Await
-
Promises
Never forget this. It's very important.
-
-
trailblazer.to trailblazer.to
-
The new 2.1 version comes with a few necessary but reasonable changes in method signatures. As painful as that might sound to your Rails-spoiled ears, we preferred to fix design mistakes now before dragging them on forever.
-
The new call API is much more consistent and takes away another thing we kept explaining to new users - an indicator for a flawed API.
Tags
- fix design/API mistakes as early as you can (since it will be more difficult to correct it and make a breaking change later)
- learn from your mistakes
- better late than never
- if it's incorrect; fix it
- pointing out gaps/downsides/cons in competition/alternatives
- do it right/well the first time because it may be too hard to clean up/fix later if you don't
Annotators
URL
-
-
mymarketnews.ams.usda.gov mymarketnews.ams.usda.gov
Tags
Annotators
URL
-
-
-
I agre with your concern. I realy prefer to do this : form.assign_attributes(hash) if form.valid? my_service.update(form) #render something else #render somthing else end It looks more like a normal controller.
-
I like your API here much better than reform's API.
-
reform conflates these two responsibilities into a single validate method
-
-
github.com github.com
-
@conference_form.submit(conference_params)
Surprised they called it
submit
, since that could imply that you're triggering an action called submit.They use other verbs to describe this:
- sync
- populate
- write
Analogous to Reform's sync / sync_models method.
Actually, the name makes a lot of sense when you see it in context:
@conference_form = ConferenceForm.new(conference) @conference_form.submit(conference_params) if @conference_form.save
-
-
github.com github.com
-
Finally, you can use fields_for in order to create/edit associated fields and the suffix _list (like profile_list below) to choose an existing associated record.
-
@user_form = UserForm.new(User.find(params[:id])) # you need to load the record being edited
-
# Use relationship's name followed by "__" plus attribute's name # to validate has_one and belongs_to associations validates :name, :address__street, :company__name, presence: true
-
-
www.youtube.com www.youtube.com
-
API filter example at 15:38. https://youtu.be/W71YZyyRPgk?t=938
Tags
Annotators
URL
-
-
bioconductor.org bioconductor.org
-
data.frames (actually, tibbles
-
-
-
What do you do with your API key? "WHERE DO I PUT IT?!?" https://youtu.be/ecT42O6I_WI?t=338
Also, suggests to get a JSON formatter browser extension. e.g.: "JSON Formatter" from the Chrome Web Store Here's a good one: https://chrome.google.com/webstore/detail/json-viewer/gbmdgpbipfallnflgajpaliibnhdgobh/
Tags
Annotators
URL
-
-
www.youtube.com www.youtube.com
-
Gen3 Data Commons overview/explained.
-
-
www.youtube.com www.youtube.com
-
API endpoint filters are given as % encoded JSON: https://youtu.be/VT-chUoq-oo?t=221
Fields reference for endpoint:files: https://api.gdc.cancer.gov/files/_mapping
Fields reference for endpoint:genes: https://api.gdc.cancer.gov/genes/_mapping
Tags
Annotators
URL
-
-
apidocs.getresponse.com apidocs.getresponse.com
Tags
Annotators
URL
-
- Jan 2021
-
-
Path parameters:
- Identify a resource uniquely
Request body:
- Send and receive data via the REST API, often specifically to upload data.
- Needs to adhere to REST API principles to be RESTful. Therefore for POST/PUT, needs to send the whole resource in the body.
Query:
- Mainly used for filtering. If you send a query asking for a large number of resources, use query parameters to filter the set of resources that you want. Example: You send a request to api/pictures/category/cat. You will now get all pictures with cats which could be millions. You can put in the query more specific parameters to clarify your request, such as: api/pictures/category/cat?color=black&breed=korat. Now you will get the subset of pictures of cats which havethe color black and are korat cats.
-
-
jsonbible.com jsonbible.com
-
-
getbible.net getbible.netAPI1
-
-
docs.api.bible docs.api.bible
-
-
labs.bible.org labs.bible.org
Tags
Annotators
URL
-
- Dec 2020
-
github.com github.com
-
Jbuilder gives you a simple DSL for declaring JSON structures that beats manipulating giant hash structures. This is particularly helpful when the generation process is fraught with conditionals and loops.
-
-
github.com github.com
-
this second approach, while more verbose, sort of spells out better where things are coming from. (I like it, in other words.)
-
-
sapper.svelte.dev sapper.svelte.dev
-
page is a { host, path, params, query } object where host is the URL's host, path is its pathname, params is derived from path and the route filename, and query is an object of values in the query string.
I like that we don't have to manually parse params/query out of the full request URI. It provides the data that you are most likely to need, in an readily/easily-usable form.
Tags
Annotators
URL
-
-
-
Go is introducing publicly-visible API changes related to these issues in an upcoming major release, which risks making the vulnerabilities public without explicit public disclosure.
Whaaat ?!
-
-
-
The best solution that I found while trying to build a masonry component was to package up a pair of components and place child components inside a wrapper - I chose CardLayout and Card such that users would write something like: <CardLayout> <Card><MyBeautifulCard /></Card> <Card><AnotherCard /></Card> </CardLayout>
-
Hm, React-way is really hacky... When we talking about lists, masonry, or any other table-style components, first of all, we talk about arrays and iteration through them. If you iterate over the children in the Masonry component, somewhere (in parent component I guess) you also iterate over the actual items. Over and over again, in all places you use this component, you perform almost the same iteration twice. Why we should do this? I believe the interface of this kind of components should look like this: <Masonry {items} {colsNum} let:item> <SomeItemComponent>{item}</SomeItemComponent> </Masonry>
-
<script> export let items = []; export let colsNum = 3; $: cols = items.reduce(...); </script> {#each cols as col} {#each col as item} <slot {item} /> {/each} {/each}
Tags
Annotators
URL
-
-
github.com github.com
-
I think the main difference between the two are the way API are served. Some smelte components need you to input big chunk of json as props, while i prefer keep props as primitive types and in the other hand give you different components tags to compose.
-
I don't think this is what really matters at the end, since whatever is the implementation the goal should be to provide a library that people actually like to use.
Tags
- technical details
- API design
- +0.9
- better than the alternatives
- comparison
- nice API
- easy to use
- being the thing that people are looking for
- building blocks / primitives
- see content below
- something people like to use
- simple API
- svelte-material-ui
- pleasant/enjoyable to use
- usability
- primitives
- comparing one's project/product with competition/alternatives
- implementation detail
- doesn't matter
- better/superior solution/way to do something
- ergonomics (software API)
Annotators
URL
-
- Nov 2020
-
developer.mozilla.org developer.mozilla.org
-
The Object.getPrototypeOf() method returns the prototype (i.e. the value of the internal [[Prototype]] property) of the specified object.
internal: [[Prototype]]
Other times we see something used to indicate it is internal. In fact, this even supersedes proto__. So why did they use a different naming convention? Did they decide [[ ]] is a better naming convention?
-
-
github.com github.com
-
My focus is on make the API as simpler as possible to allows easy integration without even reading the docs but keeping and expand current features.
-
After i've stabilized the library i can start to discuss about adding new components and features!
-
-
material.io material.io
-
Adapters are strictly versioned: any change to an adapter interface - associative or not - is considered breaking and will cause a major version update of the component.
-
-
www.thinktecture.com www.thinktecture.com
-
Capacitor is a framework that provides developers a coherent API set to access various features on different platforms. By doing so, it also simplifies using those features. Especially for web APIs that are hard to use or require multiple steps to set them up, Capacitor provides an easy-to-use interface.
-
-
docs.aws.amazon.com docs.aws.amazon.com
-
The details of what goes into a policy vary for each service, depending on what actions the service makes available, what types of resources it contains, and so on.
This means that some kinds of validation cannot be done on write. For example, I've been able to write Resource values that contain invalid characters.
-
-
stackoverflow.com stackoverflow.com
-
I have created a thin wrapper around fetch() with many improvements if you are using a purely json REST API:
-
-
github.com github.com
-
However, this coalescing was very complicated, both in the specification and implementations, due to the dynamism of computed property names for accessors. Coalescing was a big source of overhead (e.g., in terms of code size) in polyfill implementations of "Stage 2" decorators.
-
-
stackoverflow.com stackoverflow.com
-
Newer versions of docker have config.v2.json
-
-
-
In short, I think the idea of public methods being actions works just fine as an api.
-
-
stackoverflow.com stackoverflow.com
-
But using internal api's is dangerous as these may change when you update svelte. If you decide to use this, add a line to your project Readme.md mentioning which internal api's you used and why. Try to write it using other methods when you can.
-
-
stackoverflow.com stackoverflow.com
-
Don't: import { get_store_value } from 'svelte/internal'; There's a public API equivalent
-
-
-
Some of the verbs implemented by systemctl are designed to provide a high-level overview in a human readable format. All that information is available over dbus, and/or journalctl, systemctl show. We could provide that information in json format, but there's a second problem. Information and format of information printed by e.g. systemctl status is not stable. Since the output is not suitable for programmatic consumption anyway, there's no need to provide it in a machine readable format.
-
- Oct 2020
-
hypothes.is hypothes.is
-
Get you Hypothes.is API toke here. To sync Hypothes.is notes for readwise.io, copy this API token and paste in the Add Highlights->Sync Highlights->Hypothes.is section in readwise.io.
-
-
rob-blackbourn.medium.com rob-blackbourn.medium.com
-
Much better API than using openssl CLI directly (yuck).
-
-
www.basefactor.com www.basefactor.com
-
return { type: "COUNTRY_BLACK_LIST", succeeded, message: succeeded ? "" : "This country is not available" }
-
-
final-form.org final-form.org
-
React Final Form was written by the same guy (@erikras) that wrote Redux Form, so much of the API is exactly the same.
-
-
github.com github.com
-
StackProf.start(mode: :cpu) StackProf.stop StackProf.results('/tmp/some.file')
Tags
Annotators
URL
-
-
masteringjs.io masteringjs.io
-
You can set options.params to a POJO as shown above, or to an instance of the JavaScript's built-in URLSearchParams class. const params = new URLSearchParams([['answer', 42]]); const res = await axios.get('https://httpbin.org/get', { params });
-
-
-
hyperscript is a perfectly good alternative and uses the same interface as matt esch's virtual-dom
-
-
github.com github.com
-
-
The goal is to bring element creation down to this logic:
-
-
-
By using HTML as the uniform interface, we can separate the interface from the engine.
-
-
en.wikipedia.org en.wikipedia.org
-
This assumes that the module has been given a well-defined, stable description (the interface in the sense of information hiding).
-
-
recoiljs.org recoiljs.org
-
We get a boilerplate-free API where shared state has the same simple get/set interface as React local state (yet can be encapsulated with reducers etc. if needed).
-
We want to improve this while keeping both the API and the semantics and behavior as Reactish as possible.
-
-
-
Once again I am reminded of the importance of API 101 demos, and how I need to focus more in this area.
I'd love to see a list of API 101 demos. This would be particularly cool if there were a DS106-esque site for content like this. Examples can be powerful things.
-
-
edtechfactotum.com edtechfactotum.com
-
My hope is that it will somehow bring comments on Facebook back to the blog and display them as comments here.
Sadly, Aaron Davis is right that Facebook turned off their API access for this on August 1st, so there currently aren't any services, including Brid.gy, anywhere that allow this. Even WordPress and JetPack got cut off from posting from WordPress to Facebook, much less the larger challenge of pulling responses back.
-
-
-
I couldn't land on how I wanted to box primitives. Should I use a getter/setter, or function form like Knockout, or explicit get/set like MobX? These were all ugly.
-
-
github.com github.com
-
However, if you want to create a backend API that is meant to be consumed only by your frontend, then you don't need REST nor GraphQL — RPC, such as Wildcard, is enough.
-
For an API used by many third parties with many diverse uses cases, GraphQL is the right tool.
-
-
www.npmjs.com www.npmjs.com
-
You can add an attribute replace to replace the current entry in the history stack instead of adding a new one.
Tags
Annotators
URL
-
-
developer.mozilla.org developer.mozilla.org
-
github.com github.com
-
This library exports a single React Hook, useMethods, which has all the power of useReducer but none of the ceremony that comes with actions and dispatchers.
-
-
final-form.org final-form.org
-
In Formik, validateOnBlur defaults to true and it allows you to tell Formik not to validate on blur. React Final Form validates on every change by default, and setting validateOnBlur to true is a way to tell React Final Form to only validate on blur (to not validate on change).
-
both copied much of their API from Redux Form, so, despite working very differently under the hood, there is a lot of overlap in their APIs.
-
- Sep 2020
-
github.com github.com
-
detach, as an api, should be declarative (ensure the node is detached) instead of imperative (detach the node), allowing it to be called multiple times by performing a noop if the node is already detached. This way, it won't matter if the node is removed from the DOM from outside of svelte.
-
-
final-form.org final-form.org
-
The onBlur function can take a SyntheticFocusEvent like it would if you had given it directly to an <input/> component, but you can also just call it: props.input.onBlur() to mark the field as blurred (inactive).
-
-
github.com github.com
-
If calling query() results in calls to Svelte's context API, then it needs to be called synchronously during component initialization.
-
-
github.com github.com
-
I have no familiarity with Svelte internals, so much of your talk about what they would do eludes me. I'm just concerned with developer ergonomics
-
-
final-form.org final-form.org
-
canvas.instructure.com canvas.instructure.com
-
Person.name.display
-
-
-
tip no 8. API should be explicit!
Optional props (which are not used) make the component less reusable.
In my opinion, the API of a component should match strictly the values that are used. If the prop is a large object in which only a subset of of properties are used, then it is better to restrict the API to those set of properties.
-
-
react-spectrum.adobe.com react-spectrum.adobe.comuseFocus1
-
let {focusProps} = useFocus({ onFocus: (e) => setEvents((events) => [...events, 'focus']), onBlur: (e) => setEvents((events) => [...events, 'blur']), onFocusChange: (isFocused) => setEvents((events) => [...events, `focus change: ${isFocused}`]) });
-
-
patronlarinensesindeyiz.org patronlarinensesindeyiz.org
-
Alpaida venger sp. nov.
-
-
github.com github.com
-
The feature is highly likely to be implemented, the API and implementation are the only real topics of discussion right now.
-
-
-
In general, my focus has shifted from optimization to DX. Partly because Svelte does a lot of the heavy lifting. For things that can be optimized on a need-to basis, I would rarely sacrifice DX.
-
The language should work for developers, not the other way around.
-
-
github.com github.com
-
This has the merit of simplicity and obviousness, but it's not particularly ergonomic: it signals that we don't consider component themeability to be a problem worth solving properly.
-
-
onthegosystems.com onthegosystems.com
-
To avoid these complexities, it was decided to introduce an additional, intermediate service, which was called Translation Proxy. Translation Proxy is an intermediate software between WPML and the software of other companies offering translation services.
-
-
wiobyrne.com wiobyrne.com
-
The purpose (for me) in these bookmarks is to identify a space (or process) between Hypothesis and my IndieWeb commonplace site. I want to read, review, and share the link, salient quotes, and perhaps some context for others. The use of Hypothesis helps as I have another series of links behind to “show my work.”
Bookmarks op je site zijn één van de meest traditionele vormen van bloggen en je eigen website vorm geven. Inderdaad kan Hypothesis helpen in het proces om de links van context te voorzien, ze bij elkaar te houden én via de Hypothesis API ze op allerlei manieren in je eigen systeem te krijgen. In welke vorm ze uiteindelijk in je eigen commonplace site/digital garden terecht komen, dat is aan je eigen creativiteit. Wat ik erg hoopgevend vind, is dat Hypothesis best wat metadata opslaat van de annotatie, wat weer mogelijkheden geeft voor andere dwarsverbanden, backlinks en digitaal "tuinieren".
-
- Aug 2020
-
www.onthegosystems.com www.onthegosystems.com
-
The straightforward solution to integrate WPML with third party translation services was to do it via dedicated plugins. A separate plugin for each company offering translation services could do the trick. However, this approach had a few drawbacks. For example, WPML developers would need to update and test all these plugins whenever the WPML core plugins received an update, and vice versa; when the API used by the external service changed, you needed to incorporate the change to WPML and test it as well.
-
WPML knows how to communicate with the Translation Proxy, and the Translation Proxy knows how to communicate with translation services. If a Translation Service company happened to change their API, we needed to only update the Translation Proxy.
-
- Jun 2020
-
agromonitoring.com agromonitoring.com
Tags
Annotators
URL
-
-
firebase.google.com firebase.google.com
-
You can use any Firebase Database URL as a REST endpoint. All you need to do is append .json to the end of the URL and send a request
Tags
Annotators
URL
-
-
indepth.dev indepth.dev
-
n an enterprise environment, you would likely use the express router and the code would probably look a little less verbose
Tags
Annotators
URL
-
-
-
Serverless architectures refer to applications that significantly depend on third-party services (known as Backend as a Service or “BaaS”) or on custom code that’s run in ephemeral containers (Function as a Service or “FaaS”). This simply means the application developer does not need to worry about provisioning servers and scaling them but simply relies on infrastructure and services already built for all of that
-
- May 2020
-
docs.gitlab.com docs.gitlab.com
-
docs.gitlab.com docs.gitlab.com
-
-
All API requests support performing an API call as if you were another user, provided you are authenticated as an administrator with an OAuth or Personal Access Token that has the sudo scope.
Tags
Annotators
URL
-
-
stackoverflow.com stackoverflow.com
-
Gitlab API can be used
-
-
www.catb.org www.catb.org
-
Write programs to handle text streams, because that is a universal interface.
-
-
www.chromestatus.com www.chromestatus.com
-
AppCache was standardized in the Offline Web applications section of the HTML specification. The standard is formally referred to as application caches. New Web applications should be built around Service Workers. Existing applications that use AppCache should migrate to Service Workers. AppCache access was removed from insecure origins in M70. This intent addresses AppCache usage in secure origins.
First and foremost, AppCache is a deprecated standard with serious architectural concerns. Second, Chrome's AppCache implementation is a security and stability liability. AppCache is documented as deprecated and under removal in MDN and in the WHATWG standard, and marked as obsolete in W3C’s HTML 5.1. It is incompatible with CORS, making it unfriendly for usage with CDNs. Overall, AppCache was changed in over 400 Chromium CLs in 2018-2019. It has imposed a tax on all of Chrome’s significant architectural efforts: Mojofication, Onion Souping, and the Network Service. The security benefits of the removal are covered under Security Risks.
-
-
www.iubenda.com www.iubenda.com
-
The iubenda Cookie Solution features a JS API for easy interaction with some of its main functions.
-
callback {} (object) – This is the parameter through which you can define the callback that iubenda Cookie Solution can perform upon the occurrence of an event
-
-
docs.aws.amazon.com docs.aws.amazon.com
-
For a non-proxy integration, you must set up at least one integration response, and make it the default response, to pass the result returned from the backend to the client. You can choose to pass through the result as-is or to transform the integration response data to the method response data if the two have different formats. For a proxy integration, API Gateway automatically passes the backend output to the client as an HTTP response. You do not set either an integration response or a method response.
integration vs method response
-
-
docs.aws.amazon.com docs.aws.amazon.com
-
Set up method response status code The status code of a method response defines a type of response. For example, responses of 200, 400, and 500 indicate successful, client-side error and server-side error responses, respectively.
method response status code
-
-
github.com github.com
-
Using the GraphQL API
Tags
Annotators
URL
-
-
api.consentreceipt.org api.consentreceipt.org
Tags
Annotators
URL
-
- Apr 2020
-
localhost localhost
-
Idukki District, Kerala
-