profile
viewpoint

doug/depthjs 999

DepthJS allows any web page to interact with the Microsoft Kinect using Javascript.

doug/dotfiles 16

everybody has one, these are mine

dicarlolab/ThreeDWorld 6

Generator of interactive Unity-based 3D environments with physics

doug/doug.github.com 4

personal website

doug/git-media 1

Handling large media files in Git

chrisdelbuck/tribeca 0

Tribeca Hacks project

doug/amphtml 0

AMP HTML source code, samples, and documentation. See below for more info.

doug/atom-jsfmt 0

jsfmt integration with Atom

push eventdoug/vega-embed

Doug

commit sha 7ecdfa5980cf6616b150433db2383836c8292106

Update embed.ts

view details

push time in 7 hours

push eventdoug/vega-embed

Doug

commit sha 14d4721586a5bd4e52fc2ee0867d3f4aa82a66f0

Update src/embed.ts Co-authored-by: Dominik Moritz <domoritz@gmail.com>

view details

push time in 7 hours

push eventdoug/vega-embed

Doug

commit sha b42ce21b1ef80802030294e82f41acef51111393

Update embed.ts

view details

push time in 10 hours

push eventdoug/vega-embed

Doug

commit sha 704d6ba7eca8156e9fab466610b413ecb60de07a

Update src/embed.ts Co-authored-by: Dominik Moritz <domoritz@gmail.com>

view details

push time in 11 hours

push eventdoug/vega-embed

Doug

commit sha eef2e14647e4696acd0011b5d60742212becf18d

Update src/embed.ts Co-authored-by: Dominik Moritz <domoritz@gmail.com>

view details

push time in 11 hours

issue commentvega/vega-embed

Vega Embed does not work with ShadowDOM

This fixes it: https://github.com/vega/vega-embed/pull/498

doug

comment created time in 14 hours

PR opened vega/vega-embed

Allow for embedding styles in shadowRoot.

Use getRootNode instead of assuming document as the root element.

+17 -8

0 comment

1 changed file

pr created time in 14 hours

push eventdoug/vega-embed

Doug

commit sha 655e4a4710d98a2c750afa64690b16a98c981c00

Allow for embedding styles in shadowRoot. Use getRootNode instead of assuming document as the root element.

view details

push time in 14 hours

push eventdoug/vega-embed

Doug

commit sha 12e15aa13150c10fed2ba7776a46cb68bd43f102

Support shadow root embedding of styles Use getRootNode instead of assuming document as the root element.

view details

push time in 14 hours

fork doug/vega-embed

Publish Vega visualizations as embedded web components with interactive parameters.

fork in 14 hours

issue commentvega/vega-embed

Vega Embed does not work with ShadowDOM

Yea looks like hacky styles is the source of the issue will take a look.

doug

comment created time in 15 hours

issue openedvega/vega-embed

Vega Embed does not work with ShadowDOM

The drop down for tooltip and hover don't behave if the embed is inside a shadowdom.

Example: https://jsfiddle.net/chztgrsj/

created time in 25 days

issue commentvega/vega

Implement non-eval based Vega execution path

@jheer Thanks for the overview and breakdown.

Regarding number 3 what do you think of vega expressions changing to taking either the current string expression form or a json based S-Expression form of the Vega expression language e.g. ["+", 1, 1]. We could have vega-runtime execute the S-Expression form in a CSP compliant interpreter way as you suggested (though performance would be critical, could maybe keep code gen if CSP compliance wasn't necessary). Additionally if passed one of the current string expression forms, vega-runtime could first transform that into the S-Expression form, which sounds similar to your current AST parser.

I actually think this would be positive for the spec in general to move to an S-Expression syntax. While potentially more verbose, I think it would be more clear what can be done with vega expressions (that it isn't arbitrary javascript and validators could be written for the expressions). Additionally, I think it would make ever writing a Vega runtime in other languages easier. My guess is this was already discussed early on in the vega spec design.

I'm not sure what you mean for the vega encoding channels, it wasn't clear where that code is.

nyurik

comment created time in 2 months

issue commentvega/vega

Implement non-eval based Vega execution path

Feel like writing an expression parser that removes Function calls is safest way to handle this and still allow for the useful evaluation of specs from non-trusted parties. Would someone writing a peg parser implementation satisfy the constraints? https://pegjs.org/online. Though a lot easier to make vega-embed run all of vega inside a sandboxed iframe by default and communicate with vega over the postMessage api, then usage of vega-embed is safe regardless of what vega does.

nyurik

comment created time in 2 months

issue commentaltair-viz/altair

[question] Apache arrow support in altair ?

now that there is the vega-loader-arrow. What should support in altair look like?

djouallah

comment created time in 3 months

more