Skip to content

Instantly share code, notes, and snippets.

View darobin's full-sized avatar
✍️
writing, writing, writing…

Robin Berjon darobin

✍️
writing, writing, writing…
View GitHub Profile
@darobin
darobin / hsv2rgb.js
Created May 28, 2015 16:05
Convert HSV to RGB
function HSVtoRGB (hsv) {
// this doesn't work for the values of 0 and 360
// here's the hacky fix
var h = hsv[0];
if (h === 0) h = 1;
if (h === 360) h = 359;
// Rebase the h,s,v values
h = h/360;
var s = hsv[1]/100
, v = hsv[2]/100
@darobin
darobin / .travis.yml
Created March 20, 2015 11:33
Automatically publishing on commit
language: node_js
branches:
only:
- gh-pages
env:
global:
- URL="http://w3c.github.io/manifest/ECHIDNA"
- DECISION="https://lists.w3.org/Archives/Public/public-webapps/2014JulSep/0627.html"
@darobin
darobin / lt.txt
Last active August 29, 2015 14:13
Lightning Tank
1. Baptise Fluzin | Le Temps
2. Romain Saillet | Pourquoi le voyage est nécessaire à l'entreprenariat?
3. Yael Azoulay | IoT & SHS: Rencontre du 3ème type qui s'aiment-moi-non-plus
4. Elliot Lepers | La Fabrique de l'Engagement
5. Bruno Caby | Bijouterie moléculaire, poésie aléatoire & jeux vidéo
6. Auguste Genovesio | The Curse of Dimensionality
7. Robin Berjon | Les fourmis du Web
8. Aurore Bergé | Cats Don't Bullshit
9. Nicolas Vanbremeersch | Stop making stupid people famous
Up 15-12-2014 02:00:19 OK 13 hrs, 2 mins
Down 15-12-2014 01:58:00 --- 0 hrs, 2 mins
Up 08-12-2014 04:44:57 OK 165 hrs, 13 mins
Down 08-12-2014 04:42:37 --- 0 hrs, 2 mins
Up 08-12-2014 01:28:05 OK 3 hrs, 14 mins
Down 08-12-2014 01:25:22 --- 0 hrs, 2 mins
Up 06-12-2014 03:59:53 OK 45 hrs, 25 mins
Down 06-12-2014 03:57:33 --- 0 hrs, 2 mins
Up 04-12-2014 08:05:00 OK 43 hrs, 52 mins
Down 04-12-2014 08:02:40 --- 0 hrs, 2 mins
root@grumple:~# diff -bu /tmp/sync.py /u/www.w3c-test.org/webhook/sync.py
--- /tmp/sync.py 2014-12-15 12:28:50.233509316 +0000
+++ /u/www.w3c-test.org/webhook/sync.py 2014-05-29 12:05:59.613261034 +0000
@@ -8,10 +8,12 @@
import ConfigParser
import getpass
import hmac
+import itertools
+import lockfile
@darobin
darobin / dom-ts.txt
Created December 11, 2014 18:42
DOM test quick overview
NEEDS WORK:
- /dom/nodes/MutationObserver-attributes.html
- most implementations don't mutate when the string doesn't change. What's wanted here?
- implementations don't properly default attribute: true. Imp bug IMHO.
- /dom/traversal/NodeIterator.html
- spec is unclear (not sure what happens to function that's given for a NodeFilter)
- tests take the Gecko-friendly interpretation, other implementations not
- /dom/nodes/Node-isEqualNode.xhtml
- suspicious test, cross-origin issue
- /dom/nodes/MutationObserver-childList.html
@darobin
darobin / running-suite
Last active August 29, 2015 14:08
serve.py is unhappy
^/tools/runner/update\_manifest\.py$
Process Process-5:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "serve.py", line 79, in create_daemon
self.daemon = init_func(host, port, paths, bind_hostname, external_config)
^/tools/runner/(.*)$
@darobin
darobin / ants.txt
Created October 29, 2014 23:54
My LT
WEB ANTS:
- Those of you who remember programming in Logo, that language with the little turtle, might be
happy to know that it is still alive and well, perhaps in a surprising location.
- What you see behind me is NetLogo, a modern version of Logo that is used for research into
multi-agent simulations.
- I'm here to talk about ants.
- If you were tasked with emulating how an ant colony forages for food, you might get scared.
Millions of individuals, exploring the world, it's all very complex.
@darobin
darobin / lt.md
Last active August 29, 2015 14:08
TPAC 2014 Lightning Talks

Speakers

  1. Steven Pemberton: HTTP Must Die!
  2. Jean-Charles Verdié: Sisyphus and Standards
  3. Bart van Leeuwen: Why the Web Can Make my Life as a Professional Firefighter Safer
  4. Jérémie Astori: cryptic: Encryption and partitioning on Ubuntu
  5. Håkon Lie: Paging the Web
  6. Nishanth Babu: India on the Web
  7. Mark Sadecki: Canvas Accessibility
  8. Chaals Neville: Good Intentions
@darobin
darobin / q.md
Created September 18, 2014 08:56
Questions about After 5/WebSpecs

Questions