Comments (5)
Thank you.
Regarding the docs; I never thought to look at
https://docs.runme.dev/configuration/cell-level#human-friendly-output.
I wound up here
https://marketplace.visualstudio.com/items?itemName=RandomFractalsInc.vscode-data-table
Which didn't mention it.
For the docs it might be helpful to have guide sections that show how to deal with rendering e.g. in this case
"How to work with JSON"
or perhaps even higher level
"How to work with BigQuery"
It looks like you have a bunch of how tos under the guide section but based on the titles none of them jump out to me as relevant to my problem in this case.
from runme.
Thanks for the feedback! We'll take the suggestions for the docs back to the team.
from runme.
I haven't been able to reproduce this consistently but in some cases it looks like I observed it being necessary to clear cell outputs and rerun the cell after disabling interactive mode. I think the steps were
- Create a cell with
bq --format=json...
- Execute it
- Change cell to disable interactive
- Try to change cell; other formats don't show up
- Rerun cell
- Try to change presentation; other formats don't show up
- Clear cell outputs
- Rerun the cell
- Cell is now displayed correctly
A confounding factor is that it looks like the bq query
will sometimes output job stats information to stderr if the job takes a long time. I think this prevents the output from being valid JSON. Redirecting to "2>/dev/null" seems to fix that problem.
from runme.
In the Configure
foldout for the respective cell, please untick interactive
as per https://docs.runme.dev/configuration/cell-level#human-friendly-output.
Interactive here means "attach a tty/terminal." Do you have any suggestions on how we can make this clearer in docs or otherwise?
Btw, you should be able to leave the mimeType
empty since Runme has a pretty accurate auto-detection of JSON, CSV, etc now.
from runme.
I just checked how mime/media type detection works and realized we could technically offer a button (e.g., next to "Copy") to switch to non-interactive mode if we detect a non-plain-text media type 🤔. We could track this as a feature request. It likely would make it more "obvious" how to leverage other renderers. Thoughts, @jlewi?
from runme.
Related Issues (20)
- Providing input to a Bash script using the CLI doesn't work very well HOT 4
- "bufio.Scanner: token too long" after large binary stream
- Internal failure executing runner: fork/exec /bin/zsh: no such file or directory - Trying to run runme in remote server HOT 9
- User Error/ Question: VSCode Terminal keeps Popping up when executing a cell HOT 15
- Better command execution in Docker HOT 1
- Is here a better way to parameterize markdown URLs? HOT 2
- Docs about RunMe CLI `run <command>` are unclear HOT 1
- FiFo issue: CTRL+C runs indefinitely when signals are being caught by process HOT 1
- Panic when reading/writing to closed pipe HOT 6
- Option to disable masking of outputs by default HOT 1
- Migrate to protobuf-es from protobuf-ts HOT 3
- runme attempts to access unreadable files or directories HOT 2
- `runme open` fails to install code-server when executing in fish shell HOT 6
- Internal failure executing runner: fork/exec /bin/zsh: argument list too long HOT 11
- Feedback: New code cells inserted with language ini and are not executable HOT 2
- Long Pauses Rendering Notebooks On Initial Load with Code-Server HOT 6
- Can environment variables be reset within a session? HOT 6
- runme vscode extension, on WSL2 run code in CMD.exe instead of WSL HOT 3
- feature request: stop notebook execution upon cell failure HOT 1
- RunMe CellIDs Don't Play Well With Hugo HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from runme.