Giter Site home page Giter Site logo

Comments (6)

djblue avatar djblue commented on August 16, 2024 1

Hi @l0st3d, this happens on the host side of things when the data is being serialized as transit before it's shipped up to the UI. I think if you (tap> (range)) in REBL, they truncate to 10k items, which would be a reasonable solution for portal as well. I tend not to run into this problem, so it isn't a priority for me right now, but if you'd like to submit a PR, I would be happy to review!

from portal.

l0st3d avatar l0st3d commented on August 16, 2024

This is on an JVM, using CIDER.
;; CIDER 0.27.0snapshot (package: 20200813.2112), nREPL 0.8.0
;; Clojure 1.10.1, Java 14.0.1

from portal.

l0st3d avatar l0st3d commented on August 16, 2024

Doing something like this

  (require '[portal.api :as portal])
  (portal/open)
  (portal/tap)
  (tap> (range))

takes longer than my patience to return, and seems to stop me from running cider-quit.

from portal.

djblue avatar djblue commented on August 16, 2024

@l0st3d I changed my mind and went ahead and implemented a solution in #18

from portal.

l0st3d avatar l0st3d commented on August 16, 2024

That seems like a reasonable solution too. Will have a test. Many thanks.

Just out of interest, how much effort do you think implementing pagination would be?

from portal.

djblue avatar djblue commented on August 16, 2024

@l0st3d I just updated #18 to lazily fetch seqs. It does so in batches of 100. As you scroll, more data from the seq is fetched.

from portal.

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.