Skip to content

Instantly share code, notes, and snippets.

View othiym23's full-sized avatar
💭
what is this thing you call, "architecture"

Forrest L Norvell othiym23

💭
what is this thing you call, "architecture"
  • Ellation / Crunchyroll / VRV
  • San Francisco
View GitHub Profile
@othiym23
othiym23 / excerpt.js
Created December 1, 2012 00:01
mocha is not your friend if you want to test uncaughtException handlers
before(function (done) {
/**
* Mocha is extremely zealous about trapping errors, and runs each test
* in a try / catch block. To get the exception to propagate out to the
* domain's uncaughtException handler, we need to put the test in an
* asynchronous context and break out of the mocha jail.
*/
process.nextTick(function () {
// disable mocha's error handler
mochaHandler = process.listeners('uncaughtException').pop();
@othiym23
othiym23 / bam.js
Created August 15, 2014 21:47
lockfile tester
var resolve = require("path").resolve
var lock = require("lockfile").lock
var FILE = resolve(__dirname, "LOCKFILE")
var PID = process.pid
var OPTIONS = {retries : 0}
var SCALE = 16
var results = []
var running = SCALE

Eclipse boxes.todo

  • 03: Late Ozu @done(2017-02-16)
    • 早春 / Early Spring (1956) @done(2017-02-10)
    • 東京暮色 / Tokyo Twilight (1957) @done(2017-02-13)
    • 彼岸花 / Equinox Flower (1958) @done(2017-02-14)
    • 秋日和 / Late Autumn (1960) @done(2017-02-15)
    • 小早川家の秋 / The End of Summer (1961) @done(2017-02-16)
  • 09: The Delirious Fictions of William Klein @done(2017-02-21)
    • Who Are You, Polly Magoo? (1966) @done(2017-02-17)
    • Mr. Freedom (1969) @done(2017-02-20)
@othiym23
othiym23 / 2016-election.txt
Last active November 8, 2016 07:28
mostly for my own reference, but you can read it if you want
President: Hillary (ugh)
Senator: nope
Representative, D12: nope / Preston Picus
State Senate: Jane Kim
Assembly, District 19: nope
Superior Court Judge, Office No. 7: Victor Hwang
Board of Education: Stevon Cook, Matt Haney, Mark Sanchez
Community College Board: Rafael Mandelman, Tom Temprano, Shanell Williams
BART Board, D7: Lateefah Simon
BART Board, D9: Bevan Dufty (ugh ugh)

team goal, end of 2016Q2:

  • remove blockers to adoption of npm@3
  • try to get Node lts cut over to npm@3 exclusively

current problem:

  • things are moving very slowly

takeaway:

  • not a lot of the rest of the road map is going to happen in 2016

Hello, everybody!

So, a brief content warning before I get started: I talk about burnout and stress a lot in this talk, because I’ve spent most of the last couple years working on getting better about both of those things. Right now, things are actually going really well both for me and my team. We’re OK! If you’ve been dealing with these issues yourself, my hope is that you’ll be able to relate without getting bummed out, but if you want to take a pass on hearing about other people’s stress because it triggers your own, I won’t be offended.

That said, hi! I’m Forrest Lehwalder Norvell, and I’m the team lead for the npm command-line interface. If you don’t know what that is, the short version that one of the Bens here came up with yesterday is that npm is a cupboard on the internet where developers cram all the crap that they or somebody else might want to use again someday. The important thing is that it’s a very popular open-source product, and it has a large and enthusiastic community. I have now finishe

bauchelain% n t
> eliminate-5082@1.0.0 test /Users/ogd/Documents/projects/test-sandwiches/eliminate-5082
> node stress.js
TAP version 13
# run 1
not ok 1 - error: tap returned 1
1..1
/Users/ogd/Documents/projects/test-sandwiches/eliminate-5082/test.js .. 12/13

autoscale: true

[fit] the npm cache

[fit] the part of the animal nobody likes


what is it for?

new albums from this run:
/Volumes/S8 food/latest-flac-3/ [Phase]/Alone In Time
/Volumes/S8 food/latest-flac-3/Acre/Better Strangers
/Volumes/S8 food/latest-flac-3/ANCIENT METHODS/Turn Ice Realities into Fire Dreams
/Volumes/S8 food/latest-flac-3/Anodyne/Restarter - HazardX
/Volumes/S8 food/latest-flac-3/Answer Code Request/MDR 18
/Volumes/S8 food/latest-flac-3/Aphrohead/Resurrection
/Volumes/S8 food/latest-flac-3/BENOIT PIOULARD/Temper
/Volumes/S8 food/latest-flac-3/Benot Pioulard/Noyaux
This file has been truncated, but you can view the full file.
178089 verbose url raw core-util-is
178090 verbose url resolving [ 'https://registry.npmjs.org/', './core-util-is' ]
178091 verbose url resolved https://registry.npmjs.org/core-util-is
178092 info trying registry request attempt 1 at 11:37:13
178093 verbose etag "75RK9UUWAHLYO40UZKLLOJ8YF"
178094 http GET https://registry.npmjs.org/core-util-is
178095 verbose cache add [ 'error-ex@^1.2.0', null ]
178096 verbose cache add name=undefined spec="error-ex@^1.2.0" args=["error-ex@^1.2.0",null]
178097 verbose parsed url { protocol: null,
178097 verbose parsed url slashes: null,