Instantly share code, notes, and snippets.

View log.txt
Alexis Beingessner@DESKTOP-M6UNB64 /c/gecko
$ ./mach talos-test --activeTests tp5o_scroll
16:57:34 INFO - MultiFileLogger online at 20180404 16:57:34 in c:\gecko
16:57:34 INFO - Run as ./mach talos-test --activeTests tp5o_scroll
16:57:34 INFO - Dumping config to c:/gecko\testing\mozharness\logs\localconfig.json.
16:57:34 INFO - {'append_to_log': False,
16:57:34 INFO - u'base_work_dir': u'c:/gecko\\testing\\mozharness',
16:57:34 INFO - u'binary_path': u'c:/gecko/obj-i686-pc-mingw32\\dist\\bin\\firefox.exe',
16:57:34 INFO - 'code_coverage': False,
16:57:34 INFO - u'default_actions': (u'populate-webroot',
View log.txt
$ ./mach talos-test --activeTests tp5o_scroll --geckoProfile
16:46:08 INFO - MultiFileLogger online at 20180404 16:46:08 in c:\gecko
16:46:08 INFO - Run as ./mach talos-test --activeTests tp5o_scroll --geckoProfile
16:46:08 INFO - Dumping config to c:/gecko\testing\mozharness\logs\localconfig.json.
16:46:08 INFO - {'append_to_log': False,
16:46:08 INFO - u'base_work_dir': u'c:/gecko\\testing\\mozharness',
16:46:08 INFO - u'binary_path': u'c:/gecko/obj-i686-pc-mingw32\\dist\\bin\\firefox.exe',
16:46:08 INFO - 'code_coverage': False,
16:46:08 INFO - u'default_actions': (u'populate-webroot',
16:46:08 INFO - u'create-virtualenv',
View nsDisplayList.cpp
bool
nsDisplayMask::CreateWebRenderCommands(mozilla::wr::DisplayListBuilder& aBuilder,
mozilla::wr::IpcResourceUpdateQueue& aResources,
const StackingContextHelper& aSc,
mozilla::layers::WebRenderLayerManager* aManager,
nsDisplayListBuilder* aDisplayListBuilder)
{
bool snap;
float appUnitsPerDevPixel = mFrame->PresContext()->AppUnitsPerDevPixel();
nsRect displayBound = GetBounds(aDisplayListBuilder, &snap);
View gist:cdc2ebf961bda98fcb4c2bbfe88c1454
RectWithSize device_rect = prim.local_clip_rect;
device_rect.p0 -= prim.task.content_origin;
device_rect.p0 *= uDevicePixelRatio;
device_rect.size *= uDevicePixelRatio;
vec2 local_pos = prim.task.common_data.task_rect.p0 +
clamp_rect(
glyph_pos * res.scale + uDevicePixelRatio * (glyph.offset - prim.task.content_origin),
device_rect);
View crash.log
Assertion failure: mLastContentProcessedEvent <= mLastAPZProcessedEvent, at /Users/ABeingessner/dev/gecko/gfx/layers/apz/src/FocusState.cpp:32
#01: mozilla::layers::IAPZCTreeManager::ReceiveInputEvent(mozilla::WidgetInputEvent&, mozilla::layers::ScrollableLayerGuid*, unsigned long long*)[/Users/ABeingessner/dev/gecko/objdebug/dist/NightlyDebug.app/Contents/MacOS/XUL +0xff83bb]
#02: nsBaseWidget::DispatchInputEvent(mozilla::WidgetInputEvent*)[/Users/ABeingessner/dev/gecko/objdebug/dist/NightlyDebug.app/Contents/MacOS/XUL +0x2e3cff8]
#03: mozilla::widget::TextEventDispatcher::DispatchInputEvent(nsIWidget*, mozilla::WidgetInputEvent&, nsEventStatus&)[/Users/ABeingessner/dev/gecko/objdebug/dist/NightlyDebug.app/Contents/MacOS/XUL +0x2e61ab8]
#04: mozilla::widget::TextEventDispatcher::DispatchKeyboardEventInternal(mozilla::EventMessage, mozilla::WidgetKeyboardEvent const&, nsEventStatus&, void*, unsigned int, bool)[/Users/ABeingessner/dev/gecko/objdebug/dist/NightlyDebug.app/Contents/MacOS/XUL +0x2e62920]
#05: mo
View _lib.rs
// Rust Library
#[repr(u8)]
pub enum DisplayItem {
Fill(Rect, Color),
Image { id: u32, bounds: Rect },
ClearScreen,
}
#[repr(C)]
View gist:4eae41c5222925519ac365102506a083
<UnscaledFontFontconfig> 0x7f81769b25e0 1 AddRef 1 [thread 0x7f8190f854c0]
#01: ???[/home/gankro/gecko/objdebug/dist/bin/libxul.so +0x1b1e7c7]
#02: ???[/home/gankro/gecko/objdebug/dist/bin/libxul.so +0x1ae7e5a]
#03: ???[/home/gankro/gecko/objdebug/dist/bin/libxul.so +0x1af4d7d]
#04: ???[/home/gankro/gecko/objdebug/dist/bin/libxul.so +0x1af5ae5]
#05: ???[/home/gankro/gecko/objdebug/dist/bin/libxul.so +0x2c51af8]
#06: ???[/home/gankro/gecko/objdebug/dist/bin/libxul.so +0x16872d0]
#07: ???[/home/gankro/gecko/objdebug/dist/bin/libxul.so +0x1299e13]
#08: ???[/home/gankro/gecko/objdebug/dist/bin/libxul.so +0x12a1900]
#09: ???[/home/gankro/gecko/objdebug/dist/bin/libxul.so +0x12a2a2b]
View working_on_homestuck.md

I was contacted a few weeks ago by someone interested in my time working on Homestuck. I dumped a huge pile of thoughts and feels, and they wrote an article.

The article understandably is fairly edited, but I spent a bunch of time on my replies, and they're pretty personal, so I felt like archiving my response here. So here's the raw content of the email I sent:


So some disclaimers here: I don't have the best memory, and a lot of the relevant history here is content on the MSPA forums, which as far as I can tell have been completely annihilated from the internet. (a genuine tragedy) Consider everything I say to be suffixed with an "(I think?)" :)

View gist:0e87ffc422b1ca9ea3ebc3f93a7de8ee
/// `*mut T` but non-zero and covariant.
///
/// This is often the correct thing to use when building data structures using
/// raw pointers, but is ultimately more dangerous to use because of its additional
/// properties. If you're not sure if you should use `Shared<T>`, just use `*mut T`!
///
/// Unlike `*mut T`, the pointer must always be non-null, even if the pointer
/// is never dereferenced. This is so that enums may use this forbidden value
/// as a discriminant -- `Option<Shared<T>>` has the same size as `Shared<T>`.
/// However the pointer may still dangle if it isn't dereferenced.
View deserialize_webrenderish.s
__ZN7my_test21deserialize_webrender17hecde0d914cb271c7E:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $264, %rsp
movq %rdx, -264(%rbp)