Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Ricky Reusser
    @rreusser
    Yeah, the talk motivated me to bump up the priority, in my head, of starting to prioritize more of the messaging around onboarding, motivation, and examples.
    I think I'll start by reviewing what stdlib has, by reviewing what comparable libraries have, and then by just writing some raw markdown content and we can worry about interactivity or website organization later.
    Athan
    @kgryte
    @mootari Welcome to our Gitter!
    @mootari You may also want to chat with @Planeshifter who has been using stdlib in an e-learning platform deployed at Carnegie Mellon University since the early days of stdlib development.
    I can also provide more insight into other usage of the project, such as on-line spreadsheets, calculator apps, etc.
    Fabian Iwand
    @mootari
    @kgryte Thanks! Being an outsider myself, I also want to start by compiling an outside perspective first. But I might get back to that, and I'm sure that @rreusser will.
    Athan
    @kgryte
    👍 Sounds good!
    Fabian Iwand
    @mootari
    @kgryte do you still remember the context of https://medium.com/@kgryte/hey-maintainer-of-stdlib-here-e1ec7434575f ?
    Athan
    @kgryte
    Yeah, before it was renamed Polybit had a product called StdLib which was to be an API for the web. Some people would get confused which project was which and would link to the wrong thing. This was one of those times.
    I forget what the name is now, but you can still get there via stdlib.com, a domain which we unfortunately do not own.
    Fabian Iwand
    @mootari
    Yeah, already found them earlier, they have a fairly large number of articles on medium covering their "Standard Library" endpoint services.
    Fabian Iwand
    @mootari
    @kgryte On stdlib.io, the documentation link for "Data visualization" leads to a 404: https://stdlib.io/docs/api/v0.0.90/@stdlib/plot
    Athan
    @kgryte
    @mootari Thanks for reminding me! Yeah, we need to add a README to https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/plot so that documentation renders there.
    Fabian Iwand
    @mootari
    @kgryte May I also suggest to move the Resources section in the project readme to the top, above Features?
    Athan
    @kgryte
    @mootari Yeah, that seems reasonable. :)
    Athan
    @kgryte
    @mootari Reordered the README sections. Thanks for the suggestion!
    Fabian Iwand
    @mootari
    @kgryte Thanks for the update!
    Trevor Norris
    @trevnorris
    Is there support for locally weighted regressions (LOESS)?
    What is your use case?
    LNSY
    @lindseymysse

    Hey guys, I'm checking out your project. Clicking on the Data Visualization link on your home page leads to an error:

    {"message":"Route GET:/docs/api/v0.0.90/@stdlib/plot not found","error":"Not Found","statusCode":404}

    https://stdlib.io/docs/api/v0.0.90/@stdlib/plot

    This error also appears in the docs.

    Cool library, I'd love to see what the plotting is like.

    Athan
    @kgryte
    @lindseymysse Sorry about that! We have yet to push the change which fixes that 404. You can find the plot constructor docs here: https://stdlib.io/docs/api/v0.0.90/@stdlib/plot/ctor
    Note that plotting is somewhat limited atm. Depending on your needs, for more complex chart types, will probably need something else.
    LNSY
    @lindseymysse
    Great, thanks! Do you guys have a 3D plotting planned? Might be a good future-forward feature ;-)
    Athan
    @kgryte
    @lindseymysse I agree; that would be great! Building a WebGL backend to the plotter would be awesome. But also requires a significant amount of work which I am not sure we have the bandwidth at the moment to expend. regl would be a good candidate to build upon, but this would definitely be a more distant future feature.
    ChrisH2727
    @ChrisH2727
    I am very very new to stdlib. Where should I go to get some basic information on including it in my projects?
    LNSY
    @lindseymysse
    @kgryte Totally understand. I've been working on some 3D stuff lately, which is why I ask. For me, I've been using attributes set on aframe.io objects. So, the rendering engine doesn't quite matter, what matters is a good way of reasoning about plotting in 3D. I will probably keep using the stuff I've put together with D3.
    Thanks for answering my questions!
    Athan
    @kgryte
    @lindseymysse No problem!

    @ChrisH2727 The project README has some basic instructions: https://github.com/stdlib-js/stdlib#installation

    Do you have a particular use case in mind?

    ChrisH2727
    @ChrisH2727
    Thank you for getting back to me. I would like to use stdlib to generate some beta distributed random variates for a simulation project that I have have in mind. To start with, I use the installation guide that you referred me to , try it and see how far I get.
    Athan
    @kgryte
    @ChrisH2727 Great! Let us know if you encounter any issues or have any further questions!
    Andrés Correa Casablanca
    @castarco
    Hi, I wanted to ask about Typescript integration. I saw some messages referring to type declarations, but from what I read, my understanding is that the current state of things is a little bit hacky.
    Athan
    @kgryte
    @castarco Heya! Thanks for reaching out. The project does have TypeScript declarations, with about about 98% types coverages. To my knowledge, there is nothing special you need to do use them. The project includes a root tsconfig.json (https://github.com/stdlib-js/stdlib/blob/develop/tsconfig.json) which should pick up all the declarations. In VS Code, these are automatically picked up and display appropriately in the editor.
    Have you already tried using the project in a TypeScript project? And, if so, are the declarations not being picked up?
    Maybe the one small caveat is that you may need to use require rather than import when importing stdlib packages into your project.
    Athan
    @kgryte
    Update: @Planeshifter just did a test with both import and require in VS Code and, in both instances, declarations were correctly picked up.
    @castarco If you encounter any issues, let me know, and I’ll try and reproduce on my end. :)
    Andy Mac
    @zxol
    Hi folks. I was wondering if stdlib will one day have FFT functions? I did a quick search of the library and issues and couldn't find any details on this.
    Andy Mac
    @zxol
    I have some experience using FFT libraries in node, and I've tried most of the open source repos. I'm also familiar with the high performance c libraries fftw (used by matlab) and kissfft (a lightweight alternative to fftw). If no one else is working on fft I might be interested in contributing an fft solution to stdlib, but i'll need time to familiarize myself with the library first.
    Athan
    @kgryte
    @zxol Indeed. We’d love to add FFT support. While we don’t have a public discussion on the matter, internally, we’ve considered whether it would make sense to base stdlib support on pocketfft: https://gitlab.mpcdf.mpg.de/mtr/pocketfft. This is the same library on which NumPy’s FFT implementation is based: https://github.com/numpy/numpy/tree/main/numpy/fft.
    Unfortunately, we cannot base anything on FFTW due to its license (GPL).
    If you are interested in working on adding FFT support, that’d be great. Happy to hop on a call and introduce you to the project. :smiley:
    Andy Mac
    @zxol
    @kgryte Ahh, I haven't used numpy.fft or pocketfft, thanks for letting me know about that, as well as fftw's license. I'll have a tinker around with them and stdlib and when I'm ready I'd love to take you up on the offer of an introductory call.
    Athan
    @kgryte
    @zxol That’s great! Definitely feel free to reach out if you have any questions and want to ideate further. :smile:
    Athan
    @kgryte
    Quick update: @Planeshifter and I have been working on updating the API documentation on the website. Search is now functional. :rocket: You can take it for a spin here: https://stdlib.io/docs/api/latest/search?q=sine
    You can also download all the API docs for offline usage, including search, by clicking on the download button in the upper righthand corner.
    We’ve got a few more updates coming shortly, so stay turned… :sweat_smile:
    Athan
    @kgryte
    Screen Shot 2021-09-11 at 2.59.27 PM.png
    In updating the docs, we’ve strived to improve the documentation’s web accessibility. In the latest Google Lighthouse run, we’ve managed to get our score to :100:. Still a bit more work to do on the accessibility front, but we’re getting there. :smiley: