Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Write endpoint that returns only n points.

Abierto
#446 2 comentarios 0 reacciones 1 asignado Ver en GitHub

@thomcom ya está trabajando en esto.

Desde el 21/11/2022.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

To time the speed of the interface and to build the first step of building a point-budget based demo, I need an endpoint that only returns n points.

My first impulse is to create a fastify plugin that modifies the API and allows for endpoints and bounds to be specified. I'm not sure that a fastify plugin can change the endpoint schema, however.

Since only particles/:table will depend on this, it is surely faster just to modify its schema and handler to this purpose. I'll write this endpoint in a test-driven fashion, starting with the test then adding to the endpoint.

  • Viz with 'max zoom out view' (e.g. all data 'visible')

  • We have a set 'maximum # of points able to render' (this is usually lower than full dataset)

  • Currently writing this request, for the server to return a fixed number of points.

  • How do we decide and keep track of what points to show from the full dataset?

  • I originally planned on having the client do all of the point specifications, but it would be interesting to use the server for tracking what points have been displayed. It would be trivial to add metadata columns to the DataFrame about which points have been displayed, their time of display, and which request gathered them.

Lenguaje dominante
TypeScript
Estrellas
211
Forks
29
Merge medio
17 h 30 min
PR fusionados (30 d)
1

Preparar el entorno

Aún no hemos revisado los archivos de configuración de este proyecto. Empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de rapidsai/node

Todos los issues de rapidsai/node

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.