▻https://github.com/ether/etherpad-lite-jquery-plugin/blob/master/README.md
The Etherpad jQuery Plugin easily allows you to embed and access a pad from Etherpad in a web page. The plugin injects the pad contents into a div using iframes. It can also read the contents of a Pad and write it to a div.
#Jackalope, a PHP adaption of the Java #Content_Repository (JCR)
▻http://jackalope.github.io
“Jackalope is an open source implementation of the #PHPCR #API, which is a PHP adaption of the Java Content Repository (JCR) standard, an open API specification defined in #JSR-170/283. Jackalope implements the PHPCR interfaces and storage agnostic application code. You need to chose one of the transport implementations to get a functional application.” Tags: Jackalope PHPCR #JCR JSR-170 #JSR-283 API Content (...)
Using #jshint with #geany · trongthanh/geany-for-front-end-dev Wiki
►https://github.com/trongthanh/geany-for-front-end-dev/wiki/Using-JSHint-with-Geany
A tutorial how to install and use JSHint with #javascript file within Geany
#npm
Un plugin similaire existe aussi pour le #Gedit :
▻https://github.com/Kilian/gedit-jshint
Ça a l’air plus facile à installer d’ailleurs : uniquement copier le plugin et l’activer. :)
Et hop, une commande perso pour utiliser #PrettyCSS depuis geany :
prettycss -c /home/bb/.config/prettycss.conf --ignore-all %f > /tmp/prettycss.css && cp /tmp/prettycss.css %f && geany %f
Et re hop, un petit tuto en plus sur le wiki :
▻https://github.com/trongthanh/geany-for-front-end-dev/wiki/Using-PrettyCSS-with-Geany
RFC 7165 : Use Cases and Requirements for JSON Object Signing and Encryption (JOSE)
Il est traditionnel de classer les mécanismes de sécurité de l’Internet en deux, ceux fondés sur la sécurité du canal et ceux fondés sur la sécurité de l’objet. Pour les premiers, on garantit certaines propriétés de l’objet pendant son transit dans un canal donné. Pour les seconds, l’objet se déplace en permanence dans une armure cryptographique qui le protège, quelle que soit la sécurité du canal où il voyage. Le groupe de travail #JOSE de l’#IETF cherche à procurer une sécurité de l’objet aux textes encodés en #JSON. Son premier #RFC est consacré à décrire les cas d’usage et le cahier des charges de cette sécurité.
▻https://github.com/uberVU/grid
#Drag_and_drop library for a two-dimensional resizable and responsive list of items
#js #web_design
/ Browser Height and Device Type /
var platform = ’’;
if (s.u.match(/(kindle|silk-accelerated|android|webos|rim tablet os|windows phone)/i)) {
platform = ’mobile other’;
} else if (s.u.match(/windows/i)) {
platform = ’windows’;
}else if (s.u.match(/(iphone|ipod)/i)) {
platform = ’iphone/ipod touch’;
} else if (s.u.match(/(ipad)/i)) {
platform = ’ipad’;
}else if (s.u.match(/Mac OS X/i)){
platform = ’Mac’;
} else {
platform = ’other’;
}
RFC 7158 : The JSON Data Interchange Format
Il existe une pléthore de langages pour décrire des données structurées. #JSON, normalisé dans ce #RFC (qui succède au RFC 4627), est actuellement le plus à la mode. JSON se veut plus léger que XML. Comme son concurrent XML, c’est un format textuel, et il permet de représenter des structures de données hiérarchiques.
Remplacé par le RFC 7159, suite à une stupide coquille non détectée. ▻http://www.bortzmeyer.org/7159.html
The NSA’s Secret Role in the U.S. Assassination Program
▻https://firstlook.org/theintercept/article/2014/02/10/the-nsas-secret-role
According to a former drone operator for the military’s Joint Special Operations Command (#JSOC) who also worked with the #NSA, the agency often identifies targets based on controversial #metadata analysis and cell-phone tracking technologies. Rather than confirming a target’s identity with operatives or informants on the ground, the #CIA or the U.S. military then orders a strike based on the activity and location of the #mobile phone a person is believed to be using.
The #drone operator, who agreed to discuss the top-secret programs on the condition of anonymity, was a member of JSOC’s High Value Targeting task force, which is charged with identifying, capturing or killing terrorist suspects in Yemen, Somalia, Afghanistan and elsewhere.
His account is bolstered by top-secret NSA documents previously provided by whistleblower Edward #Snowden. It is also supported by a former drone sensor operator with the U.S. Air Force, Brandon Bryant, who has become an outspoken critic of the lethal operations in which he was directly involved in #Iraq, #Afghanistan and #Yemen.
(...)
One problem, he explains, is that targets are increasingly aware of the NSA’s reliance on geolocating, and have moved to thwart the tactic. Some have as many as 16 different #SIM_cards associated with their identity within the High Value Target system. Others, unaware that their mobile phone is being targeted, lend their phone, with the SIM card in it, to friends, children, spouses and family members.
Some top Taliban leaders, knowing of the NSA’s targeting method, have purposely and randomly distributed SIM cards among their units in order to elude their trackers. “They would do things like go to meetings, take all their SIM cards out, put them in a bag, mix them up, and everybody gets a different SIM card when they leave,” the former drone operator says. “That’s how they confuse us.”
As a result, even when the agency correctly identifies and targets a SIM card belonging to a terror suspect, the phone may actually be carried by someone else, who is then killed in a strike. According to the former drone operator, the geolocation cells at the NSA that run the tracking program – known as Geo Cell –sometimes facilitate strikes without knowing whether the individual in possession of a tracked cell phone or SIM card is in fact the intended target of the strike.
“Once the bomb lands or a night raid happens, you know that phone is there,” he says. “But we don’t know who’s behind it, who’s holding it. It’s of course assumed that the phone belongs to a human being who is nefarious and considered an ‘unlawful enemy combatant.’ This is where it gets very shady.”
(...)
What’s more, he adds, the NSA often locates drone targets by analyzing the activity of a SIM card, rather than the actual content of the calls. Based on his experience, he has come to believe that the drone program amounts to little more than death by unreliable metadata.
“People get hung up that there’s a targeted list of people,” he says. “It’s really like we’re targeting a cell phone. We’re not going after people – we’re going after their phones , in the hopes that the person on the other end of that missile is the bad guy.”
En 2011 #Gareth_Porter avait déjà dit l’essentiel
▻http://www.truth-out.org/news/item/3588:how-mcchrystal-and-petraeus-built-an-indiscriminate-killing-machine
Although the raids have undoubtedly killed a large number of Taliban commanders and fighters, it is now clear that they also killed and incarcerated thousands of #innocent civilians. The failure to discriminate between combatants and civilians flows directly from a targeting methodology that is incapable of such discrimination.
(...)
... McChrystal’s operation relied on far more mundane technologies than Woodward’s sensational language suggested. In a new book, “Task Force Black,” by Mark Urban, the diplomatic editor at BBC’s “Newsnight,” reveals that McChrystal’s command gathered intelligence on al-Qaeda and Mahdi Army personnel from three well-known technologies: 24-hour surveillance by drone aircraft, monitoring of mobile phone traffic and pinpointing the physical location of the phones from their signals.
(...)
Targeting Phone Numbers, Not People
kiln/cartograms
▻https://github.com/kiln/cartograms
Code for generating area cartograms (repéré via ▻http://seenthis.net/messages/223886)
Fit.js » Fit things into other things
▻http://soulwire.github.io/fit.js
fit( theThing, / into / theOtherThing );
#js
Aaron Swartz : sur les traces d’une étoile filante du Net
►http://www.telerama.fr/medias/aaron-swartz-sur-les-traces-d-une-etoile-filante-du-net,95428.php
#souvenir #internet #jstor
(vais-je me remettre d’avoir posté un lien vers le Téléstar des enfants de prof ?)
▻http://www.insertafter.com/articles-remplacer_json_par_varstream.html
Introduction au format VarStream par Nicolas Froidure.
C’est un format d’échange de données, lisible, streamable et auto-référençable.
Ça peut servir à partager / synchroniser les mêmes données entre plusieurs clients. Utile pour les applications web collaboratives #temps_réel et les #jeux_vidéos (multi-joueurs).
Implémenté en #Javascript et en #PHP
NTH-TEST | #nth-child and #nth-of-type Tester
▻http://nth-test.com
I have seen so many tweets of late with people getting their heads frazzled with nth-child and nth-of-type. So I decided to knock this together so people can play around and test their nth’s out!
Enter your nth number and it will change as you type
#web_design #js
Pour info,
Josh Begley
Data artist & web developer
▻http://joshbegley.com
The Chilling Geometry of Every US Military Base Seen From Space
▻http://gizmodo.com/the-chilling-geometry-of-every-us-military-base-seen-fr-1481870788
Liste de toutes les frappes de drones recensées
(données en ligne, #JSON)
▻http://dronestre.am
Mighty #slider : un slider payant mais qui mérite le détour
▻http://www.soon7.com/e-marketing/mighty-slider-un-slider-payant-mais-qui-merite-le-detour
Je n’ai pas pour habitude de parler des éléments #premium (payant) qu’on trouve sur le net, mais ce slider m’a tout simplement scotché. MightySlider est un plugin jquery premium (c’est à dire payant) disposant de tout ce dont vous avez besoin pour avoir un slider phénoménal sur votre site. Il fonctionne très bien en mode […]
JSONView : : Modules pour Firefox
▻https://addons.mozilla.org/fr/firefox/addon/jsonview
Avec l’extension JSONView, les fichiers JSON sont affichés dans votre navigateur de la même manière que les fichiers XML. Le document est formaté, avec une coloration syntaxique, les arrays et objects peuvent être repliés/déployés. Même si le document JSON contient des erreurs, l’extension vous le montrera tout de même en texte brut.
J’utilise cette extension depuis un moment et je ne peux que la conseiller, elle facilite grandement la lecture du JSON et permet de repérer tout de suite si le fichier est valide ou non.
Ouep, je l’ai conseillé avant-hier soir sur IRC, il me semble. Un truc bien aussi c’est que ça gère les liens quand il en découvre, donc on peut ensuite naviguer entre documents JSON comme on navigue entre pages web si on a des liens entre eux.
Je l’utilise pour voir les représentations JSON d’objets #SPIP. :)
Les petits détails d’ #ergonomie qu’on aime bien.
Float Label Pattern
▻http://bradfrostweb.com/blog/post/float-label-pattern
Designer Matt D Smith shared a Dribble shot of a clever new form interaction pattern. The float label pattern floats the inline label up above the input after the user focuses on the form field or enters a value.
Ça ressemble à ça :
Des implémentations en #JS :
▻https://github.com/maman/JVFloat.js
▻http://labs.mikemitchell.co.uk/FloatLabelJS
une revue numérique indépendante
traitant de design, de diy et de combinaisons spatiales
Strabic.fr est une revue oblique qui parle de conception et d’arts de faire.
Strabic.fr est née d’une volonté profonde : parler de design sans paillettes ni projecteurs, de forme et de fond, de ce qui se fait et ce qui peut se faire, de pourquoi et comment cela se fait, d’extravagance et d’excursions, avec exigence et exotisme.
Strabic.fr est une revue à géométrie variable mais à mémoire de forme. Elle se fabrique dans nos cuisines, à l’heure de l’apéritif ou du café, entre amis et avec ceux qui le deviennent.
via @julienb , à l’occasion d’un rafraichissement du site.
Je n’ai plus de tablette (je viens de finir le cote d’or aux noisettes).
Pour la lecture, le corps de texte est sympa je trouve (mais je n’irais pas plus gros... on se perd vite dans le texte). Par contre, les titres, intertitres, chapeaux, etc... sont assez durs avec les yeux. Sinon, j’aime assez ce que j’ai pu lire du contenu :)
@ari Les boss de la typo sont sur ce genre de tailles : ▻http://ia.net/blog (en em, mais ça revient au même avec 16px comme police de navigateur). ►http://medium.com est sur du 22px. Après, ce sont des textes en anglais, ma lecture n’est peut-être pas la même. @orientXXI y va fort aussi sur les chapô : 1.6em. Sur le texte de paragraphe c’est plus léger, et il tente de la césure.
A vrai dire, je trouve encore que c’est chez strabic que c’est le mieux réussit. Le rapport longueur de ligne / hauteur de ligne / taille de caractères. Par contre leurs citations sont pas top, je les mettrais un peu de retrait, avec un poil plus d’espace, voir dans une autre couleur.
@habbon quand t’arrives d’un Indymedia, ça fait mal aux yeux ^^ Non mais sinon c’est pas mal, même si je préfère ia.net pour le corps de texte de l’article.
Sinon quelqu’un-e aurait une idée de la technique utilisée pour faire apparaître les images au chargement, c’est un plugin spip ça ?
#beau et pis #spip_blog aussi pour les jolis sites innovants sous Spip non ? (en plus y’a plein d’articles intéressants effectivement).
Google « #lazyloading images ».
Moi j’ai tendance à trouver ça pénible.
Faudrait qu’ils chargent peut-être un peu avant qu’on arrive dessus (c’est peut-être déjà la cas ceci dit).
Je suis pas sûr qu’on gagne beaucoup l’un dans l’autre entre le côté pénible de l’image qui « flash » et le fait que la page se charge plus rapidement.
Une attitude où on charge au plus vite ce qui est visible puis ce qui n’est pas visible sans attendre qu’on l’atteigne me parait une meilleur pratique.
Si des gens ici ont des idée pour bien faire ce genre de choses...
Ça me fait penser à ce post de Cerdic ce que je dis juste au-dessus : ▻http://blog.nursit.net/slider-d-images-attention-au-temps-de-chargement.html
@ari pour les jolis sites innovants sous #spip ça serait plus ►http://herbier.spip.net ;)
@b_b, herbier.spip.net me paraît parcellaire et n’annonce pas les reliftings, non ? J’ai pas le temps de regarder tous les sites de la galaxie, si le spip_blog peut proposer un digest ou juste signaler un ou deux nouveaux sites remarquables tous les mois, ce serait vraiment bien :)
@Ari : l’Herbier propose effectivement une sélection, de sites tels qu’ils apparaissaient à un moment T sur la toile. C’est surtout un album souvenir.
Sinon, hors la lisibilité réussie des pages de texte, c’est quand même très laid, Strabic :(
Offline.js – Handle your users losing their internet connection like a pro
▻http://github.hubspot.com/offline/docs/welcome
Offline.js is a library to automatically alert your users when they’ve lost internet connectivity, like Gmail.
It captures #AJAX requests which were made while the connection was down, and remakes them when it’s back up, so your app reacts perfectly.
It has a number of beautiful themes and requires no configuration.
#js #javascript #webapp
bon sur leur site ça ne marche (pour moi) que sous Chrome — mais ni sous Firefox ni sous safari
peut-être que ceci peut remplacer : ▻http://shaneriley.com/jquery/remember_state
#jPlayer : HTML5 Audio & Video for jQuery & Zepto
▻http://jplayer.org
“jPlayer is the completely free and open source (MIT) media library written in #JavaScript. A jQuery plugin, (and now a Zepto plugin,) jPlayer allows you to rapidly weave cross platform audio and video into your web pages. jPlayer’s comprehensive API allows you to create innovative media solutions while support and encouragement is provided by jPlayer’s active and growing community.” Tags: #vidéo #lecteur (...)
RFC 7049 : Concise Binary Object Representation (CBOR)
Il existait un zillion de formats binaires d’échange de données ? Et bien il y en a désormais un zillion plus un. #CBOR (Concise Binary Object Representation) est un format qui utilise un modèle de données très proche de celui de #JSON, mais est encodé en binaire, avec comme but principal d’être simple à encoder et décoder, même par des machines ayant peu de ressources matérielles.
jimhigson/oboe.js
▻https://github.com/jimhigson/oboe.js
A fresh approach to #ajax that speeds up web applications. Progressive #json parser with an easy interface so you can use the objects before the http response completes. Oboe.js helps web applications respond quicker by wrapping http’s request-response model with a progressively streamed interface. It glues a transport that sits somewhere between streaming and downloading to a JSON parser that sits somewhere between SAX and DOM. It is small enough to be a micro-library, doesn’t have (...)
The #JSON data interchange format is now an #ECMA standard :
▻http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf
Play with data | 7 tools to convert between different data formats