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

Keybase proof

I hereby claim:

  • I am srl295 on github.
  • I am srl (https://keybase.io/srl) on keybase.
  • I have a public key whose fingerprint is 08A5 87A8 FEDE 899F 2A88 FD88 D352 4D5F FA8D 6911

To claim this, I am signing this object:

@srl295
srl295 / brew-siproxd-0.8.1.patch
Created March 18, 2014 21:47
homebrew patch for siproxd
diff --git a/aclocal.m4 b/aclocal.m4
index 2797241..d96be59 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -1,7 +1,7 @@
-# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
+# generated automatically by aclocal 1.14.1 -*- Autoconf -*-
+
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
@srl295
srl295 / node-i18n-test.js
Created April 29, 2014 05:23
Test out node.js
Intl;
new Intl.DateTimeFormat('en',{'month':'long'}).format(new Date());
new Intl.DateTimeFormat('ru',{'month':'long'}).format(new Date());
new Intl.DateTimeFormat('mt',{'month':'long'}).format(new Date());
@srl295
srl295 / icu-autodownload-transcript.md
Last active August 29, 2015 14:09
ICU autodownload (scenarios)

Downloading from scratch! look ma, no arguments..

$ ./configure 
creating  ./icu_config.gypi
* ECMA-402 (Intl) support didn't find ICU in ./deps/icu..
 <http://download.icu-project.org/files/icu4c/54.1/icu4c-54_1-src.zip>
 ICU: / 26.3MB total, 26.3MB downloaded   
 MD5:      6b89d60e2f0e140898ae4d7f72323bca  ./deps/icu4c-54_1-src.zip
 Extracting ICU source zip: ./deps/icu4c-54_1-src.zip
* Using ICU in ./deps/icu
@srl295
srl295 / node-resource-loading-2015-02-19.txt
Last active August 29, 2015 14:15
Discussion from resource loading discussion, Thu Feb 19 18:15:00 UTC 2015
Node resources and loading discussion
===
Participants:
Bradley Meck
James Snell
Steve Atkin
TJ Fontaine
Steven R. Loomis [scribe]
@srl295
srl295 / node-leapseconds.md
Last active May 21, 2021 07:12
FAQ on leap seconds

What are Leap Seconds? What impact do they have on applications?

Leap seconds are seconds added or removed from UTC (Coordinated Universal Time) to keep it in sync with the Earth's rotation. If leap seconds were not added or removed, then UTC would drift from TAI. You can read much more about leap seconds on Wikipedia.

Because they are based on astronomical observations, leap seconds are scheduled and not predicted, or predictable. One has been scheduled for June 30th, 2015. What this means practically is that 23:59:59 will be followed by 23:59:60 before going on to 00:00:00. Leap seconds can be added (positive) or removed (negative). A negative leap second would mean that 23:59:58 would be followed by 00:00:00.

// these 3 produce green underbars in Visual Studio Code, but shouldn't.
// complains that [] must be a string. no, it can be an array.
var df_point = new Intl.DateTimeFormat([], {year: "numeric"});
// complains that ["es"] must be a string. no, it can be an array.
var df_point1 = new Intl.DateTimeFormat(["es"], {year: "numeric"});
// complains that 'year: numeric' requires hour12. no, hour12 is optional.
var df_point2 = new Intl.DateTimeFormat("de", {year: "numeric"});
@srl295
srl295 / keybase.md
Created May 14, 2015 21:52
keybase.io proof for srl295

Keybase proof

I hereby claim:

  • I am srl295 on github.
  • I am srl295 (https://keybase.io/srl295) on keybase.
  • I have a public key whose fingerprint is E409 8B78 AFC9 4394 F3F4 9AA9 0399 6C7C 83F1 2F11

To claim this, I am signing this object:

@srl295
srl295 / old-junky-stwatcher.diff
Created May 20, 2015 01:20
DIff of changes in the cldr-stwatcher. To be merged.
diff --git a/.cfignore b/.cfignore
index 1273728..066ae58 100644
--- a/.cfignore
+++ b/.cfignore
@@ -1,12 +1,7 @@
-launchConfigurations/
-.git/
-node_modules/
-.cfignore
-.gitignore
@srl295
srl295 / node-wg-interaction.dot
Created August 6, 2015 18:38
Node WG interaction
graph wg {
build -- docker [color=green];
build -- website [color=green];
build -- tsc [color=green];
build -- smoketest;
build -- lts [color=green];
build -- native;
build -- documentation;
build -- benchmarking;