Code Monkey home page Code Monkey logo

Comments (5)

greggman avatar greggman commented on August 16, 2024 1

I think the samples changing is not a big deal. People will file an issue and we can fix or remove.

I don't think we don't want to rehost them (which might include having to build and maintain their build infra). I suppose you meant to pin their live repo (eg gh-pages) as a submodule but that would mean having to review updates often if they're iterating on their sample.

from webgpu-samples.

greggman avatar greggman commented on August 16, 2024

Put up a PR. It works. Thoughts?

Screenshot 2024-03-07 at 13 34 33

It's not clear to me if linking to external examples a good thing or not. I think Brandon's examples are great but I once you set the example of linking to external examples then everyone will want their sample included. Maybe that's a good thing though?

Note: the PR also tries to grab the source which works for spookyball but there's many files (didn't list them all. Just wanted to see if it worked). We could not show any source, or show something else (link to article/github).

@kainino0x @toji @beaufortfrancois @Kangz @austinEng

from webgpu-samples.

kainino0x avatar kainino0x commented on August 16, 2024

It's not clear to me if linking to external examples a good thing or not. I think Brandon's examples are great but I once you set the example of linking to external examples then everyone will want their sample included. Maybe that's a good thing though?

I was thinking that's probably a good thing. Right now we have people wanting to add samples to this repo which means we have to take on some maintenance burden. Easier if we can link to them. The number of links will probably get pretty big though, so maybe external samples would be a separate section in the sidebar.

That said, it occurs to me that linked samples could change underneath us - disappear, break, or even get replaced with malicious content.
A middle ground could be to accept samples as Git submodules so we're pinned to a revision?

from webgpu-samples.

toji avatar toji commented on August 16, 2024

I agree that we don't want to re-host any content. It does open us up for some minor unexpected breakage, but the maintenance burden otherwise is going to be pretty high and driven by external forces.

from webgpu-samples.

greggman avatar greggman commented on August 16, 2024

done?

from webgpu-samples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.