Seenthis
•
 
Identifiants personnels
  • [mot de passe oublié ?]

 
  • #j
RSS: #js

#js

  • #jsartoolkit
  • #jsf
  • #jsplumb
  • #jsr-283
  • #jsr-286
  • #jsr-170/283
  • #jscs
  • #jsdf
  • #jsil
  • #jsoc
  • #jsof
  • #json
  • #jsoauth
  • #jssj
  • #jstl
  • #jstor
  • #jstkamui
  • #jshint
  • #js_fatigue
  • #js-sequence-diagram
0 | 25 | 50 | 75 | 100 | 125 | 150 | 175 | 200
  • @b_b
    b_b @b_b PUBLIC DOMAIN 6/05/2022
    1
    @cy_altern
    1

    MF-JSON update & tutorial with official sample | Free and Open Source GIS Ramblings
    ▻https://anitagraser.com/2022/04/23/mf-json-update-tutorial-with-official-sample

    https://underdark.files.wordpress.com/2022/04/windtraj.png

    Since last week’s post, I’ve learned that there is an official OGC #Moving #Features #JSON Encodings repository with more recent sample datasets, including MovingPoint, MovingPolygon, and Trajectory JSON examples.

    Exemple de données :

    {
     "type" : "Feature",
     "temporalGeometry" : {
       "type" : "MovingPoint",
       "coordinates" : [ [ 111.9, 7.6 ], [ 111.3, 7.3 ], [ 111.1, 7.0 ], [ 110.7, 6.6 ], [ 110.2, 6.3 ], [ 109.9, 6.0 ], [ 109.5, 5.8 ], [ 108.6, 5.9 ], [ 108.0, 6.2 ], [ 107.0, 6.3 ], [ 105.8, 6.0 ], [ 105.0, 5.8 ], [ 104.1, 6.1 ], [ 103.4, 6.8 ], [ 102.5, 7.5 ], [ 101.5, 7.9 ], [ 100.8, 8.1 ], [ 100.1, 8.2 ], [ 99.4, 8.4 ] ],
       "datetimes" : [ "2018-12-31T06:00:00Z", "2018-12-31T12:00:00Z", "2018-12-31T18:00:00Z", "2019-01-01T00:00:00Z", "2019-01-01T06:00:00Z", "2019-01-01T12:00:00Z", "2019-01-01T18:00:00Z", "2019-01-02T00:00:00Z", "2019-01-02T06:00:00Z", "2019-01-02T12:00:00Z", "2019-01-02T18:00:00Z", "2019-01-03T00:00:00Z", "2019-01-03T06:00:00Z", "2019-01-03T12:00:00Z", "2019-01-03T18:00:00Z", "2019-01-04T00:00:00Z", "2019-01-04T06:00:00Z", "2019-01-04T12:00:00Z", "2019-01-04T18:00:00Z" ],
       "interpolation" : "Linear"
     },
     "temporalProperties" : [ {
       "datetimes" : [ "2018-12-31T06:00:00Z", "2018-12-31T12:00:00Z", "2018-12-31T18:00:00Z", "2019-01-01T00:00:00Z", "2019-01-01T06:00:00Z", "2019-01-01T12:00:00Z", "2019-01-01T18:00:00Z", "2019-01-02T00:00:00Z", "2019-01-02T06:00:00Z", "2019-01-02T12:00:00Z", "2019-01-02T18:00:00Z", "2019-01-03T00:00:00Z", "2019-01-03T06:00:00Z", "2019-01-03T12:00:00Z", "2019-01-03T18:00:00Z", "2019-01-04T00:00:00Z", "2019-01-04T06:00:00Z", "2019-01-04T12:00:00Z", "2019-01-04T18:00:00Z" ],
       "preasure" : {
         "type" : "Measure",
         "values" : [ 1004.0, 1004.0, 1004.0, 1004.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 998.0, 996.0, 996.0, 996.0, 1000.0, 1006.0 ],
         "form" : "A97",
         "interpolation" : "Linear"
       },
       "wind" : {
         "type" : "Measure",
         "values" : [ 0.0, 0.0, 0.0, 0.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 40.0, 45.0, 45.0, 45.0, 40.0, 0.0 ],
         "form" : "KNT",
         "interpolation" : "Linear"
       },
       "class" : {
         "type" : "Measure",
         "values" : [ 2.0, 2.0, 2.0, 2.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 2.0 ],
         "interpolation" : "Linear"
       }
     } ]
    }

    ▻https://github.com/opengeospatial/mf-json

    #mf-json #map

    b_b @b_b PUBLIC DOMAIN
    Écrire un commentaire
  • @rastapopoulos
    RastaPopoulos @rastapopoulos CC BY-NC 21/04/2022

    On choosing a hypermedia type for your API - HAL, JSON-LD, Collection+JSON, SIREN, Oh My ! - Kevin Sookocheff
    ▻https://sookocheff.com/post/api/on-choosing-a-hypermedia-format

    Un article qui compare 4 manières de structurer une API en JSON : JSON-LD, HAL, JSON:API, Collection+JSNO. Mais c’était en 2014. Depuis il me semble que JSON-LD est devenu plus important que JSON:API, niveau « leading format ».

    To solve these problems we can look at how we structure our API responses. By using hypermedia in our responses we can offer links between API endpoints and documentation, potential actions, and related endpoints. This allows for discoverable APIs where it is clear from the API response the set of next actions that a client may want to take. Furthermore, by standardizing on a hypermedia type clients developed for one API can understand the format of another API and communicate with minimal duplicated effort.

    In this post I will evaluate a few mature hypermedia types for APIs, offering a side-by-side comparison of their strengths and weaknesses. If you are impatient for the final result you can jump straight to the code.

    #API #JSON #développement #web #hypermedia

    RastaPopoulos @rastapopoulos CC BY-NC
    Écrire un commentaire
  • @cy_altern
    cy_altern @cy_altern CC BY-SA 22/02/2022
    3
    @rastapopoulos
    @tofulm
    @marcimat
    3

    portabletext/portabletext: Portable Text is a JSON based rich text specification for modern content editing platforms.
    ►https://github.com/portabletext/portabletext

    Portable Text is a JSON based rich text specification for modern content editing platforms.
    Portable Text is an agnostic abstraction of rich text that can be serialized into pretty much any markup language, be it HTML, Markdown, SSML, XML, etc. It’s designed to be efficient for real-time collaborative interfaces, and makes it possible to annotate rich text with additional data structures recursively.
    Portable Text is built on the idea of rich text as an array of blocks, themselves arrays of children spans. Each block can have a style and a set of mark definitions, which describe data structures distributed on the children spans. Portable Text also allows for inserting arbitrary data objects in the array, only requiring _type-key. Portable Text also allows for custom content objects in the root array, enabling editing- and rendering environments to mix rich text with custom content types.

    #Portable_Text #rich_text #json #block #contenu_structuré

    cy_altern @cy_altern CC BY-SA
    • @biggrizzly
      BigGrizzly @biggrizzly CC BY-NC-SA 22/02/2022

      #un_de_plus :-)

      BigGrizzly @biggrizzly CC BY-NC-SA
    Écrire un commentaire
  • @cy_altern
    cy_altern @cy_altern CC BY-SA 24/11/2021

    Hotel Schema Examples - Online Ownership
    ▻https://onlineownership.com/hotel-schema-examples

    Exemples de données structurées au format json selon schema.org pour hôtel, restaurant, bar...

    #données_structurées #json #schema.org

    cy_altern @cy_altern CC BY-SA
    Écrire un commentaire
  • @b_b
    b_b @b_b PUBLIC DOMAIN 10/11/2021
    4
    @rastapopoulos
    @marcimat
    @cy_altern
    @tofulm
    4

    MistQL | MistQL
    ▻https://mistql.com

    A miniature embeddable language for performing computations on JSON-like structures. MistQL uses a simple syntax to chain together complicated expressions in a fluent, easy to read manner. Readability is a major goal of MistQL.

    Exemples : events | filter type == "submit" | count ; events | groupby type | mapvalues count, etc

    Démo ▻https://www.mistql.com/tryitout

    #json et en rapport avec #jq

    b_b @b_b PUBLIC DOMAIN
    Écrire un commentaire
  • @martin
    Martin @martin PUBLIC DOMAIN 18/08/2021

    Fortnite copies Among Us in new Imposters mode - The Verge
    ▻https://www.theverge.com/2021/8/17/22628622/fortnite-among-us-copy-new-imposters-game-mode

    https://cdn.vox-cdn.com/thumbor/6rLQ4Yyliw2aZ-iNnd_Q-xJvaP8=/0x0:2360x1236/fit-in/1200x630/cdn.vox-cdn.com/uploads/chorus_asset/file/22787404/Screen_Shot_2021_08_17_at_9.21.59_AM.png

    Fortnite: Imposters is a new, limited-time game mode that’s rolling out today, one that might sound a bit familiar to anyone who’s played Among Us (one of the other incredible popular online games right now).

    jeu_vidéo #jeux_vidéo #jeu_vidéo_fortnite_imposters #jeu_vidéo_among_us #copie #plagiat #jeu_vidéo_fortnite #epic #dolphindom #kkslider #bunni_ #wert #blanky #jstkamui #mackjack #ritual #snownymous

    Martin @martin PUBLIC DOMAIN
    Écrire un commentaire
  • @cy_altern
    cy_altern @cy_altern CC BY-SA 14/07/2021
    1
    @spip
    1

    SleekDB - PHP NoSQL Flat File Database
    ▻https://sleekdb.github.io

    SleekDB is a simple flat file NoSQL like database implemented in PHP without any third-party dependencies that store data in plain JSON files.

    Une solution possible pour remplacer les sauvegardes Sqlite de SPIP qui nécessitent l’extension sqlite de PHP.

    Le repo Github : ▻https://github.com/rakibtg/SleekDB

    #sleekdb #noSQL #sauvegarde #SPIP #json

    cy_altern @cy_altern CC BY-SA
    Écrire un commentaire
  • @cy_altern
    cy_altern @cy_altern CC BY-SA 2/12/2020

    JSON Lines
    ▻https://jsonlines.org

    un format de stockage/échange pour JSON (semble un peu manquer d’implémentations dans les langages courants)
    Convertisseur vers JSON (npm) : ▻https://www.npmjs.com/package/jsonlines2json

    #json #javascript

    cy_altern @cy_altern CC BY-SA
    • @severo
      severo @severo PUBLIC DOMAIN 2/12/2020

      C’est pareil que ndjson ?

      Mike Bostock l’utilisait dans ses super articles sur l’utilisation de la ligne de commandes pour manipuler des données géographiques :

      ▻https://medium.com/@mbostock/command-line-cartography-part-2-c3a82c5c0f3

      severo @severo PUBLIC DOMAIN
    • @fil
      Fil @fil 2/12/2020

      je vois pas de différence ▻http://ndjson.org

      Fil @fil
    Écrire un commentaire
  • @cy_altern
    cy_altern @cy_altern CC BY-SA 3/10/2020

    zevero/simpleWebstorage: Clean interface for localStorage / sessionStorage
    ▻https://github.com/zevero/simpleWebstorage

    A clean interface for localStorage / sessionStorage in <20 lines of code.

    Usage :

    localStorage.set('myKey',{a:[1,2,5], b: 'ok'}); //can set a json Object
    localStorage.assign('myKey',{a:[6], c:42});     //shallow merge using Object.assign
    localStorage.has('myKey');                      // --> true
    localStorage.get('myKey');                      // --> {a:[6], b: 'ok', c:42}
    localStorage.keys();                            // --> ['myKey']
    localStorage.remove('myKey');                   // -

    #localStorage #sessionStorage #API #JSON

    cy_altern @cy_altern CC BY-SA
    Écrire un commentaire
  • @stephane
    Stéphane Bortzmeyer @stephane CC BY-SA 19/06/2020
    1
    @ericw
    1

    Si vous n’avez pas suivi toute l’affaire des failles de sécurité #Ripple20 (une faille dans la pile TCP/IP de la société #Treck, pile utilisée par de nombreux objets connectés), ou bien seulement sur BFM TV, voici les articles originaux :

    #JSOF, la société qui a découvert les failles : ▻https://www.jsof-tech.com/ripple20

    #ForeScout, la société qui a cherché les nombreuses boites utiilisant le logiciel de Treck : ▻https://www.forescout.com/company/blog/identifying-and-protecting-devices-vulnerable-to-ripple20

    Copie de la liste ici, au cas où : ▻https://gist.github.com/SwitHak/5f20872748843a8ad697a75c658278fe

    Bon, sinon, ZDnet a fait un bon résumé : ▻https://www.zdnet.com/article/ripple20-vulnerabilities-will-haunt-the-iot-landscape-for-years-to-come

    Et la vidéo faite par JSOF (sensationnaliste et pas très intéressante techniquement mais rigolote) : ▻https://www.youtube.com/watch?v=jkfNE_Twa1s&feature=emb_logo

    Stéphane Bortzmeyer @stephane CC BY-SA
    Écrire un commentaire
  • @cy_altern
    cy_altern @cy_altern CC BY-SA 20/05/2020
    1
    @tofulm
    1

    websanova/vue-store: A simple light-weight Vue “store” alternative to vuex.
    ▻https://github.com/websanova/vue-store

    Vue Store: a simple easy access store utility for Vue.js

    #vuejs #store #javascript #json

    cy_altern @cy_altern CC BY-SA
    Écrire un commentaire
  • @cy_altern
    cy_altern @cy_altern CC BY-SA 19/05/2020
    6
    @spip
    @tofulm
    @rastapopoulos
    @monolecte
    @gblin
    @7h36
    6

    Editor.js
    ▻https://editorjs.io

    Un éditeur de texte pour appli web, structuré en mode « blocs » et avec une sortie en JSON (semblerait un bon candidat pour un éditeur moderne pour SPIP...)

    Key features:
    – It is a block-styled editor
    – It returns clean data output in JSON
    – Designed to be extendable and pluggable with a simple API

    What does it mean «block-styled editor»
    Workspace in classic editors is made of a single contenteditable element, used to create different HTML markups. Editor.js workspace consists of separate Blocks: paragraphs, headings, images, lists, quotes, etc. Each of them is an independent contenteditable element (or more complex structure) provided by Plugin and united by Editor’s Core.
    There are dozens of ready-to-use Blocks and the simple API for creation any Block you need. For example, you can implement Blocks for Tweets, Instagram posts, surveys and polls, CTA-buttons and even games.

    What does it mean clean data output
    Classic WYSIWYG-editors produce raw HTML-markup with both content data and content appearance. On the contrary, Editor.js outputs JSON object with data of each Block. You can see an example below
    Given data can be used as you want: render with HTML for Web clients, render natively for mobile apps, create markup for Facebook Instant Articles or Google AMP, generate an audio version and so on.

    #éditeur #editorjs #SPIP #edition_bloc #json #WYSIWYG

    cy_altern @cy_altern CC BY-SA
    • @rastapopoulos
      RastaPopoulos @rastapopoulos CC BY-NC 20/05/2020

      J’ai regardé un peu hier, le fonctionnement, la doc API, etc, et de ce que je comprends, ce projet est en gros le principe de l’éditeur Gutenberg de WP mais en autonome. Et pour l’instant de ce que j’ai vu, il a beau avoir un format pivot JSON abstrait au milieu, il n’est conçu que pour générer du HTML au final. Mais peut-être que j’ai mal cherché…

      Ce qui n’est pas le cas de ProseMirror, dont le but c’est bien d’éditer en web un format pivot JSON mais en pouvant produire n’importe quoi en sortie du moment qu’il y a un générateur de tel type (html, ou markdown, ou SPIP, ou etc).
      Cf
      ►https://seenthis.net/messages/693664
      et
      ▻https://seenthis.net/messages/651447

      RastaPopoulos @rastapopoulos CC BY-NC
    Écrire un commentaire
  • @stephane
    Stéphane Bortzmeyer @stephane CC BY-SA 13/04/2020
    7
    @simplicissimus
    @kent1
    @ericw
    @severo
    @cy_altern
    @7h36
    @die_brucke
    7

    La carte des #câbles_sous_marins utilisant #OpenStreetMap :

    ▻https://framacarte.org/fr/map/submarine-cable-map_72142

    (Les autres cartes existantes utilisent toutes le privateur capitaliste Google Maps.)

    Stéphane Bortzmeyer @stephane CC BY-SA
    • @stephane
      Stéphane Bortzmeyer @stephane CC BY-SA 13/04/2020

      Et les explications techniques, pour les mordus de #cartographie et d’#OpenData #JSON avec #jq : ▻http://shaarli.guiguishow.info/?UJyNPw

      Stéphane Bortzmeyer @stephane CC BY-SA
    • @rastapopoulos
      RastaPopoulos @rastapopoulos CC BY-NC 13/04/2020

      pas très fluide et complètement coupé en plein milieu du pacifique :(

      RastaPopoulos @rastapopoulos CC BY-NC
    • @b_b
      b_b @b_b PUBLIC DOMAIN 14/04/2020

      Une autre version ici ▻https://observablehq.com/@ariellemartinez/submarine-cable-map et des données pour s’amuser par là ▻https://github.com/telegeography/www.submarinecablemap.com

      b_b @b_b PUBLIC DOMAIN
    • @stephane
      Stéphane Bortzmeyer @stephane CC BY-SA 15/04/2020
      @rastapopoulos

      @rastapopoulos La coupure au milieu du Pacifique est due au fait que, contrairement à Google, umap ne semble pas répéter indéfiniment les données. Le fond de carte se répète, mais pas les données.

      Stéphane Bortzmeyer @stephane CC BY-SA
    • @stephane
      Stéphane Bortzmeyer @stephane CC BY-SA 23/08/2021

      Des nouveautés ! ▻http://shaarli.guiguishow.info/?xlcSCQ

      Stéphane Bortzmeyer @stephane CC BY-SA
    Écrire un commentaire
  • @cy_altern
    cy_altern @cy_altern CC BY-SA 5/02/2020
    3
    @b_b
    @tofulm
    @spip
    3
    @azerttyu

    ▻https://git.spip.net/explore/organizations

    Récupérer les données détaillées des repos git de SPIP au format JSON :
    – le core : ▻https://git.spip.net/api/v1/orgs/spip/repos
    – les plugins : ▻https://git.spip.net/api/v1/orgs/spip-contrib-extensions/repos
    – les squelettes : ▻https://git.spip.net/api/v1/orgs/spip-contrib-squelettes/repos
    – les thèmes : ▻https://git.spip.net/api/v1/orgs/spip-contrib-themes/repos
    – les outils : ▻https://git.spip.net/api/v1/orgs/spip-contrib-outils/repos
    – galaxie : ▻https://git.spip.net/api/v1/orgs/spip-galaxie/repos

    (source : ▻https://git.spip.net/spip-contrib-outils/git_loader/src/branch/master/git_loader.sh#L81
    merci @azerttyu )

    #SPIP #git.spip.net #json #plugins

    cy_altern @cy_altern CC BY-SA
    • @amin
      net2 @amin 10/02/2020

      I would thank you for your helpful advice i didn’t even know . thanks

      net2 @amin
    • @jeanmarie
      jeanmarie @jeanmarie CC BY-NC-SA 12/02/2020
      @seenthis

      @seenthis « Spam, spam, spam » (+ émoji notes de musique)

      jeanmarie @jeanmarie CC BY-NC-SA
    • @b_b
      b_b @b_b PUBLIC DOMAIN 12/02/2020
      @jeanmarie @amin

      @jeanmarie je doute sur la teneur en spam du compte @amin je laisse l’équipe décider sur ce point.

      b_b @b_b PUBLIC DOMAIN
    • @cy_altern
      cy_altern @cy_altern CC BY-SA 13/02/2020
      @b_b

      @b_b : il a quand même 2 symptômes « types » des comptes de spammeurs :
      – son pseudo est identique au nom de son site (net2.com)
      – ses billets n’ont référencé que son site

      cy_altern @cy_altern CC BY-SA
    • @b_b
      b_b @b_b PUBLIC DOMAIN 13/02/2020
      @cy_altern

      @cy_altern je vous laisse en débattre sur la liste seenthis et me signaler s’il est nécessaire de supprimer le compte.

      /me retourne faire des cartons...

      b_b @b_b PUBLIC DOMAIN
    Écrire un commentaire
  • @cy_altern
    cy_altern @cy_altern CC BY-SA 6/08/2019
    1
    @tofulm
    1

    Unserialize - PHP, JSON, Base64
    ▻https://www.unserialize.com

    Utilitaire en ligne pour désérialiser des données sérialisées en JSon ou PHP serialize

    #outil #web_dev #unserialize #serialiser #json

    cy_altern @cy_altern CC BY-SA
    Écrire un commentaire
  • @cy_altern
    cy_altern @cy_altern CC BY-SA 24/06/2019
    1
    @spip
    1

    Open Source / apibridge · GitLab
    ▻https://git.nursit.net/open/apibridge

    API Bridge
    Point d’entrée pour échanger des données (json par défaut) avec un site SPIP ou entre deux sites SPIP
    Fonctionnement
    S’appuie sur des appels HTTP à bridge.api (mais peut être étendu à d’autres noms d’actions facilement). Les urls xxx.api appellent chez SPIP automatiquement les fichiers action/api_xxx.php. C’est donc le fichier action/api_bridge.php qui s’occupe de l’analyse de la requête et d’émettre la réponse.
    Exemples d’appels simples :
    ▻https://domain.tld/bridge.api/v1/ping
    ▻https://domain.tld/bridge.api/v1/ping/timestamp

    #SPIP #API #json #web_dev

    • #Open Source
    cy_altern @cy_altern CC BY-SA
    • @jeanmarie
      jeanmarie @jeanmarie CC BY-NC-SA 24/06/2019

      #spip_blog

      jeanmarie @jeanmarie CC BY-NC-SA
    Écrire un commentaire
  • @cy_altern
    cy_altern @cy_altern CC BY-SA 13/06/2019

    About JSHint
    ▻https://jshint.com/about

    JSHint is a community-driven tool that detects errors and potential problems in JavaScript code. Since JSHint is so flexible, you can easily adjust it in the environment you expect your code to execute. JSHint is open source and will always stay this way.

    La documentation : ▻https://jshint.com/docs
    Toutes les options : ▻https://jshint.com/docs/options

    #javascript #jshint #web_dev #outil #erreur #linter

    cy_altern @cy_altern CC BY-SA
    • @b_b
      b_b @b_b PUBLIC DOMAIN 13/06/2019

      Testé un peu, j’ai tenté de basculer ma conf #eslint ▻https://github.com/brunob/leaflet.fullscreen/blob/master/.eslintrc vers #jshint sans succès pour l’insntant, donc je reste sur eslint...

      b_b @b_b PUBLIC DOMAIN
    Écrire un commentaire
  • @cy_altern
    cy_altern @cy_altern CC BY-SA 21/05/2019
    4
    @spip
    @gastlag
    @tofulm
    @rastapopoulos
    4

    mermaid · GitBook
    ▻https://mermaidjs.github.io

    Generation of diagrams and flowcharts from text in a similar manner as markdown.
    Ever wanted to simplify documentation and avoid heavy tools like Visio when explaining your code?
    This is why mermaid was born, a simple markdown-like script language for generating charts from text via javascript.

    Un générateur (javascript) de diagrammes à partir de sources en markdown.
    Basé sur le moteur de rendu de #3djs, utilise la syntaxe de js-sequence-diagram (▻https://bramp.github.io/js-sequence-diagrams)

    A tester : l’éditeur en ligne ▻https://mermaidjs.github.io/mermaid-live-editor

    Plusieurs éditeurs de code supportant le markdown proposent des plugins pour la prévisualisation (VS Code, Sublime text, VIm...).
    Un plugin Gitlab permet d’afficher les schémas intégrés dans les fichiers .md (en particulier le Readme.md) : idéal pour des schémas intégrés à la documentation
    (à intégrer dans le plugin markdown de SPIP ?)

    #diagramme #javascript #markdown #gitlab #js-sequence-diagram #documentation

    cy_altern @cy_altern CC BY-SA
    Écrire un commentaire
  • @cdb_77
    CDB_77 @cdb_77 3/05/2019
    2
    @reka
    @gillesm
    2
    @reka

    The US Military and the African Front

    The U.S. military posture in Africa has often been described as a “light footprint.” Recent revelations tell a different story.

    https://geopoliticalfutures.com/wp-content/uploads/2019/04/WG_US-Africa.png

    ▻https://geopoliticalfutures.com/us-military-african-front
    #armée #USA #Etats-Unis #Afrique #cartographie #visualisation #présence_militaire #AFRICOM #SOCAFRICA #bases_militaires #JSOC #opérations_militaires
    Et ce mot #front, dans le titre...
    signalé par @reka sur twitter

    • #United States
    CDB_77 @cdb_77
    Écrire un commentaire
  • @cy_altern
    cy_altern @cy_altern CC BY-SA 3/04/2019
    5
    @tofulm
    @b_b
    @reka
    @sodaa
    @rastapopoulos
    5

    Données sémantiques, structurées et associées, le choix JSON-LD - Alsacreations
    ▻https://www.alsacreations.com/article/lire/1780-donnees-semantiques-structurees-associees-le-choix-JSON-LD.html

    JSON-LD est une adaptation de JSON qui permet de servir des données associées (utilisant un vocabulaire défini par avance) et structurées sur le Web.
    Successeur des microformats / microdatas HTML5, semble bien parti pour devenir LE format des données sémantiques sur le web.

    Voir aussi :
    – la doc de Google dev pour les « données structurées » en tant qu’élément fondamental dans le référencement d’un site : ▻https://developers.google.com/search/docs/guides/intro-structured-data
    – la dernière version de la spécification du w3c : ▻https://w3c.github.io/json-ld-syntax

    #JSON-LD #données_structurées #microformat #microdata #référencement #web_sémantique

    cy_altern @cy_altern CC BY-SA
    • @rastapopoulos
      RastaPopoulos @rastapopoulos CC BY-NC 3/04/2019

      C’est pas tant que le successeur des microdatas : ça utilise le même registre schema.org comme vocabulaire de description des données. Mais dans un cas c’est embed dans le HTML, et dans l’autre c’est dans un document à part. Ça dépend des utilisations.

      RastaPopoulos @rastapopoulos CC BY-NC
    Écrire un commentaire
  • @cdb_77
    CDB_77 @cdb_77 26/03/2019
    2
    @fil
    @josephine2
    2

    Academics, don’t write for #The_Conversation, they are not good people. I judge you every single time you post Conversation links. It’s like wearing a sticker saying you don’t support your precarious colleagues.

    The Conversation won’t let non-affiliated academics write for them, thus excluding casualised and unemployed academics. They also syndicate to the right wing press, thus exposing scholars doing anti-racist, pro-migration, and gender work to a great deal of abuse.

    ▻https://twitter.com/DrFloraPoste/status/1110139262157099008
    #publication #stratégie_de_publication #édition_scientifique #université #précarité #extrême_droite
    #boycott ?

    CDB_77 @cdb_77
    • @cdb_77
      CDB_77 @cdb_77 26/03/2019
      @visionscarto @vacarme

      #Alternatives (surtout, mais pas que, pour les géographes) :

      1. #Métropolitiques
      ▻https://www.metropolitiques.eu

      2. #Visionscarto @visionscarto :
      ►https://visionscarto.net

      3. Rubrique « espace public » de la revue en ligne #JSSJ (#justice_spatiale / #spatial_justice) :
      ▻https://www.jssj.org/issue/juillet-2018-espace-public

      4. Revue #Vacarme (@vacarme) :
      ▻https://vacarme.org

      5. #Raison_publique :
      ▻http://www.raison-publique.fr

      6. #La_vie_des_idées :
      ▻https://laviedesidees.fr

      7. #AOC :
      ▻https://aoc.media

      8. #Les_mots_sont_importants #lmsi
      ►http://lmsi.net

      CDB_77 @cdb_77
    • @reka
      Reka @reka CC BY-NC-SA 26/03/2019

      aussi le très important ►http://lmsi.net

      Reka @reka CC BY-NC-SA
    • @cdb_77
      CDB_77 @cdb_77 26/03/2019
      @reka

      Merci @reka, j’ajoute à la liste

      CDB_77 @cdb_77
    • @ant1
      ant1 @ant1 CC BY-NC 26/03/2019

      merci pour les alternatives, existe-t-il toutefois une source fiable (je ne connais pas ce compte touitter) de ces allégations ?
      notamment: “syndicate to the right wing press, thus exposing scholars doing anti-racist, pro-migration, and gender work to a great deal of abuse.”

      ant1 @ant1 CC BY-NC
    • @cdb_77
      CDB_77 @cdb_77 26/03/2019

      Non, je n’en ai pas pour l’instant, mais je suis preneuse pour plus d’informations...

      Sur seenthis, il y a cela :
      ▻https://seenthis.net/messages/735057

      CDB_77 @cdb_77
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 11/02/2019

    JSON Web Tokens (JWT) Demystified
    ▻https://hackernoon.com/json-web-tokens-jwt-demystified-f7e202249640?source=rss----3a8144eabfe3-

    https://cdn-images-1.medium.com/max/1024/1*zDUa3wiFQft0ILDZJfn9JQ.png

    JSON Web Token (JWT, often pronounced “jot”) is a powerful tool for confidently transmitting data between two parties through tokens. These parties can consist of users, servers, or any other combination of services. Based on an open standard (RFC-7519), JWTs are digitally signed with an encryption algorithm, so the receiving party can trust the information contained within. In computer #security this concept is known as Data Integrity.One main benefit of using a #jwt is that it’s very compact (assuming the issuer uses JWS Compact Serialization, which is recommended). They are generally small enough to be sent through a POST request, in an HTTP Header, or even as a query string within a URL. However, the more claims you add to a JWT, the more bloated it becomes. You could theoretically (...)

    #coding #json-web-token #nodejs

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 25/01/2019

    Unpacking #javascript classes
    ▻https://hackernoon.com/unpacking-javascript-classes-81d32804c978?source=rss----3a8144eabfe3---4

    Let’s cut to the chase. So, what do classes mean in JavaScript?To understand classes, we must dig deeper, starting from Object constructorThe Object constructor is the root of all JavaScript objects. You can create any kind of object using the Object constructor. Let me give you the first spoiler of this story here.“It is important to note that, all objects in JavaScript are instances of Object. Think of any object in JavaScript as an instance created by calling Object constructor”// Object(’k1’:’v1’, ’k2’:’v2’)console.log(new Object(’k1’:’v1’, ’k2’:’v2’))// Array[1 ,2, 3]console.log(new Object([1, 2, 3])So, now that we are clear what Object constructor is used for, lets look at the properties of Object constructor.// Print (...)

    #constructor-function #programming #js #web

    • #JavaScript
    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 28/12/2018

    Create a Go #json #parser: Batteries Included
    ▻https://hackernoon.com/create-a-go-json-parser-batteries-included-9d02d09fe508?source=rss----3a

    https://cdn-images-1.medium.com/max/1024/1*CeP3A7A60m6Osl8miEkksQ.jpeg

    The inspiration for this post came from a project at work. I was building a service that required the comparison of two Json objects. The catch was that I needed to be able to replace keys, filter out paths, and apply comparison functions to specific nodes.Obviously, a standard library comparison function such as reflect.DeepEqual() would not work. ?The solution was to build a AST(Abstract Syntax Tree) modeled off of the Json objects. Every Node in the tree represents either a string, integer, array, or object.By doing this I would allow for the flexibility to more easily apply algorithms onto the data.To build this we’ll start with the Lexer to generate Tokens. Then move onto the Parser which will take the tokens and match them to Json grammar. Finally, we’ll add AST hooks to generate the (...)

    #golang #go-json-parser #programming

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 16/12/2018

    #babel : Your first code transformations
    ▻https://hackernoon.com/babel-your-first-code-transformations-2d1a9a2f3bc4?source=rss----3a8144e

    https://cdn-images-1.medium.com/max/1024/1*yl42Tqet103wA6seNUBLXA.jpeg

    In this tutorial, we will do some basic transforms to some source code, using Babel. Many people find the idea of transforming code scary, and unapproachable, but utilising the power of AST’s (abstract syntax trees), and a set of tools provided to us by Babel, most of the heavy lifting is done for us.Note: The examples in the article will include code specific to react, redux, and react-redux, but familiarity with these libraries is not necessary for this tutorial.AST ExplorerThere is a website called AST explorer, that we can paste our code into and get an AST representation in many formats. This website will be useful for quickly viewing code in AST format, and will be useful when ascertaining which nodes we need to target.Basic insertionBelow, we have a file reducers.js with a couple (...)

    #javascript #code-transformation #js #babeljs

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
0 | 25 | 50 | 75 | 100 | 125 | 150 | 175 | 200

Thèmes liés

  • #json
  • #json
  • technology: json
  • #javascript
  • #api
  • #spip
  • #web
  • #rfc
  • #cartographie
  • #outil
  • #développement
  • #map
  • #js
  • #json-ld
  • #jsil
  • #web_dev
  • programminglanguage: javascript
  • #rest
  • #data
  • company: google
  • #jshint
  • #édition_scientifique
  • technology: api
  • #rss
  • #javascript
  • #tutoriel
  • #csv
  • #spip
  • #http
  • #schema.org
  • #vuejs
  • technology: xml
  • #geojson
  • country: israël
  • #php
  • #film
  • #université
  • #documentation
  • #programming
  • #syndication