Dan Connolly

Results 618 comments of Dan Connolly

More motivation: - 2013-12: struggling to reproduce assets: https://github.com/Agoric/agoric-3-proposals/pull/41#issuecomment-1852492922

## different sizes for same module?! I was asked how do we see the code of the core-evals that ran in [#69 Enable stTIA vaults](https://agoric.explorers.guru/proposal/69). Some of the code is...

oh. these are not released packages. so the version numbers can stay still while the files change. oh boy.

um... never mind: wrong agoric-sdk version due to ambient `agoric` CLI from $PATH. see also https://github.com/0xpatrickdev/agoric-vault-collateral-proposal/issues/9#issuecomment-1949644873

> stretch goal: bundle diff... I just discovered: - [diffoscope: in\-depth comparison of files, archives, and directories](https://diffoscope.org/) > diffoscope tries to get to the bottom of what makes files or...

`yarn why` has an interesting naming scheme... ``` => Found "@agoric/compartment-mapper#[email protected]" info This module exists because "_project_#@agoric#bundle-source#@agoric#compartment-mapper" depends on it. ```

> ... This is because the XS Compartment only supports pre-compiled ESM and does not support Node.js-style packaging. The “kernel” must be a single package of ECMASCript modules. I wonder...

here's hoping I find time to cook up such an example. (I'm pretty sure I've done it before... maybe I still have it around...) Meanwhile, for reference: [fxLoadScript](https://github.com/Moddable-OpenSource/moddable/blob/be4d360b4de755645700968d1885f06128663c0f/xs/sources/xsPlatforms.c#L373) and `fxLoadModule`...

> here's hoping I find time to cook up such an example. (I'm pretty sure I've done it before... maybe I still have it around...) found it: https://gist.github.com/dckc/cbbd3e8469723b342cc90799ace7a287 from Jan...

I think that's not even a functional change. The Exclude is redundant: the never already says that. So it's just a refactor for clarity/conciseness. A few type tests to show...