question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Complete the offline renderer

See original GitHub issue

The --render-offline didn’t make the 2.0 release, because it doesn’t render the same content as GitHub.

The functionality is there. The CLI option is added back again in the fix-render-offline branch, where work can continue.

Issue Analytics

  • State:open
  • Created 10 years ago
  • Reactions:26
  • Comments:41 (4 by maintainers)

github_iconTop GitHub Comments

31reactions
joeyespocommented, Mar 3, 2016

@mileserickson I understand your frustration.

The reason it works this way is that from the beginning, correctness of rendering was chosen over offline availability. It’s absolutely a limitation, but with the recent test improvements in #148 and 2c37cc455ad34a0b4a05482d31f7f7877ee58c59, it’ll be easier to make sure correctness is preserved in an offline renderer.

I’m confused as to why I would use Grip at all, if it’s no more efficient than viewing the Markdown document in the original repo.

Grip solves the problem of viewing Markdown before committing to the repo. Offline mode solves the additional problem of viewing without an internet connection. (That’s still necessary for viewing the Markdown document in the original repo, btw).

I’m planning on addressing this at some point, unless someone else jumps in. However, I have fewer large windows of time for big changes these days. Being aware of that actually influenced the original decision. (Nobody likes waiting for a busy maintainer to change and deploy code every time GitHub tweaks or updates their styles.)

In the meantime, could you try the workaround? That’ll prevent others on your network from using up your own rate limit. Here’s how:

  1. Generate a Personal Access Token

    access-token-01

  2. Copy the token

    access-token-02

  3. Create a ~/.grip/settings.py file:

    $ cd ~
    $ mkdir .grip
    $ cd .grip
    $ touch settings.py
    
  4. Add the token to your new settings.py file:

    PASSWORD = 'YOUR-ACCESS-TOKEN'
    

Eventually this auth experience will be also improved (see #82).

Thanks for trying out Grip and for being patient. Let me know if I can help in any other way.

15reactions
rsyringcommented, Jan 24, 2017

FWIW, I wonder if the initial offline renderer could be documented as not-exact. That is, for the sake of getting offline rendering off the ground, just state that the offline renderer won’t be perfect. My guess is that many of the people needing that support don’t care that it isn’t exact, they will be happy to just have offline rendering that is close.

Then, over time, the offline renderer could be brought up to par.

Read more comments on GitHub >

github_iconTop Results From Across the Web

CS190I: Introduction to Offline Rendering
This course will teach you everything about offline rendering, so you will be able to write a fully functional industry-level renderer (such as...
Read more >
Realtime vs Offline 3d Rendering for Animation - YouTube
One of the questions I see in my channel is why is Realtime such a big deal. In this livestream I will talk...
Read more >
Is offline rendering somewhat of a "solved problem" now days?
I do think the line between realtime and offline rendering is fading, but that only makes sense as hardware and software keep improving....
Read more >
Real-time versus offline renderers - LinkedIn
Instead, you need to perform a render. So if I go ahead and render this scene out, which I have already done, and...
Read more >
OfflineAudioContext.startRendering() - Web APIs | MDN
decodeAudioData ), then the OfflineAudioContext to render the ... When the startRendering() promise resolves, rendering has completed and ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found