Skip to content

Instantly share code, notes, and snippets.

View srl295's full-sized avatar
:octocat:
`git bisect run make -j${CORES-1}`

Steven R. Loomis srl295

:octocat:
`git bisect run make -j${CORES-1}`
View GitHub Profile
@srl295
srl295 / Intl-work.svg
Created August 11, 2015 18:08
work in progress on an "Intl WG" logo
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@srl295
srl295 / renaming.md
Last active September 26, 2015 17:45
Post convergence: rename iojs-${LANG} with nodejs-${LANG}

As part of the io.js and node.js convergence, node.js releases are now based on the codebase and user base of the converged node.js and io.js communities. A number of the resources and repositories have already been renamed.

Proposal: Rename the nodejs/iojs-${LANG} WG to nodejs/nodejs-${LANG}

In the absence of objections or other discussion, this rename will occur on or after Fixme: $THREE WEEKS FROM NOW

However, active language working groups should take ownership of this issue and discuss/dispose of it according to their own processes.

nodejs/Intl#17

  • Node.js
  • configure / vcbuild.bat options for choosing ICU options
  • v8
  • receives ICU options
  • Implements Intl object (where?) and other functions
  • calls into ICU
  • ICU4C
  • implements NumberFormat, etc functions. Locale Data sourced from CLDR
@srl295
srl295 / perf-nf.js
Created October 8, 2015 23:14
Number format perf test for Node.js
var process = require('process');
function delta(d) {
return d[0] + (d[1]/1e9);
}
var n = 0.1; // specific # affects speed
var nn = [];
var nf;
if(process.versions.icu) { // this was added in https://github.com/nodejs/node/issues/3089
@srl295
srl295 / test-suite.log
Created December 11, 2015 21:00
AIX shaping fail
=================================================
HarfBuzz 1.1.2: test/shaping/test-suite.log
=================================================
# TOTAL: 17
# PASS: 6
# SKIP: 0
# XFAIL: 0
# FAIL: 11
# XPASS: 0
@srl295
srl295 / christmas.json
Created December 25, 2015 19:58
Merry Christmas
{
"mt": "Il-Milied it-Tajjeb!",
"es": "¡Feliz Navidad!",
"fr": "Joyeux Noël!",
"en": "Merry Christmas!"
}
@srl295
srl295 / AfriLang.java
Created December 29, 2015 17:50
sample to print out all locales in Africa
// by srl
// use: ( cd ${HOME}/cldr-trunk/tools/java ; ant jar ) ; javac -classpath ${HOME}/cldr-trunk/tools/java/cldr.jar AfriLang.java && java -DCLDR_DIR=\
${HOME}/src/cldr-trunk -classpath ${HOME}/cldr-trunk/tools/java/cldr.jar:. AfriLang
import com.ibm.icu.impl.Relation;
import java.util.LinkedHashMap;
import java.util.LinkedHashSet;
import java.util.Set;
import java.util.TreeSet;
@srl295
srl295 / africa-seedstatus.txt
Created December 29, 2015 17:50
Status of african locales in CLDR
Afar (Djibouti) - aa-DJ [SEED]
Afar (Eritrea) - aa-ER [SEED]
Afar (Ethiopia) - aa-ET [SEED]
Afrikaans (Namibia) - af-NA
Afrikaans (South Africa) - af-ZA
Aghem (Cameroon) - agq-CM
Akan (Ghana) - ak-GH
Akoose (Cameroon) - bss-CM [SEED]
Amharic (Ethiopia) - am-ET
Arabic (Algeria) - ar-DZ
@srl295
srl295 / .goaccessrc
Created February 16, 2016 20:13
goaccess config file for nginx
color_scheme 0
date_format %d/%b/%Y
log_format %h %^[%d:%t %^] "%r" %s %b "%R" "%u"

Contributor License Agreement ("CLA") To Unicode Consortium ("Consortium")

Contact Information: [from GitHub ID] Contributor Name: [from GitHub ID]

Representative: [from GitHub ID]

E-mail: [from GitHub ID]