Skip to content

Instantly share code, notes, and snippets.

@hotsphink
hotsphink / text.txt
Created June 13, 2019 17:20
mkgist-created gist
function stuff() {
const getStrings = (strings, ...values) => strings;
const getRef = eval('() => getStrings`test`');
let wait = 0;
let ref = getRef();
let state = inIon();
const go = () => {
const newRef = getRef();
if (newRef !== ref) {
print('New ref 😢');
@hotsphink
hotsphink / text.txt
Created June 6, 2019 15:36
mkgist-created gist
Host hg.mozilla.org
User kyang@mozilla.com
@hotsphink
hotsphink / text.txt
Created June 5, 2019 17:22
mkgist-created gist
# HG changeset patch
# User Steve Fink <sfink@mozilla.com>
# Date 1517297227 28800
# Mon Jan 29 23:27:07 2018 -0800
# Node ID 236b85186605693383e2a4999b87c1b5c4e9a338
# Parent e8c553a7196328fed522cc5d4bafc78dcdc1a099
# EXP-Topic pretenure.dedupe
Bug 903519 - M-dedupe
diff --git a/README.txt b/README.txt
@hotsphink
hotsphink / text.md
Last active May 31, 2019 23:31
mkgist-created gist

I have a stack of 13 draft patches on top of a public revision b37b6c015168. I pull from upstream, get a bunch of new changesets, the top one is 1adf382a3e65. The first 8 patches in my stack have landed upstream, so I'm hoping to discard those in favor of their public versions. I rebase my stack on top of the new patch:

% hg rebase -d 1adf382a3e65

(I was updated to the tip of my patch stack.) I do a bunch of manual merging, then when the rebase is complete it says

12 new orphan changesets
@hotsphink
hotsphink / text.txt
Created May 29, 2019 18:48
mkgist-created gist
enqueueMark(obj|string)
Add an object to the queue of objects to mark at the beginning every GC. (Note
that the objects will actually be marked at the beginning of every slice, but
after the first slice they will already be marked so nothing will happen.)
Instead of an object, a few magic strings may be used:
'yield' - cause the current marking slice to end, as if the mark budget were
exceeded.
'enter-weak-marking-mode' - divide the list into two segments. The items after
this string will not be marked until we enter weak marking mode. Note that weak
@hotsphink
hotsphink / text.txt
Created May 24, 2019 19:34
mkgist-created gist
ac_add_options --enable-project=js
ac_add_options --enable-optimize
ac_add_options --enable-debug
ac_add_options --enable-js-shell
mk_add_options MOZ_MAKE_FLAGS="-j8 -s"
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-js
@hotsphink
hotsphink / text.txt
Created May 21, 2019 21:14
mkgist-created gist
#482452 = Marking.cpp:void js::TenuringTracer::traceObject(JSString**)::<lambda(auto:27)> [with auto:27 = JSString**]
#482370 = JS::PropertyKey js::TenuringTracer::traverse(JSString*)::<lambda(auto:26)> [with auto:26 = JSString*; T = JS::PropertyKey]
#480678 = JS::Value js::TenuringTracer::traverse(JSString*)::<lambda(auto:26)> [with auto:26 = JSString*; T = JS::Value]
#452904 = void js::gc::TraceEdgeInternal(JSTracer*, JSString**, int8*) [with T = JSString*]
#478263 = void js::gc::StoreBuffer::CellPtrEdge::trace(js::TenuringTracer*) const
@hotsphink
hotsphink / tc39-69th-meeting-summary.md
Last active September 30, 2023 03:39 — forked from codehag/tc39-69th-meeting-summary.md
TC39 69th Meeting Summary

Summary:

  • Quite a bit of work on string methods and promise methods.
  • temporal is now blocked on standard modules, adding pressure to do that
  • dynamic import will move to stage 4 if all goes well with realms?
  • Decorators minimal proposal with built in decorators was presented
  • Decorators were also presented as a solution for numeric separators / literals

Stuff we are interested in or working on:

  • WeakRefs was discussed, and agreed to not be optional? It will also not be a systems object
  • Date.parse has not moved forward due to trying to standardize implementation specific behavior.
@hotsphink
hotsphink / Pernosco-UI.jpg
Last active May 14, 2019 04:33
Pernosco UI
Pernosco-UI.jpg
@hotsphink
hotsphink / text.txt
Created May 14, 2019 04:31
Pernosco UI
How I see the Pernosco UI