Erik Arvidsson

Results 49 issues of Erik Arvidsson

Thanks for creating this. Very useful! Since the `clampedScroll` depends on both the `offsetAnim` and the `scrollAnim` `_clampedScrollValue` needs to be computed for both. Here is my code (slightly modified...

Right now `encoding-indexes.js` is always required in a node like environment (such as browserify). This was done in a85ce6ff385b71a9cafdad46cb6965ff3bd2de36 It would be better if `encoding-indexes.js` was never implicitly included.

packaging

The file `index.mjs` is trying to import `index.js`. `index.js` has no exports so you get a `SyntaxError`. Any chance of publishing a valid ES module version of chai? There are...

Is there a tool that can generate superstruct Structs from Typescript types? Something like https://github.com/grantila/typeconv ?

question

I though TypeScript namespaces are supposed to work but they do not work in the repl?

We have an internal class called `LogContext`. It's implementation is at https://github.com/rocicorp/logger/blob/main/src/logger.ts#L145 Basic usage is: ```js const lc = new LogContext().addContext('a', 'b'); lc?.info('c', 'd'); // roughly same as console.info('a=b', 'c',...

Future

We should provide a way to store data in Replicache that is not synced. It would also be nice to have ephemeral (in memory, not shared between tabs) key space...

Future
Design Needed

Google Chat uses `https://mail.google.com/chat/u/0/#chat/welcome` as the URL so it triggers the Gmail Simplify extension. Mostly it looks good but there are some glitches. You can go to Google Chat by...

Running `web-test-runner --watch` fails to pick up changes in WebKit leading to stale results (which to be honest has confused me more than once). Here is our full project settings:...

Using: ``` typeconv 1.7.0 node v17.4.0 ``` input.ts ```ts export type T = number | string; ``` And on the command line: ``` npx typeconv -f ts -t st -o...