HNHacker News
TopNewBestAskShowJobs

cscheid

1,837 karma · joined October 13, 2010

building http://quarto.org at Posit (fka RStudio).

https://cscheid.net https://github.com/cscheid https://bsky.net/profile/cscheid.net

submissionscomments
cscheid··on Life expectancy rise in rich countries slows down: took 30 years to prove
In case anyone else is curious about the specific term for the concept you are describing, it's https://en.wikipedia.org/wiki/Leverage_(statistics)

(To reproduce exactly the scenario being discussed, you fit a constant-only model to the data using least squares: that gives the average as the best fit. Then, you measure the leverage of each point of interest.)

cscheid··on Curly-Cue: Geometric Methods for Highly Coiled Hair
I once heard Pat Hanrahan (who among other things was involved in some of the early realistic hair rendering work) claim that L'Oréal funded some of that work, exactly because they were interested in what the models said about the (control of) appearance of real hair.
cscheid··on Show HN: NotesHub: cross-platform, Markdown-based note-taking app
Dropping passive voice helps most writing, but

> "content will be synced" -> "content is synced"

FYI that's still passive voice.

cscheid··on Show HN: Tenno – Markdown and JavaScript = a hybrid of Word and Excel
I’m the lead dev on quarto.org. I’m aware - I designed and implemented our observablehq integration.
cscheid··on Show HN: Tenno – Markdown and JavaScript = a hybrid of Word and Excel
Specifically, this brings to mind Observable Framework, which takes the "jupyter-like" UI of observablehq.com and makes a static site generator out of it, where you write Markdown, and add "reactive Javascript" bits to it: https://observablehq.com/framework/. (see https://observablehq.com/framework/javascript specifically)
cscheid··on Small asteroid to hit Earth's atmosphere today
Yes, up until recently. The Vera Rubin observatory will change that quite a bit, and soon. Most observatories and telescopes are currently aimed at deep field (very long exposures of tiny portions of the sky). There are a few surveys meant for transients (supernovae, variables etc) and those are also well suited for near earth objects: look at the Catalina sky survey and the zwicky transient facility. When I was (very mildly) involved, the Vera Rubin observatory expected its first 25% of the mission to be overtaken by observing new near earth objects, even as its mission was to catalog variable stars and spot supernovae and other transients.

Some interesting stories about how these surveys work today and how they will work in ~10 years. Right now, it’s so rare to spot a weird thing in the sky that the alarms are all verified by grad students in graveyard shifts. When the new observatories come online, there won’t be enough grad students in the world :) so it’ll all be ML.

cscheid··on What I Learned Writing an Album in Just Intonation
(In case you didn’t know, it’s fun that) Jacob Collier plays a 5-string guitar in a tuning that takes advantage of this trick exactly. IIRC, from lowest to highest he tunes them a fifth, a fifth, a fourth and a fourth apart. By flatting the middle string a dozen cents or so, you can get a root-fifth-perfect tenth voicing of a major chord. Neat trick.
cscheid··on Little Languages (1986) [pdf]
The vibe of CACM also has changed significantly over the decades it's been around. When it started in the late 1950s, and through the mid 90s, it was really a "Journal of the ACM"-lite; the research articles were quite good! Then it morphed into a trade magazine and, by the late 2000's, it was kind of an embarrassment.

To Vardi's credit (the previous CACM EIC), CACM clawed back some of its technical chops in the 2010s. I wouldn't claim it's near the quality of 1970s CACM, but it actually has technical content in it again. Equations, even, gasp!

cscheid··on Modern-day spying: sometimes old technology is more secure
It’s a well known exercise in prob textbooks (edit: it’s the algo referenced in the other reply) to convert one distribution to another. If you can generate gaussians (or any other distribution) you can generate uniform variates. It’s a very simple application of rejection sampling that involves some efficiency loss, but that’s irrelevant at the time you’re getting your OTPs.
cscheid··on ELIZA Reinterpreted: The world's first chatbot was not intended as a chatbot
I think you misunderstand arxiv, blogging, and research papers.

(I've used/done extensively the three mentioned things before, including blogging in a research context)

arxiv is a preprint server. Blog posts can, sometimes, play the same role as research preprints. Research papers are fundamentally about having a _structured conversation_ about a topic.

This paper is arxiv at its best.

cscheid··on 25 years of video clips gone as Paramount axes Comedy Central wesbite
This you? https://news.ycombinator.com/item?id=39788334
cscheid··on The design philosophy of Great Tables
You use it indeed to generate HTML output. For Python+Jupyter folk, that's most directly applicable to Jupyter Lab or Jupyter Notebook settings. You can use it with Jupyter book, nbconvert, or any other tools that convert .ipynb to HTML output...

(Disclosure: Quarto dev here) ..., like Quarto. You can use `great_tables` in code cells in Quarto to get great tables in your RevealJS presentation or website, https://quarto.org/docs/output-formats/html-code.html.

cscheid··on The Elements of Differentiable Programming
I mean, “differential cryptanalysis” doesn’t go through AD, but I would be surprised if it’s not possible to get pretty close to a discrete analogue to AD using bit flips instead of differential and abstract interpretation.
cscheid··on The Beauty of Roots (2023)
Such a cool structure.

I was so amazed when I learned about it out ~10 years ago that I wrote a little interactive thing in javascript + webgl for it. I hope you'll forgive my self-indulging here: https://cscheid.github.io/lux/demos/beauty_of_roots/beauty_o...

cscheid··on Quarto
Not that I'm aware of.

With that said, Quarto works very well _with_ Jupyter notebooks. You can develop in them and then use them directly as inputs to our system. This is how, for example, Jeremy Howard and Rachel Thomas from fast.ai use it (https://www.fast.ai/).

cscheid··on Quarto
I work for Posit. We're a PBC, and developing open-source software is quite literally our mission. You can read more here: https://posit.co/about/pbc-report/ (we used to be RStudio, so that's the term you're going to find in that 2021 report)

We're for profit, but here's the relevant paragraph: "Together, RStudio’s open-source software and commercial software form a virtuous cycle: The adoption of open-source data science software at scale in organizations creates demand for RStudio’s commercial software; and the revenue from commercial software, in turn, enables deeper investment in open-source software, which benefits everyone."

cscheid··on Observable 2.0, a static site generator for data apps
... sorry about the weird question, but do I know you in person? (there's a tiny chance your comment is specifically an obscure inside joke from a past life of mine, and I can't stop myself from taking the bait if so)
cscheid··on Observable 2.0, a static site generator for data apps
(disclosure: Quarto dev here). I'm a huge Observable fan.

Speaking entirely for myself, this space is so important that I'm thrilled to have more activity rather than less. Quarto's great and Observable's great. I hope folks pick the tool that's best for their use case!

cscheid··on Quarto
I think this is going to be right up your alley, then:

https://quarto.org/docs/computations/render-scripts.html

cscheid··on Quarto
Take a look at our conditional content support.

You'll want to use something like {.content-visible unless-format="revealjs"}

https://quarto.org/docs/authoring/conditional.html

cscheid··on Quarto
(Hi there!)

If y'all haven't seen the kind of magic that Tyler does with ray tracers in R (yes, you read it right), you're missing out. Go click on that link!

cscheid··on Quarto
> I asked on the Mac OS mailing forum, but no response.

I don't know what forum you're referring to. We monitor our GitHub discussions very closely, though: https://github.com/quarto-dev/quarto-cli/discussions/

> How well does this work w/ a TeX-oriented editor? Say TeXshop?

Quarto can produce .tex output from .ipynb or .qmd inputs, which can then be further edited directly in your text editor of choice (TeXshop, or even something like overleaf) should you want to.

cscheid··on Quarto
Thanks for the feedback.

The scoping rules are by design and match .ipynb workflows in the case of multiple documents, so we're unlikely to change it.

The render latency of quarto is definitely higher than we'd love, but we have a plan and have been steadily improving it. Quarto 1.4 is generally about 20% faster than 1.3, and we have performance regression infrastructure to not let us slip on it.

cscheid··on Quarto
Frankly, that's easier said than done.

The complication is from the implied dependencies. If you've designed from zero to be able to track the requirements everywhere in the code base, then that's (in principle, though still not trivial) possible. But if you're looking to ship fast with a small team on the large feature set that we do have, then it's actually a better call to work on a system that has a fixed set of dependencies known in advance, and quickly iterate to solve other customer problems.

tl;dr: tradeoffs. We chose one that still serves us well, but it does come with consequences.

cscheid··on Quarto
Excellent question.

My understanding is that Pluto has its own execution engine outside of Jupyter, and so would require the creation of a new "engine" in our codebase. We are a pretty lean team that has other priorities for 2024, but we would very much love to see Pluto running in Quarto.

There is an open PR right now (https://github.com/quarto-dev/quarto-cli/pull/8645) to add a Julia-native engine to Quarto, from the developers of Makie which we hope to merge soon. I don't think that will provide instant Pluto support, but it will certainly make it easier for other Julia-native folks to build on.

cscheid··on Quarto
(Disclosure: I'm a Quarto dev)

Folks have already noted that you can run content through any Jupyter kernel. That lets you run Python and Julia code in a familiar runtime environment, and without having to install the R runtime and dependencies.

I also think that our IDE tooling is pretty good. If you're running in VS code, we'll (for example) highlight problems in your YAML frontmatter, resolve document crossreferences in the editor, etc.

We do this in an editor-agnostic way, so the Quarto IDE tooling can be adopted by third-party. We (Posit the company) develop the RStudio integration and VS Code extension, but there exist modes developed by the community such as quarto-nvim.

A good way to think about Quarto is "a next-generation RMarkdown with many lessons we learned and an emphasis on multiple language support".

cscheid··on Quarto
(Disclosure: I'm a Quarto dev)

This is an area we want to improve in the future. Most of the JS libraries can be disabled in the project configuration. We find that our typical user prefers to have access to the features those libraries provide, but I agree with you that we should be doing better. This is a place where some guided documentation would help. We're working on it.

With that said, we dogfood Quarto pretty seriously, and consume the content from mobile devices. I admit that we use devices that are likely in the 90% percentile of speed, but website performance is something we do take into account.

cscheid··on Quarto
(disclosure: I'm a Quarto dev) You can also render _to_ Jupyter notebooks from .qmd files, in case that would be useful for your workflow. We've put a lot of effort into making Jupyter interop a good experience in Quarto, for folks in either the Knitr or Jupyter ecosystem.
cscheid··on Quarto
(disclosure: I work on Quarto) I 100% agree with you. It's partly why tools from the Quarto lineage (knitr, rmarkdown) work hard to make popular latex features like crossreferences work in HTML and other forward-facing formats. At the same time, if you haven't tried Typst, my opinion is that doing so is an afternoon well spent. It's an impressive system even early in its development stage. I'm hoping it finally displaces LaTeX --- and I'm a former academic having written about a hundred papers in LaTeX!
cscheid··on Quarto
Quarto dev here, happy to answer specific questions you might have!
← PreviousPage 2 of 13Next →